ci: build the default graph on Rust 1.98, not 1.91 #179
Loading…
Reference in a new issue
No description provided.
Delete branch "onionwire/ci-rust-198"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why CI died
The Pi
testjob runscargo test --lockedinsiderust:1.91-bookworm.cuprate-daemonis a default feature, so that command compilestapes(Cuprate/Tapes rev04562f4).tapescallsVecDeque::pop_front_if, which is unstable on 1.91 and stable since 1.93 (rust-lang/rust#135889, milestone 1.93.0).The job gets through cmake, clippy, and most of the graph, then dies in
tapesrolling_tape.rswitherror[E0658]: use of unstable library feature vec_deque_pop_ifonfiles.pop_front_if. That dependency cannot be patched from this repo. The Android workflows were already pinned to 1.98 for this exact error, and the comments said bumpingci.ymlwas a separate decision because the feature used to be off. It is on by default now, so the Linux CI job hits it too.release.ymlwould hit it on the next tag.What changed
RUST_IMAGEinci.yml,release.yml, andfuzz.yml:rust:1.91-bookwormtorust:1.98-bookworm.rust:1.98-bookwormandrust:1.98.1-bookwormboth exist on Docker Hub. The fuzz job still compiles on nightly; the base image moves so a step that forgets+nightlydoes not die intapes.rust-versionin the rootCargo.tomlandcrates/onionwire-sdk/Cargo.toml:1.91to1.98. cargo checks this before features, so a 1.91 compiler is refused up front instead of fifteen minutes intotapes.--no-default-featureswould still compile on 1.91 (Arti 0.46's floor); the declared floor is the default build, which is whatcargo buildand CI run.docs/ARTI_UPGRADE.md, the Android workflow comments, andandroid/CUPRATE_DAEMON.mdno longer say ci.yml stays on 1.91.Evidence
rustc 1.98.1compilesVecDeque::pop_front_if(small probe, exit 0).docker manifest inspect rust:1.98-bookwormsucceeds.cargo metadata --locked --no-depssucceeds for the root crate and the SDK workspace. No.rsfiles changed, so the suite was not re-run.