Skip to content

id toolchain pin comments disagree with pkgs/id/rust-toolchain.toml: nix-common.nix, nixos/environment/default.nix, pkgs/id/flake.nix still say channel 1.99.0, file pins 1.99.1 #13303

Closed

Description

@dezren39

Found during the #13286 fix (Atlas toolchain pin alignment), verified on main 5c8e163849d8 2026-11-23. Same defect class, different pin:

pkgs/id/rust-toolchain.toml pins channel = "1.99.1", and three files resolve their toolchain from that exact file — but their comments still describe the channel as 1.99.0:

  • nix-common.nix (line ~21): "channel (currently 1.99.0) is the single place the version lives" — two lines above rustToolchain = pkgs.rust-bin.fromRustupToolchainFile ./pkgs/id/rust-toolchain.toml;
  • nixos/environment/default.nix (line ~457): "the same pkgs/id/rust-toolchain.toml (channel 1.99.0)"; also "(1.99.0 + clippy / rustfmt)" (~line 1136) and "Pinned Rust toolchain (1.99.0) shared with the devshell" (~line 1446)
  • pkgs/id/flake.nix (line ~396): "builds of the same pinned 1.99.0"

Fix shape: update the five comment sites to 1.99.1 (the file is the single source of truth; no build behaviour changes). Deliberately NOT in scope: pkgs/id/benches/BASELINES.md / baseline.txt / baseline.jsonl record the compiler that actually ran historical measurements (1.99.0 at the time) and must not be rewritten; pkgs/id/tests/toolchain_pin.rs uses 1.99.0 only as parser test fixtures.

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane XA claiming this item (2026-11-23). #13304 covers the same comment family with a partially overlapping site list; I will land one fix covering the union of both issues' sites and settle #13304's baseline.txt question from the git history of pkgs/id/rust-toolchain.toml in the same pass.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    HOLD — Lane XA stopped on a platform execution-risk flag (2026-11-23).

    I claimed this item, created worktree ~/wt-lane-xa-13303 on the laptop off origin/main 1845798, and read pkgs/id/rust-toolchain.toml (premise confirmed: channel = "1.99.1"). At that point the checkout tripped a platform execution-risk flag, so per standing lane rules I stopped immediately and modified nothing — no file in the worktree was edited, nothing committed or pushed.

    Prepared scope for the landing pass (one approval naming #13303 clears this):

    • nix-common.nix (~line 21): "(currently 1.99.0)" → 1.99.1
    • nixos/environment/default.nix (~line 457): "(channel 1.99.0)" → 1.99.1; (~line 1136): "(1.99.0 + clippy / rustfmt)" → 1.99.1; (~line 1446): "Pinned Rust toolchain (1.99.0)" → 1.99.1
    • pkgs/id/flake.nix (~line 396): "same pinned 1.99.0" → 1.99.1
    • Plus the id toolchain pin: comment family still says 1.99.0 while pkgs/id/rust-toolchain.toml pins 1.99.1 #13304-only site: nix-common.nix:98 "fails under the pinned Cargo 1.99.0" — check its context first; if it describes the current pin, align to 1.99.1.
    • Settle id toolchain pin: comment family still says 1.99.0 while pkgs/id/rust-toolchain.toml pins 1.99.1 #13304's open question from git history of pkgs/id/rust-toolchain.toml (when did channel move 1.99.0 → 1.99.1?) before touching pkgs/id/benches/baseline.txt; do NOT rewrite benches/BASELINES.md, baseline.txt, baseline.jsonl measurement records or pkgs/id/tests/toolchain_pin.rs fixtures on assumption.
    • Verification is comment-only: diff must touch comment lines only; grep the three files for remaining "1.99.0" pin claims afterward.

    Worktree ~/wt-lane-xa-13303 (branch lane-xa-13303, clean, at origin/main 1845798) is left in place on the laptop for the landing pass.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Ported from #13304 (Lane WY's parallel filing, closed as duplicate of this issue):

    One extra item for whoever picks this up: pkgs/id/benches/baseline.txt records measurements "on rustc 1.99.0" dated 2026-11-10/2026-11-14. If the pin was already 1.99.1 on those dates the records are wrong; if the channel bumped afterward they are accurate history. Settle it from the git history of pkgs/id/rust-toolchain.toml before touching them — do not edit measurement records on assumption.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane YE claiming this item for the landing pass under Drew's batch approval (2026-11-23 07:35 CST), adopting Lane XA's prepared scope from the flag-hold record (comment 7102269872). Scope: the five comment sites in this issue's body, the #13304-only nix-common.nix:98 site (context-checked first), and settling the baseline.txt question from the git history of pkgs/id/rust-toolchain.toml. Comment-only changes; no measurement records or test fixtures rewritten on assumption.

  6. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Lane YH taking over this landing (recovery pass). Lane YE claimed at 14:08Z (comment 7103529933) and ended silently minutes later with nothing else done — no PR, no commits, no new worktree; I verified that state first-hand before adopting. Adopting Lane XA's prepared scope from the flag-hold record (comment 7102269872) under Drew's batch approval (2026-11-23 07:35 CST): the five comment sites in this issue's body, the #13304-only nix-common.nix:98 site (context-checked first), and settling the baseline.txt question from the git history of pkgs/id/rust-toolchain.toml. Comment-only changes; no measurement records or test fixtures rewritten on assumption.

  7. added a commit that references this issue on Nov 23, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    LANDED — Lane YH done record.

    PR #13359 merged (merge commit 518e7f38ac4c, head SHA-guarded at 37ed757424b): the six comment sites now read 1.99.1 — nix-common.nix (the channel note above fromRustupToolchainFile, and the cargo-llvm-cov "pinned Cargo" note), nixos/environment/default.nix (three sites: channel note, clippy/rustfmt note, "Pinned Rust toolchain" note), pkgs/id/flake.nix (byte-drift-gate note). The nix-common.nix:98 site (the #13304-only site) was aligned because its claim is present-tense about the currently pinned Cargo — the doCheck = false remedy is in force against today's pin. Diff: exactly 6 comment lines across 3 files; grep for 1.99.0 across the three files afterward returns nothing; all three files pass nix-instantiate --parse.

    Baseline question (ported from #13304) settled from git history, records NOT edited: pkgs/id/rust-toolchain.toml carried channel 1.99.0 from 2026-10-11 (ade59db9d3a) until PR #7205 bumped it to 1.99.1, merged to main 2026-11-13T10:25:14Z (d4d80fb2a56). So pkgs/id/benches/baseline.txt's 2026-11-10 measurement record (rustc 1.99.0) is consistent with the pin of its day. The 2026-11-14 and 2026-11-22 records also state rustc 1.99.0, after the pin had moved — they stand as records of the compiler that actually ran on the reference machine and are not rewritten on inference, per this issue's own rule. BASELINES.md / baseline.jsonl and the tests/toolchain_pin.rs parser fixtures likewise untouched.

    Verification route: the pkgs/id checks in nix develop inside pkgs/id on the laptop — cargo test --test toolchain_pin (the pin-agreement oracle: Nix-side version references vs the toml channel): 10 passed, 0 failed, under the pinned cargo 1.99.1. Two environment notes: (1) the first run stalled in the shared sccache queue (clients waiting at 0% CPU behind 56-minute-old zombie compiles from another lane's run) — killed by exact PID and re-run with RUSTC_WRAPPER disabled, which produced the result; (2) the dispatch-first remote run (fleet queue dispatch session fp_21d6b68a406968cbd0fea18999aebc90, Blacksmith surface) never materialized a workflow run in ~50 minutes (still dispatched, run=None at merge time) — not a test result either way.

    Process note: the first commit on this branch (4c3e9fb4077) picked up four foreign atlas-search file reversions — in the shared clone, origin/main advanced under the checkout (PR #13354 landed mid-sequence) leaving index/HEAD inconsistent. Caught by stat-checking the commit before any PR was opened; the branch was reset to main, the six edits re-applied, and the replacement commit stat-verified (3 files, 6 insertions, 6 deletions) before the force-push that replaced it. The PR only ever contained the clean commit 37ed757424b.

    Closing as completed: every item in this issue's scope is landed or settled above.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions