substrate-contracts-node icon indicating copy to clipboard operation
substrate-contracts-node copied to clipboard

Error installing last version: cannot find trait `Priority` in this scope

Open AlexD10S opened this issue 1 year ago • 0 comments

If I run cargo install contracts-node I am getting an error:

error[E0405]: cannot find trait `Priority` in this scope
   --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polkadot-overseer-11.0.0/src/lib.rs:460:1
    |
460 | / #[orchestra(
461 | |     gen=AllMessages,
462 | |     event=Event,
463 | |     signal=OverseerSignal,
464 | |     error=SubsystemError,
465 | |     message_capacity=2048,
466 | | )]
    | |__^ not found in this scope
    |
    = note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
    |
64  + use crate::gen::Priority;
    |
64  + use orchestra::Priority;

When I run the previous version cargo install contracts-node --version 0.40.0 --locked. I followed the official installation steps to set up all Substrate prerequisites. Am I missing something?

AlexD10S avatar Jun 11 '24 18:06 AlexD10S