missing field `cargo_args`
Closed this issue · 2 comments
hasali19 commented
Describe the bug
I'm getting the error below when running this command:
cargo llvm-cov --features mocks --json | llvm-cov-pretty
Error:
0: failed parsing report data from STDIN
1: missing field `cargo_args` at line 1 column 44038817
Note: JSON path: cargo_llvm_cov
Expected behavior
Report should be generated without any errors
To reproduce
No response
What operating system are you using?
Linux
Terminal output
No response
Additional context
llvm-cov-pretty 0.1.8
cargo-llvm-cov 0.5.33
taiki-e commented
CargoLlvmCov
struct has version
, manifest_path
, cargo_args
, and test_args
fields, but cargo-llvm-cov actually has only version
and manifest_path
fields. (taiki-e/cargo-llvm-cov@1ea8be4)
Lines 292 to 303 in f951542
dnaka91 commented
Sorry, I was experimenting with those fields when I added this feature to cargo-llvm-cov
and forgot to remove them later on. Still worked for me because of a custom build that took precedence over the global installation.
I removed those fields in the latest v1.0.9
, should work now.