-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing failed on Windows 11 #1282
Comments
Note, that the output is OK when I run same project via docker like this:
( I get "10.40% coverage, 99/952 lines covered" and more output, so this seems a success (barring low coverage, but that's why I want to measure it in the first place). This make me think that the issue I have is potentially Windows specific. |
Sorry it's taken a while, I did just download the file you uploaded to test to see if there was anything i could glean from it. Running with the llvm tools I get:
There's a chance this may be OS specifc as these tools aren't designed to parse files generated on different architectures to the host and I'm running on Linux. I'll get access to a windows machine some point next week and test it there as the project works fine on linux for me in tarpaulin. |
I reproduced this on Linux. Started randomly getting this in CI. |
I think it's down to the llvm version being bumped and the format changing to add in mcdc coverage. Unfortunately, I won't have time to work on this until after rustnation but one approach is to fall back to using the llvm profdata and cov tools if parsing fails |
So releasing a new version today that may solve this, let me know how it works - sorry for the delay |
I re-ran a workflow that previously failed on one of my personal FOSS projects. Thank you a lot. |
Describe the bug
I run
cargo tarpaulin
and receive errorError: "Parsing failed"
.I am using Windows 11 and run this from Git Bash.
Complete ouptut (skipping compilation):
I did not pass "--engine", not sure if it is ptrace or llvm instrumentation.
To Reproduce
I am getting it on this repository - https://github.com/strowk/probranchinator
Attached from "target/tarpaulin/profraws":
probranchinator-5c461d614048b00c.exe_12256345248713744009_0-25344.zip
Expected behavior
No errors, result of coverage analysis.
The text was updated successfully, but these errors were encountered: