Skip to content

Keep Dependabot away from the MSRV toolchain pin - #4

Merged
einarfd merged 1 commit into
mainfrom
dependabot-msrv-pin
Aug 26, 2026
Merged

einarfd merged 1 commit into
mainfrom
dependabot-msrv-pin

Conversation

@einarfd

@einarfd einarfd commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Closes #3.

The MSRV job pins dtolnay/rust-toolchain@1.88 because that is the oldest Rust this crate claims to build on. Dependabot reads that ref as a version and proposed bumping it to 1.100 — sorting 88 to 100. CI failed with:

error: could not download nonexistent rust version `1.100.0-x86_64-unknown-linux-gnu`

The failure is the harmless outcome. A bump that resolved would be worse: the job would keep the name MSRV (1.88) while compiling against something newer, and rust-version in Cargo.toml would quietly stop being enforced — the exact drift the job was added to catch.

The other two uses of this action are @stable, which Dependabot does not treat as a version, so ignoring the action outright costs nothing. The pin moves when rust-version moves, by hand, in the same commit.

🤖 Generated with Claude Code

The MSRV job pins `dtolnay/rust-toolchain@1.88` because that is the
oldest Rust this crate claims to build on. Dependabot reads the ref as
a version and opened #3, "Bump dtolnay/rust-toolchain from 1.88 to
1.100" — sorting 88 to 100, which is not a Rust that exists. CI failed
with "could not download nonexistent rust version 1.100.0".

The failure is the harmless outcome. A bump that resolved would leave
the job named "MSRV (1.88)" while compiling against something newer,
and the manifest field it exists to enforce would quietly stop being
enforced — the exact drift the job was added to catch.

The other two uses of this action are `@stable`, which Dependabot does
not treat as a version, so ignoring the action outright costs nothing.
The pin moves when `rust-version` moves, by hand, in the same commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@einarfd
einarfd merged commit 3066546 into main Aug 26, 2026
4 checks passed
@einarfd
einarfd deleted the dependabot-msrv-pin branch August 26, 2026 21:56
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.

1 participant