Skip to content

Downgrade to Rust 1.95 - #19953

Merged
Gankra merged 1 commit into
mainfrom
ww/rust-195
Jun 22, 2026
Merged

Gankra merged 1 commit into
mainfrom
ww/rust-195

Conversation

@woodruffw

Copy link
Copy Markdown
Member

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.

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]>
@woodruffw woodruffw self-assigned this Jun 22, 2026
@woodruffw woodruffw added the internal A refactor or improvement that is not user-facing label Jun 22, 2026

@Gankra Gankra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally reasonable, seems like we weren't relying on 1.96 features yet.

@Gankra
Gankra merged commit 7866b3d into main Jun 22, 2026
208 of 210 checks passed
@Gankra
Gankra deleted the ww/rust-195 branch June 22, 2026 21:57
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants