Skip to content

linux-stable jobs failing CI due to wasm-bindgen compatibility issue #1493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rnkaufman opened this issue Apr 11, 2025 · 0 comments
Open

Comments

@rnkaufman
Copy link

rnkaufman commented Apr 11, 2025

🐛 Bug description

We are encountering a recurring issue in the project where Rust builds fail on linux-stable CI jobs due to an older version of the wasm-bindgen crate being incompatible with the current Rust version. The error message is as follows:

Compiling wasm-bindgen v0.2.74
error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88

error: could not compile `wasm-bindgen` (lib) due to 1 previous error
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit status: 101
  full command: cd \"/home/runner/work/wasm-pack/wasm-pack/target/t/.tmpEj08tZ/wasm-pack\" && \"cargo\" \"build\" \"--lib\" \"--target\" \"wasm32-unknown-unknown\"

Example failing PRs:

🤔 Expected Behavior

linux-stable jobs complete successfully with no version compatibility issues with wasm-bindgen.

👟 Steps to reproduce

The failure is present in the linux-stable CI builds (example failing action link).

I think it can be reproduced locally via cargo build --lib --target wasm32-unknown-unknown but I'm running into issues building for that target.

🌍 Your environment

Include the relevant details of your environment.
wasm-pack version: latest
rustc version: latest (linux_stable CI job w/ wasm32-unknown-unknown target)

@rnkaufman rnkaufman changed the title CI failing due to wasm-bindgen compatibility Issue with linux-stable jobs CI failing due to wasm-bindgen compatibility issue with linux-stable jobs Apr 11, 2025
@rnkaufman rnkaufman changed the title CI failing due to wasm-bindgen compatibility issue with linux-stable jobs linux-stable jobs failing CI due to wasm-bindgen compatibility issue Apr 11, 2025
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

No branches or pull requests

1 participant