Skip to content
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

Failed to compile on arm64 "wasm-bindgen" conflict #27

Open
dhlalit11 opened this issue Feb 20, 2025 · 0 comments
Open

Failed to compile on arm64 "wasm-bindgen" conflict #27

dhlalit11 opened this issue Feb 20, 2025 · 0 comments

Comments

@dhlalit11
Copy link

Hello, i am having below dependency conflict error while trying to compile smmdb-client for arm64 using rustup cargo

cargo install --path ./smmdbclient
  Installing smmdb v0.4.0 (/home/ubuntu/smmdbclient)
    Updating crates.io index
    Updating git repository `https://github.com/hecrj/iced.git`
    Updating git repository `https://github.com/Tarnadas/smmdb-lib.git`
error: failed to compile `smmdb v0.4.0 (/home/ubuntu/smmdbclient)`, intermediate artifacts can be found at `/home/ubuntu/smmdbclient/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Caused by:
  failed to select a version for `wasm-bindgen`.
      ... required by package `serde-wasm-bindgen v0.6.0`
      ... which satisfies dependency `serde-wasm-bindgen = "^0.6"` of package `smmdb v2.0.0 (https://github.com/Tarnadas/smmdb-lib.git#7f25e6c6)`
      ... which satisfies git dependency `smmdb-lib` of package `smmdb v0.4.0 (/home/ubuntu/smmdbclient)`
  versions that meet the requirements `^0.2.83` are: 0.2.100, 0.2.99, 0.2.98, 0.2.97, 0.2.96, 0.2.95, 0.2.93, 0.2.92, 0.2.91, 0.2.90, 0.2.89, 0.2.87, 0.2.86, 0.2.85, 0.2.84,
0.2.83
  all possible versions conflict with previously selected
packages.
    previously selected package `wasm-bindgen v0.2.69`
      ... which satisfies dependency `wasm-bindgen = "=0.2.69"` of package `wgpu v0.7.0`
      ... which satisfies dependency `wgpu = "^0.7"` of package `iced_wgpu v0.4.0 (https://github.com/hecrj/iced.git?rev=40d21d23659bdb9fc6a6166208adb351e188846b#40d21d23)`
      ... which satisfies git dependency `iced_wgpu` of package `smmdb v0.4.0 (/home/ubuntu/smmdbclient)`
  failed to select a version for `wasm-bindgen` which could resolve this conflict

Image

Can you please update the dependency

Thanks in advance

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