-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
1.67 release broken on illumos when stdout is not a tty #11629
Comments
Sorry for this bug affecting you. We could had included this fix rust-lang/rust#105511 but unfortunately it got merged after 1.67 branched from master to beta. And the Cargo team wasn't aware of this situation 😞. I don't really know about illumos, so don't know how to help. As always, if permitted, I would recommend every project runs tests on beta channel in CI pipelines. |
@Brooooooklyn Sorry for that. Could you provide more context? I don't really know how to interpret the job failure log. |
The build step from the job failure shows the same panic message as above (although with a different errno):
|
BTW, could anyone check if the bug is fixed under the current beta? |
It is fixed in the current beta (and was also fixed in the initial beta). On an illumos system:
|
Thank you for testing the fix on beta! I am going to close this, and sorry for the inconvenience. |
Problem
After installing toolchain 1.67 on illumos, all cargo invocations with stdout not being a tty fail with:
It's fine if stdout is a tty:
This is unfortunately a showstopper for us because stdout is not a tty in CI, so we can't use this toolchain in CI.
Steps
On an illumos system:
rustup toolchain update stable
cargo version
(to make sure you got 1.67)cargo version > /dev/null
(should reproduce the problem)Possible Solution(s)
We believe this is bytecodealliance/rustix#467, which was introduced to Cargo by 48895b1. This has been fixed upstream.
Notes
No response
Version
(thanks @jgallagher for having found this before, fixed it upstream, and identified it here)
The text was updated successfully, but these errors were encountered: