Skip to content

ci: Fix for rustup breakage#1606

Merged
notpeter merged 2 commits into
mainfrom
rustup_breakage
May 14, 2026
Merged

ci: Fix for rustup breakage#1606
notpeter merged 2 commits into
mainfrom
rustup_breakage

Conversation

@notpeter
Copy link
Copy Markdown
Contributor

@notpeter notpeter commented May 14, 2026

Something broke with GitHub actions runners in the last two days.
This is an attempt to fix it.

Current main 918848c passed May 12, 2026, 12:05 PM EDT
https://github.com/oxidecomputer/dropshot/actions/runs/25746385530/job/75610647928

But failed when I reran it today May 14, 2026, 10:19 AM EDT
https://github.com/oxidecomputer/dropshot/actions/runs/25746385530/job/76005483181

Error is:

Run cargo build --all-features --locked --all-targets --verbose
error: error: unexpected argument 'build' found

Usage: rustup-init[EXE] [OPTIONS]

For more information, try '--help'.

Which makes me think there's a rustup-init cargo alias or somesuch.
I didn't see any upstream issues for this on rust-lang/rustup or actions/runner

Found it:

Root cause is the changes in macos-14-arm64 (20260512) Image Update.

@notpeter notpeter merged commit ee5b893 into main May 14, 2026
11 checks passed
@notpeter notpeter deleted the rustup_breakage branch May 14, 2026 16:15
@ahl
Copy link
Copy Markdown
Collaborator

ahl commented May 14, 2026

Is this a workaround that we expect to be temporary?

@notpeter
Copy link
Copy Markdown
Contributor Author

notpeter commented May 14, 2026

Is this a workaround that we expect to be temporary?

I would expect yes. The logic changed here: Swatinem/rust-cache@ed5e89b (2026-04-12) so it would cache everything in $CARGO_HOME/bin. Swatinem/rust-cache#341 links to changes for the macos action runner between 20260427.0019.1 and 20260512.0058.1 but I don't see anything mention that should've broken this.

My expectation is that either Swatinem/rust-cache or the official GitHubs images (or both) will make things not broken by default. (the current state)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants