chore: bump Rust toolchain 1.90.0 -> 1.91.1#2071
Merged
Merged
Conversation
The ic-replicated-state dependency (dfinity/ic) uses the range-based BTreeMap::extract_if, which was only stabilized in Rust 1.91.0. Pinning 1.90.0 caused E0658 "unstable library feature btree_extract_if" build failures. Update rust-toolchain.toml and the matching runner Dockerfile.
r-birkner
approved these changes
Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.90.0to1.91.1inrust-toolchain.tomland the matchingdocker/runner.Dockerfile.Why
Building the CLI (and anything depending on
ic-replicated-statefrom dfinity/ic revabf88f2) failed with:The dependency uses the range-based
BTreeMap::extract_if, which was only stabilized in Rust 1.91.0. The repo pinned1.90.0, one release too old. Verified empirically: 1.90.0 fails, 1.91.1 compiles.Test plan
cargo build/cargo runfromrs/clicompletes without thebtree_extract_ifE0658 error