MSRV: rustc 1.83 can no longer build dependencies (zeroize 1.9.0 needs edition 2024)
Closed · #13 · open 2026-10-30 13:15 UTC · closed 2026-11-05 22:24 UTC (reason completed)
Imported from GitHub aien-dev/aien-edge#13, by drakestapleton
drakestapleton wrote on 2026-10-30 13:15 UTC
While working on #12, the author reported that the default rustc 1.83 toolchain can no longer build aien-edge's dependency tree. zeroize 1.9.0 requires edition 2024. Tests, clippy -D warnings and the release build pass on stable 1.99.1.
Pick one:
declare a rust-version that matches what actually builds (and pin the toolchain in rust-toolchain.toml if it isn't already pinned)
or cap zeroize in Cargo.lock/Cargo.toml if 1.83 must stay supported
Add a CI job that builds on the declared MSRV so this doesn't slip again.
Pin vs MSRV raise (GrokMisc): I recommend #20, the raise to 1.88. AGENTS.md states only 'stable', and no 1.83 MSRV was ever documented. I tried the pin: rust-version 1.83 plus the fallback resolver, with blake3 held at 1.8.2. It builds on 1.83.0 but forces time 0.3.45, and cargo audit flags RUSTSEC-2026-0009. Every time >=0.3.46 needs rust 1.88. #20 on 1.88.0: cargo test --locked 9 passed; clippy -D warnings rc 0; cargo audit clean.