Skip to content

chore(ci): bump Rust toolchain to 1.88.0 and pin external dependencies#622

Merged
aterga merged 3 commits intomainfrom
arshavir/rust-1.88-toolchain-bump
Apr 1, 2026
Merged

chore(ci): bump Rust toolchain to 1.88.0 and pin external dependencies#622
aterga merged 3 commits intomainfrom
arshavir/rust-1.88-toolchain-bump

Conversation

@aterga
Copy link
Copy Markdown
Contributor

@aterga aterga commented Mar 27, 2026

Summary

  • Bumps the Rust toolchain from 1.87.0 to 1.88.0 in rust-toolchain.toml
  • Fixes all uninlined_format_args clippy warnings introduced by 1.88's stricter -D clippy::all enforcement: format!("{}", x)format!("{x}") across the workspace
  • Pins assetstorage.wasm.gz download to a specific SDK commit (d65717bd) to prevent CI breakage from the unpinned master branch importing env_var_count (unsupported by PocketIC server)
  • Pins Internet Identity in dfx.json to release-2025-08-29 to prevent e2e test breakage from UI changes in newer releases

Why

Rust 1.88.0 stabilizes let chains and tightens the uninlined_format_args lint. This is a prerequisite for upgrading pocket-ic to 13.0.0 (which requires 1.88) in a follow-up PR.

The external dependency pinning fixes flaky CI caused by fetching from unpinned latest/master sources.

Test plan

  • CI validate-rust passes (cargo clippy -D clippy::all + cargo fmt --check)
  • integration-tests pass
  • e2e-tests pass
  • All other required checks pass

🤖 Generated with Claude Code

Rust 1.88.0 stabilizes let chains and enables the
`uninlined_format_args` clippy lint. Fix all instances of
`format!("{}", x)` -> `format!("{x}")` across the workspace
to keep CI green under `-D clippy::all`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aterga aterga requested a review from a team as a code owner March 27, 2026 18:23
The integration tests and e2e tests were failing because external
dependencies were fetched from unpinned sources (latest/master):

- assetstorage.wasm downloaded from dfinity/sdk master now imports
  env_var_count from ic0, which PocketIC server 9.0.3 does not support
- Internet Identity latest release changed its UI, removing the
  #registerButton element expected by e2e tests

Pin both to known-working versions:
- assetstorage.wasm: pin to SDK commit d65717bd (matching the
  ic-certified-assets git dependency already in Cargo.lock)
- Internet Identity: pin to release-2025-08-29 (last release before
  the final successful CI run)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aterga aterga changed the title chore: bump Rust toolchain to 1.88.0 and fix clippy warnings chore(ci): bump Rust toolchain to 1.88.0 and fix clippy warnings Apr 1, 2026
@aterga aterga enabled auto-merge (squash) April 1, 2026 13:20
@aterga aterga changed the title chore(ci): bump Rust toolchain to 1.88.0 and fix clippy warnings chore(ci): bump Rust toolchain to 1.88.0 and pin external dependencies Apr 1, 2026
@aterga aterga removed the request for review from a team April 1, 2026 17:27
@aterga aterga disabled auto-merge April 1, 2026 17:27
@aterga aterga enabled auto-merge (squash) April 1, 2026 17:27
@aterga aterga requested a review from a team as a code owner April 1, 2026 18:04
@aterga aterga requested a review from sea-snake April 1, 2026 18:06
@aterga aterga merged commit 075d617 into main Apr 1, 2026
29 checks passed
@aterga aterga deleted the arshavir/rust-1.88-toolchain-bump branch April 1, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants