Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T01 Pin the toolchain to a dated nightly

Question

Replace rolling channel = "nightly" with a dated nightly pin (the one currently passing CI, from rustc --version) plus components = ["rustfmt", "clippy", "rust-analyzer"], so the nursery and pedantic denies later are safe under a deliberate bump, per the standard’s toolchain.md / ADR 5.

Exit predicate

rust-toolchain.toml names a dated nightly with the three components; just quality (T06 form) is green; rust-roll-forward recipe is updated to bump the date and re-run the gate. No lint-level flips ride in this commit.

Resolution

Done 2026-10-30. rust-toolchain.toml pins nightly-2026-09-19 with components = ["rustfmt", "clippy", "rust-analyzer"], the toolchain on which just quality was re-run and passed in full (fmt, clippy --all-targets, workspace tests, release script suite, vale). CI fetches the same dated artifact; the pipelines on this pull request verify the pin remotely.

just rust-roll-forward now reads the release date from static.rust-lang.org/dist/channel-rust-nightly.toml and rewrites only the channel line, preserving the file’s comments. Discovery along the way: rustc --version reports the commit date, one day behind the release date of the nightly channel: deriving the pin from the version string lands a day-early channel that may not exist. The date is also read via a temp file, not a pipe: awk exits early, which closes the pipe and makes curl fail under pipefail.

No lint-level flips rode in, per the exit predicate. Unblocks T02, T07, and the T08 chain.