Skip to content

chore: bump MSRV and toolchain to Rust 1.98 - #4367

Merged
max-sixty merged 1 commit into
mainfrom
ci/msrv-1.98
Oct 4, 2026
Merged

max-sixty merged 1 commit into
mainfrom
ci/msrv-1.98

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Weekly MSRV/toolchain bump to latest stable − 1: Rust 1.99.0 is the current stable (released 2026-09-28), so rust-version in Cargo.toml and tests/helpers/wt-perf/Cargo.toml moves 1.97 → 1.98, and rust-toolchain.toml moves 1.97.0 → 1.98.0.

Verified locally on 1.98.0: cargo clippy --all-targets --all-features -- -D warnings is clean, and in cargo run -- hook pre-merge --yes the lockfile, pre-commit, doctest, and doc steps pass. insta ran 5,072 tests with 7 failures, all from the CI sandbox rather than the toolchain: AF_UNIX sockets are blocked (the non-regular-file and fsmonitor tests), a temp key file gets mode 0644 so ssh-keygen refuses to sign, and PowerShell is installed in the sandbox. The four that ran before nextest stopped also fail on 1.97.0 at main. cargo msrv verify isn't installed here; this PR's msrv CI job runs it.

flake.lock needs no change. The locked rust-overlay revision (f60c1b57ff805a46b5175c76fc981fb4f81efbcc, 2026-08-23) already ships manifests/stable/1.98.0.nix, so the dev shell's rust-bin.stable.${channel} lookup resolves 1.98.0 as locked; the nix-flake CI job evaluates it. (nix flake update rust-overlay can't run in the tend sandbox anyway — no access to the nix daemon socket; max-sixty/tend#1197.)

The nightly-2026-08-01 pins in nightly.yaml are about two months old, inside the three-month window, so they stay.

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description's flake.lock paragraph is wrong. The locked rust-overlay revision (f60c1b57ff805a46b5175c76fc981fb4f81efbcc, 2026-08-23) already includes manifests/stable/1.98.0.nix, so pkgs.rust-bin.stable."1.98.0" resolves without a lock update. Running nix flake update rust-overlay isn't required before or after merging. I'll correct the description. The code change itself needs nothing.

@max-sixty
max-sixty merged commit 83ccb2f into main Oct 4, 2026
43 checks passed
@max-sixty
max-sixty deleted the ci/msrv-1.98 branch October 4, 2026 12:51
max-sixty pushed a commit that referenced this pull request Nov 16, 2026
Weekly bump of MSRV and the development toolchain to latest stable − 1.
Rust 1.100.0 is the current stable, so `rust-version` in `Cargo.toml`
and `tests/helpers/wt-perf/Cargo.toml` moves from `1.98` to `1.99`, and
`rust-toolchain.toml` moves from `1.98.0` to `1.99.0`. No code changes
were needed.

Verified locally on 1.99.0: `cargo clippy --all-targets --all-features
-- -D warnings` is clean, and the `lockfile`, `pre-commit`, `doctest`
and `doc` steps of `cargo run -- hook pre-merge --yes` pass. The `insta`
step had 7 failures out of 5,509, all from the tend sandbox, which are
the same causes the 1.98 bump (#4367) reported: blocked Unix sockets, a
temp signing key that `ssh-keygen` refuses, and PowerShell being
installed for the `configure_shell` tests. `cargo msrv verify` isn't
available in the sandbox; this PR's `msrv` job runs it.

`flake.nix` reads the channel from `rust-toolchain.toml`. The
`rust-overlay` revision that #4806 brought in has
`manifests/stable/1.99.0.nix`, and this branch includes that lock.

The `nightly-2026-10-20` pins in `nightly.yaml` are inside the
three-month window, so they stay.

Co-authored-by: worktrunk-bot <[email protected]>
Co-authored-by: Claude <[email protected]>
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