Pin the toolchain for linera-bridge e2e tests to 1.91 and update Carg…#5582
Merged
deuszx merged 1 commit intotestnet_conwayfrom Mar 3, 2026
Merged
Pin the toolchain for linera-bridge e2e tests to 1.91 and update Carg…#5582deuszx merged 1 commit intotestnet_conwayfrom
deuszx merged 1 commit intotestnet_conwayfrom
Conversation
ndr-ds
approved these changes
Mar 3, 2026
deuszx
pushed a commit
that referenced
this pull request
Mar 3, 2026
…ack breakage (#5583) ## Motivation The bridge E2E CI has been failing on every `testnet_conway` push since at least Feb 28 with a linker error: rust-lld: error: undefined symbol: __rust_probestack referenced by linera_wasmer_vm PR #5582 pinned the bridge e2e toolchain to Rust 1.91 to satisfy alloy's MSRV, but Rust 1.89+ removed `__rust_probestack` as a linkable extern symbol ([rust-lang/rust#141992](rust-lang/rust#141992)), which breaks the linera wasmer fork (v4.4.0-linera.7) that still references it in `probestack.rs`. ## Proposal Use Rust 1.88 (the last version before the probestack removal) and cap alloy to `<1.7` (since alloy 1.7+ requires Rust 1.91): - **`rust-toolchain.toml`**: 1.91 → 1.88 - **`Cargo.toml`**: Set `rust-version = "1.88"`, cap alloy to `>=1.0.42, <1.7` - **`.cargo/config.toml`** (new): Enable MSRV-aware resolver (`incompatible-rust-versions = "fallback"`) so alloy sub-crates also resolve to 1.6.x - **`Cargo.lock`**: Regenerated (alloy 1.3 → 1.6.3 across all sub-crates) - **`bridge-e2e.yml`**: Added `pull_request` trigger targeting `testnet_conway` so the test runs on this PR The proper long-term fix is updating the linera wasmer fork with the upstream probestack fix ([wasmerio/wasmer#5690](wasmerio/wasmer#5690)). The alloy cap comment documents this. ## Test Plan - `cargo check` passes locally with Rust 1.88 - The `pull_request` trigger on this PR will run the bridge E2E test in CI (remove the trigger before merge) ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links - Failed CI run: https://github.com/linera-io/linera-protocol/actions/runs/22633609986/job/65590305218 - Rust PR that removed the symbol: [rust-lang/rust#141992](rust-lang/rust#141992) - Upstream wasmer fix: [wasmerio/wasmer#5690](wasmerio/wasmer#5690) - PR that introduced Rust 1.91: [#5582](https://github.com/lera-io/linera-protocol/pull/5582)
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.
Motivation
Linera Bridge e2e tests are failing in the CI due to issues with alloy versions and rust toolchain
Proposal
Use custom toolchain for
linera-bridge/tests/e2eand updateCargo.lockTest Plan
Checked locally. This will run after the PR merges to
testnet_conwayRelease Plan
None for now
Links