-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
cargo tarpaulin unable to produce coverage report on latest nightly toolchain #1493
Comments
This should only be on the llvm engine with the new update to llvm 18. I have a WIP for this xd009642/llvm-profparser#36 but I am busy on preparing for rustnation so realistically I might not have time for it until the end of the month. An alternative and something I was going to look to is if the user has https://github.com/rust-embedded/cargo-binutils installed using Looking at the logs it looks like all the tests pass on linux except 3, the LLVM sanity test and then 2 others which may or may not be related 🤔 |
So, I might cargo install cargo-tarpaulin from the llvm-profparser, and give it a try? |
no, for the profparser work it's kinda just porting from the LLVM code which I'm in the progress of. Tarpaulin uses it as a library so it wouldn't need tarpaulin to do the work. For the bin-utils one it would be going into |
cargo-tarpaulin is currently having issues with llvm18: xd009642/tarpaulin#1493
* fix coverage cargo-tarpaulin is currently having issues with llvm18: xd009642/tarpaulin#1493 * test on prs
Hello there,
Could this be related to the LLVM update too ? |
Looks the same to me, though you probably have enabled failing fast, while I did not. That's the main difference in the output. |
There's a work in progress PR on this #1502 just got some nits to sort out if anyone wants to try an early version |
It works just fine for me, thanks to this PR 🙇 . Any idea when this fix would be released ? |
So my profparsers PR that this is pulling via a git dependency breaks the stable tests in that repo somewhere so just in the cleanup phase of it. I'm aiming for this evening but if not hopefully Monday |
The fix for this is merged in, there's just one low-hanging issue I plan on tackling before doing a release under my sudden flurry of activity but you should see a release hopefully this weekend |
Describe the bug
When running cargo-tarpaulin on v0.27.3 with the latest nightly toolchain all tests pass, but fail to produce a coverage report, even on this repository. I get the following output:
Example can be found also on the latest gh actions run here when dependabot bumped some dependencies: https://github.com/xd009642/tarpaulin/actions/runs/8243334258
Build fails on nightly toolchain under linux, windows, and basically every system configured.
To Reproduce
Install rust nightly toolchain v0.78, and try to run cargo tarpaulin. Tried different engines, all failing.
Expected behavior
Not sure I need to write the obvious here.
The text was updated successfully, but these errors were encountered: