Skip to content
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

Expect error 101 from nextest when build fails? #461

Closed
sourcefrog opened this issue Nov 24, 2024 · 3 comments · Fixed by #491
Closed

Expect error 101 from nextest when build fails? #461

sourcefrog opened this issue Nov 24, 2024 · 3 comments · Fixed by #491
Labels
bug Something isn't working small

Comments

@sourcefrog
Copy link
Owner

 WARN nextest process exited with unexpected code (not TEST_RUN_FAILED) code=101
unviable src/process.rs:78:9: replace Process::start -> Result<Process> with Ok(Default::default()) in 1.6s build

Probably this is the normal effect of the build failing, and the warning is wrong?

@jaskij
Copy link

jaskij commented Dec 12, 2024

According to nextest-metadata it does indicate a failed build.

In fact, if I'm reading the README correctly, nextest-metadata was made specifically for other tools that wish to wrap cargo-nextest and you should be using it.

@sourcefrog
Copy link
Owner Author

Yes, the very small bug here is to match that interpretation and not emit a warning

@jaskij
Copy link

jaskij commented Dec 13, 2024

Speaking of, I also get a warning on nextest exiting with 4 - which seems to indicate no tests run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants