Skip to content

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

Description

@alexbcasas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions