-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
proc-macro crate in workspace unexpectently exits #1642
Comments
Hmm that's super odd, could you add I don't really use windows so this might take me some time to replicate (I need to find a windows machine and setup a dev env or find a friend who can help to get a quicker turnaround) |
I'm seeing something similar on Linux after upgrading to Rust 1.83.0, both in CI (GitHub Actions) and locally (Arch). Rust 1.82.0 seems to work fine. |
oh weird/interesting that's very helpful thanks 👍 |
Output from --dump-traces: tarpaulin_20241129173337.json |
Of course, feel free to split this into a separate issue if it seems unrelated. |
Describe the bug
Workspaces with a proc-macro crate fail to execute tests (The failure happens when execution of the test exe begins, but before any test starts) with the following error:
I can only reproduce on a github action
windows-latest
runner (but 100% of the time). It does not happen on ubuntu-latest image (even with the--engine llvm
flag) and it does not happen on windows locally. it fails with or without any tests actually in the crate. It fails withengine llvm
and--no-dead-code
I tried adding tests to see if that helped any, but it continued to fail. I also tried adding tests as described in #326 but it continues to fail.
I am currently on:
cargo-tarpaulin 0.31.2
1.80.0
To Reproduce
I have set up a repo with a CI job that hits the issue: Javagedes/rust-ci-testing with an example run here: action/Run Tests
Expected behavior
I would expect the test harness to not unexpectedly fail without running any tests.
The text was updated successfully, but these errors were encountered: