Skip to content

polkadot-overseer-v24.0.0 (stable-2506) is broken #9314

Description

@seunlanlege

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

Version published to crates.io does not compile.

error[E0599]: no method named `route_message_with_priority` found for struct `Overseer` in the current scope
   --> /home/seun/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/polkadot-overseer-24.0.0/src/lib.rs:786:15
    |
476 | / #[orchestra(
477 | |     gen=AllMessages,
478 | |     event=Event,
479 | |     signal=OverseerSignal,
480 | |     error=SubsystemError,
481 | |     message_capacity=2048,
482 | | )]
    | |__- method `route_message_with_priority` not found for this struct
...
786 |                                       self.route_message_with_priority::<HighPriority>(msg.into(), origin).await?;
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Overseer<S, SupportsParachains>`

error[E0277]: `PriorityLevel` doesn't implement `std::fmt::Debug`
   --> /home/seun/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/polkadot-overseer-24.0.0/src/lib.rs:311:3
    |
293 | #[derive(Debug)]
    |          ----- in this derive macro expansion
...
311 |         priority: PriorityLevel,
    |         ^^^^^^^^^^^^^^^^^^^^^^^ `PriorityLevel` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
    |
    = help: the trait `std::fmt::Debug` is not implemented for `PriorityLevel`

Steps to reproduce

Compile stable-2506 branch of simnode: polytope-labs/sc-simnode#52

Metadata

Metadata

Assignees

No one assigned

    Labels

    I10-unconfirmedIssue might be valid, but it's not yet known.I2-bugThe node fails to follow expected behavior.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions