Pin the rust-test macOS lane to Rust 1.97.1 with a self-expiring canary - #640
Open
ciaranra wants to merge 3 commits into
Open
Pin the rust-test macOS lane to Rust 1.97.1 with a self-expiring canary#640ciaranra wants to merge 3 commits into
ciaranra wants to merge 3 commits into
Conversation
Member
Author
|
Live proof complete: the workflow_dispatch matrix run on this branch is fully green — rust-test (macos-latest) passes with the 1.97.1 pin (https://github.com/PECOS-packages/PECOS/actions/runs/33347969025), where the two unpinned runs cited in the description segfaulted in dependency build scripts. ubuntu and windows lanes unaffected and green. |
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
The
rust-testmacOS matrix lane fails on current stable: rustc 1.98.0 onaarch64-apple-darwinsegfaults compiling ordinary dependency build scripts (libc,proc-macro2,quote) before any workspace crate builds. This is the same 1.98 aarch64-darwin crash that already pinned thepython-compat-smokemacOS lane (issue #566); therust-testlane was never pinned because its macOS job only runs on dispatch and pre-merge matrix runs.Reproductions (identical signature, two dispatch runs on one branch plus
devitself):devmatrix runs on 2026-08-30 failed the same job the same way.Change
macos-latestand stable elsewhere (expression-level conditional; a matrixincludewould add a phantom macOS job on pull requests, where the matrix is ubuntu-only).cargo checkruns — this lane's actual crashing invocation, unlike the smoke lane's maturin-link-args probe — and emits a workflow warning when the pin looks obsolete, mirroring the smoke-lane pattern and its unpin discipline (issue Unpin macOS python-compat-smoke Rust toolchain once the rustc 1.98 aarch64-darwin segfault is fixed #566).The canary block intentionally duplicates the smoke lane's shape rather than extracting a shared script: the two probes differ in the invocation under test, and this keeps the change to one workflow.
Verification
workflow_dispatchmatrix run on this branch is the live proof: the macOS job should install 1.97.1 and pass where the two runs above segfaulted. Run: https://github.com/PECOS-packages/PECOS/actions/runs/33347969025Unpin path is unchanged and tracked in #566: remove the pin only after the canary warning persists across several PRs and an unpinned build passes on a draft PR.