Repository navigation
Downgrade to Rust 1.95 - #19953
Merged
Merged
Downgrade to Rust 1.95#19953
Conversation
1.96 currently has a bug (in `cargo`) that causes transient/in-protocol errors to surface as fatal errors rather than being retried. This is especially painful in the context of GitHub Actions, which seems to be uniquely/abnormally unreliable in terms of HTTP/2 connections. We can re-bump once 1.96.1 or 1.97 is released. Signed-off-by: William Woodruff <[email protected]>
Gankra
approved these changes
Jun 22, 2026
Gankra
left a comment
Contributor
There was a problem hiding this comment.
Totally reasonable, seems like we weren't relying on 1.96 features yet.
This was referenced Jun 29, 2026
charliermarsh
added a commit
that referenced
this pull request
Jul 3, 2026
## Summary Restore the pinned Rust toolchain to 1.96.1 for uv and `uv-build`. We temporarily downgraded to Rust 1.95 in #19953 because Cargo 1.96.0 treated transient HTTP errors as fatal. [Rust 1.96.1](https://blog.rust-lang.org/2026/06/30/Rust-1.96.1/) fixes the missing retries and timeouts in Cargo's HTTP client, so we can upgrade again. The locked workspace compiles successfully with all targets and features under the new toolchain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.96 currently has a bug (in
cargo) that causes transient/in-protocol errors to surface as fatal errors rather than being retried. This is especially painful in the context of GitHub Actions, which seems to be uniquely/abnormally unreliable in terms of HTTP/2 connections.We can re-bump once 1.96.1 or 1.97 is released.
Context: rust-lang/cargo#16903
Context: #t-infra > CI failing because of curl?
Test Plan
NFC, internal/toolchain only.