smmdb-client icon indicating copy to clipboard operation
smmdb-client copied to clipboard

Failed to compile on arm64 "wasm-bindgen" conflict

Open dhlalit11 opened this issue 1 year ago • 0 comments

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

dhlalit11 avatar Feb 20 '25 05:02 dhlalit11