-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
internal compiler error when running tarpaulin #100
Comments
Hi thanks for the issue, I'll have a look into this after work but in the meantime as the error is inside rustc it'll be worthwhile raising the issue there as well. |
I just did it here because cargo build with the same rustc version is working well. So I don't think this is rustc related. |
Cargo builds the test binaries with passing additional flags to rustc so they can be instrumented for coverage and it triggered an internal compiler error so it is an issue in rustc. However, the issue might be you missing dependencies. Have you got the development packages for ssl installed? On Ubuntu/Debian it's I'm just downloading your project to test it myself right now |
Also, rust 1.24 is pretty old, you might want to update to latest stable, and also provide a backtrace for the panic please? |
Yeah I got openssl-devel (openssl-devel-1:1.1.0h-3.fc27.x86_64) But I use it in several projects with different libssl providers so I'll check asap which one is used. For rustc it was on this device but on rust stable and nightly from travis, the error is the same. |
Yup same error
And it comes from the correct libs, not my versions
When I'll have the time to dig, I'll try to replicate with less code and submit a bug on the |
I believe I've found the error responsible for this rust-lang/rust#47309 closed march 16th so that might have been too late to make it into 1.26 stable. If you try on the latest nightly it may work. It's caused by linking dead code when building with openssl, unfortunately tarpaulin needs to link dead code as dead code makes up a subset of uncovered code. |
Nice catch. I'll try this. |
@xd009642 I close this. It works with nightly.
Thx! |
No problem glad I could help 👍 |
A description of the problem
I try to run tarpaulin on my project. And
cargo tarpaulin -v
doesn't like it.Tarpaulin output
The rust project you ran Tarpaulin on
https://github.com/AmarOk1412/rori_core
Your linux distro and version (output of uname -a is sufficient)
Tested on various distros
Linux tars3 4.15.7-300.fc27.x86_64
Version of rustc used
Have a nice day!
The text was updated successfully, but these errors were encountered: