ci.yml macos-latest: cargo test resolves to rustup-init #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-14T04:06:57Z - https://github.com/coilysiren/repo-recall/issues/131
Repro
Run 25839504844 (commit
30040db, ci.yml on macos-latest) failed atcargo test --all-features --no-fail-fast:The same workflow on the prior commit (
423ea46) succeeded; same workflow on ubuntu-latest in the same run succeeded. Only macos-latest is broken.Diagnosis
cargois resolving torustup-initon the runner. Classic symptom of the macos-latest runner image rotating the rust toolchain layout out from underdtolnay/rust-toolchain@stable, wherecargoshim ends up pointing at the bootstrapping installer instead of the installed cargo.Fix options
macos-14ormacos-13instead ofmacos-latest.dtolnay/rust-toolchainpast stable to a versioned tag, since the action recently shipped fixes for exactly this symptom.Found while watching the rate-limit fix CI land.