tarpaulin: 0.18-alpha1 fails in CI with actions-rs/tarpaulin
Several of my projects are using actions-rs/tarpaulin which in its default configuration pulls the latest release.
Since 0.18-alpha1 was released, all my CI coverage jobs started failing with a failure to compile the tests, and an error message like this:
Mar 01 14:40:14.455 ERROR cargo_tarpaulin: Failed to compile tests! Error: signals: linking with `cc` failed: exit code: 1
This for example this run : https://github.com/Smithay/calloop/runs/2004759169
Weirdly enough, it does not fail when I install & run tarpaulin locally on my computer.
So, my immediate fix has been to restrict actions-rs/tarpaulin to using version 0.16, but I guess this is something that would be worth investigating.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (15 by maintainers)
I end up opening all the source files once, and each binary gets opened to read the dwarf info before launching the test in question. Aside from that and writing any report output I don’t think there is anything else. Unless you’re doing doc test coverage then opening files containing doctests to check for should_panic attributes