Skip to content

Commit

Permalink
ci(rust): fix cargo tarpaulin error
Browse files Browse the repository at this point in the history
```text
$ cargo tarpaulin --release --timeout=300
Apr 26 21:51:41.079  INFO cargo_tarpaulin::config: Creating config
Apr 26 21:51:41.214  INFO cargo_tarpaulin: Running Tarpaulin
Apr 26 21:51:41.214  INFO cargo_tarpaulin: Building project
Apr 26 21:51:41.214  INFO cargo_tarpaulin::cargo: Cleaning project
   Compiling protein-translation v0.1.0 (/home/vpayno/git_vpayno/exercism-workspace/rust/protein-translation)
    Finished release [optimized] target(s) in 0.85s
Apr 26 21:51:42.127 ERROR cargo_tarpaulin::test_loader: Error parsing debug information from binary: An I/O error occurred while reading.
Apr 26 21:51:42.127  INFO cargo_tarpaulin::process_handling::linux: Launching test
Apr 26 21:51:42.127  INFO cargo_tarpaulin::process_handling: running /home/vpayno/git_vpayno/exercism-workspace/rust/target/release/deps/protein_translation-414a2a857a1d4a53
Apr 26 21:51:42.128  WARN cargo_tarpaulin::test_loader: Stripping symbol information can prevent tarpaulin from working. If you want to do this pass `--engine=llvm`
Apr 26 21:51:42.128 ERROR cargo_tarpaulin: Error while parsing binary or DWARF info.
Error: "Error while parsing binary or DWARF info."
```
  • Loading branch information
vpayno committed Apr 27, 2024
1 parent c15ede4 commit 5da5c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/citools/rust/rust-test-with-tarpaulin
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ main() {
# echo Running: cargo tarpaulin --release --timeout=300 --bins --verbose
# time cargo tarpaulin --release --timeout=300 --bins --verbose

run_command cargo tarpaulin --release --timeout=300
run_command cargo tarpaulin --release --timeout=300 --engine=llvm

print_ruler

Expand Down

0 comments on commit 5da5c0c

Please sign in to comment.