-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Description
I tried installing the most recent substrate-contracts-node with
cargo install contracts-node --force --git https://github.com/paritytech/substrate-contracts-node.git
…and it fails with the following error:
Compiling sc-network v0.10.0-dev (https://github.com/paritytech/substrate?branch=polkadot-v0.9.32#5ea6d953)
error[E0433]: failed to resolve: could not find `derive_prelude` in `swarm`
--> /Users/wottpal/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
|
58 | #[derive(NetworkBehaviour)]
| ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
|
= note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0432]: unresolved import `libp2p`
--> /Users/wottpal/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
|
58 | #[derive(NetworkBehaviour)]
| ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
|
= note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)
I brew-installed protobuf before, so it's not a duplicate of #161.
Before, I used v0.21.0 for WeightsV1, which installed successfully.
Metadata
Metadata
Assignees
Labels
No labels