Describe the bug
Fail to install contracts-node
error[E0152]: duplicate lang item in crate std (which memchr depends on): panic_impl.
|
= note: the lang item is first defined in crate sp_io (which frame_support depends on)
= note: first definition in sp_io loaded from /tmp/cargo-installSffutq/release/wbuild/contracts-parachain-runtime/target/wasm32-unknown-unknown/release/deps/libsp_io-c3af7d09a9975d0c.rmeta
= note: second definition in std loaded from /tmp/cargo-installSffutq/release/wbuild/contracts-parachain-runtime/target/wasm32-unknown-unknown/release/deps/libstd-da90a6a3b471618f.rmeta
For more information about this error, try rustc --explain E0152.
error: could not compile frame-support (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
warning: build failed, waiting for other jobs to finish...
error: failed to compile contracts-node v0.41.0, intermediate artifacts can be found at /tmp/cargo-installSffutq.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
To Reproduce
Steps to reproduce the behavior:
- ubuntu desktop 22.04lts
- cargo install contracts-node
Describe the bug
Fail to install contracts-node
error[E0152]: duplicate lang item in crate
std(whichmemchrdepends on):panic_impl.|
= note: the lang item is first defined in crate
sp_io(whichframe_supportdepends on)= note: first definition in
sp_ioloaded from /tmp/cargo-installSffutq/release/wbuild/contracts-parachain-runtime/target/wasm32-unknown-unknown/release/deps/libsp_io-c3af7d09a9975d0c.rmeta= note: second definition in
stdloaded from /tmp/cargo-installSffutq/release/wbuild/contracts-parachain-runtime/target/wasm32-unknown-unknown/release/deps/libstd-da90a6a3b471618f.rmetaFor more information about this error, try
rustc --explain E0152.error: could not compile
frame-support(lib) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
warning: build failed, waiting for other jobs to finish...
error: failed to compile
contracts-node v0.41.0, intermediate artifacts can be found at/tmp/cargo-installSffutq.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIRto that path.To Reproduce
Steps to reproduce the behavior: