CI: install ARMv7 Rust toolchains into a fresh rustup home - #458
Merged
Merged
Conversation
alex
pushed a commit
that referenced
this pull request
Oct 1, 2026
…up home
Since Rust 1.99.0 (2026-10-01), `rustup toolchain install stable` fails in
pyca's runner images: updating the image's preinstalled toolchain removes
its previous components, and the image's installation lacks files their
manifests list ("failure removing component 'cargo-...', directory does not
exist: 'share/man/man1/cargo.1'"). The ARMv7 job on main fails the same
way; #458 fixes it by pointing RUSTUP_HOME at a fresh directory, so that
the toolchain is installed rather than upgraded. Do the same for the ppc64le
platform (and its 1.88 exclusion, which must match it), and carry #458's
ARMv7 change so that this PR's CI is green whichever lands first.
Refs #55
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fw6RULWHCeVgMDGc3wRrwE
This was referenced Oct 1, 2026
alex
pushed a commit
that referenced
this pull request
Oct 1, 2026
The Thumb job (new on main) runs in the same ARMv7 image, and fails to upgrade its preinstalled stable toolchain to 1.99.0 in the same way; #458 gives it a fresh RUSTUP_HOME too. Carry that change here as well, so this PR's CI is green whichever lands first. Refs #55 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fw6RULWHCeVgMDGc3wRrwE
Member
Author
|
This isn't the right fix but it will unblock us while we wait for the ppc64le runners to actually work on pyca/infra#798 |
This was referenced Oct 1, 2026
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.
The ARMv7 and Thumb stable jobs fail during Rust installation when stable advances. The image's preinstalled Cargo component manifest refers to
share/man/man1/cargo.1, which is absent, so rustup aborts while removing the old component. ARMv7 failure and Thumb failure both occur before compiling repository code.Give both ARMv7 containers a fresh
RUSTUP_HOMEunder/tmp. Rustup installs the selected toolchain from scratch and continues to use the existingRUSTUP_TOOLCHAINselection for stable and 1.88. Rustup documentsRUSTUP_HOMEas the root for installed toolchains and configuration.Validation: workflow YAML parses and both ARM container definitions select the fresh directory; full Lean build and emitter check, repository checks, Rust formatting/clippy and normal/baseline Wycheproof suites pass. This PR's ARMv7 and Thumb CI jobs pass with both stable and 1.88, including installation, lint and tests.