You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: Local Gate (lint) fails on every PR: local-gate probe's windows-gnu link exits 101 #969
Since around 01:00 UTC on 2026-10-16, `Build 🧱 / Rust Tests 🦀 (ubuntu-26.04)` fails at the step Local Gate (lint) 🧪 on unrelated PRs and in the merge queue:
The PRs don't touch it. None of the failing PRs touch Rust, `ci/local_gate.py` or the probe.
It passes locally. The same command passes on a developer machine with soldr 0.9.33.
Cause, as far as known
`ci/test_local_gate_probe.py` creates its scratch crate inside `/target/`, the directory CI restores the cache into. Building the probe there fails the windows-gnu link. The exact cargo error isn't in these logs; #950 added the stderr print after these runs.
Fix
Create the scratch crate in the system temp directory, outside the repo.
Acceptance criteria
RED: CI runs above.
GREEN: the fix PR's `Rust Tests (ubuntu-26.04)` passes Local Gate (lint) with the restored `soldrv0.9.33` cook cache.
The probe still fails on a changed source, which is what it exists to check.
Related: #949 (this probe is also one of the slowest tests in `./lint`).
Root cause is still live after #972: merge-queue run for #936 (job 116780150468, Rust Tests ubuntu-26.04) fails in lane rust-test itself, not the probe:
error[E0463]: can't find crate for `core`
= note: the `x86_64-pc-windows-gnu` target may not be installed
error: could not compile `getrandom` (lib)
== lane rust-test: FAILED (101)
lane_rust_test runs soldr rustup target add x86_64-pc-windows-gnu and then soldr cargo test ... --target x86_64-pc-windows-gnu, but the std for that target is not in the toolchain cargo uses. setup-soldr logs Runner rustup home ... does not already contain toolchain 1.98.1; using managed RUSTUP_HOME under the setup cache root, so the target add and the build likely see different rustup homes, or the restored 842 MB cook cache holds a toolchain without the windows-gnu std.
Master is red on it too (push run 38837108308 at 0c531fe failed), so the queue can't land anything until this is fixed. Locally it passes because the host rustup home already has the target.
Root cause found upstream. The rust-test failure matches forge-ci/setup-soldr#507 (open): setup-soldr's solo-toolchain-cache saves a ...tnone-soldrv0.9.33 entry after the lane adds the windows-gnu target mid-job, so the entry records the rust-std as installed without its files. Later runs take an exact hit and skip the rustup install. soldr rustup target add then prints "up to date" with no download, and soldr cargo --target x86_64-pc-windows-gnu fails with E0463. Evidence: forge-ci/setup-soldr#507 (comment). Soldr not self-healing this is filed as forge-ci/soldr#3793. The log shows one RUSTUP_HOME for both steps, so this is not a split-home problem. The current Linux entry (cache id 9026195496, created 01:26 UTC) can be deleted to unblock the queue; the next run will rebuild it, and may poison it again until #507 is fixed.
Deleted the poisoned Linux toolchain cache entry 9026195496 (solo-toolchain-v3-linux-x64-glibc-rustc1.98.1-cb6b9e404-tnone-soldrv0.9.33, created 01:26 UTC) so the next run reinstalls rustup and the windows-gnu std. It can be re-poisoned until forge-ci/setup-soldr#507 is fixed; the durable workaround is cross-targets: x86_64-pc-windows-gnu on setup-soldr (puts the target in the cache key).
Activity
zackees commentedon Oct 16, 2026
Root cause is still live after #972: merge-queue run for #936 (job 116780150468, Rust Tests ubuntu-26.04) fails in
lane rust-testitself, not the probe:lane_rust_testrunssoldr rustup target add x86_64-pc-windows-gnuand thensoldr cargo test ... --target x86_64-pc-windows-gnu, but the std for that target is not in the toolchain cargo uses. setup-soldr logsRunner rustup home ... does not already contain toolchain 1.98.1; using managed RUSTUP_HOME under the setup cache root, so the target add and the build likely see different rustup homes, or the restored 842 MB cook cache holds a toolchain without the windows-gnu std.Master is red on it too (push run 38837108308 at 0c531fe failed), so the queue can't land anything until this is fixed. Locally it passes because the host rustup home already has the target.
zackees commentedon Oct 16, 2026
Root cause found upstream. The rust-test failure matches forge-ci/setup-soldr#507 (open): setup-soldr's solo-toolchain-cache saves a
...tnone-soldrv0.9.33entry after the lane adds the windows-gnu target mid-job, so the entry records therust-stdas installed without its files. Later runs take an exact hit and skip the rustup install.soldr rustup target addthen prints "up to date" with no download, andsoldr cargo --target x86_64-pc-windows-gnufails with E0463. Evidence: forge-ci/setup-soldr#507 (comment). Soldr not self-healing this is filed as forge-ci/soldr#3793. The log shows one RUSTUP_HOME for both steps, so this is not a split-home problem. The current Linux entry (cache id 9026195496, created 01:26 UTC) can be deleted to unblock the queue; the next run will rebuild it, and may poison it again until #507 is fixed.zackees commentedon Oct 16, 2026
Deleted the poisoned Linux toolchain cache entry 9026195496 (
solo-toolchain-v3-linux-x64-glibc-rustc1.98.1-cb6b9e404-tnone-soldrv0.9.33, created 01:26 UTC) so the next run reinstalls rustup and the windows-gnu std. It can be re-poisoned until forge-ci/setup-soldr#507 is fixed; the durable workaround iscross-targets: x86_64-pc-windows-gnuon setup-soldr (puts the target in the cache key).zackees commentedon Oct 16, 2026
GREEN in #970:
Rust Tests (ubuntu-26.04)passed Local Gate (lint) (4m53s, job 116781929063). Before the fix it failed at about 1.5 minutes.zackees commentedon Oct 16, 2026
Duplicate of #971, fixed by #972.
ci: Install the toolchain fresh in jobs that add Rust targets (Fixes #…