Skip to content

entropy fails to compile with the runtime-benchmarks feature present #1376

Closed
@ameba23

Description

@ameba23

When i do cargo build -p entropy --release --features runtime-benchmarks

i get:

error[E0275]: overflow evaluating the requirement `pallet_babe::pallet::Call<entropy_runtime::Runtime>: std::marker::Send`
     |
note: required because it appears within the type `entropy_runtime::RuntimeCall`
    --> /home/pumkin/src/entropy/entropy-core/runtime/src/lib.rs:1520:1
     |
1520 | / construct_runtime!(
1521 | |   pub enum Runtime
1522 | |   {
1523 | |     System: frame_system = 1,
...    |
1575 | | );
     | |_^
note: required because it appears within the type `UncheckedExtrinsic<MultiAddress<AccountId32, u32>, RuntimeCall, MultiSignature, ...>`
    --> /home/pumkin/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sp-runtime-32.0.0/src/generic/unchecked_extrinsic.rs:69:12
     |
69   | pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
     |            ^^^^^^^^^^^^^^^^^^
     = note: required for `UncheckedExtrinsic<MultiAddress<AccountId32, u32>, RuntimeCall, MultiSignature, ...>` to implement `Member`
     = note: required for `Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<..., ...>, ..., ..., ...>>` to implement `BlockT`
     = note: the full name for the type has been written to '/home/pumkin/src/entropy/entropy-core/target/release/deps/entropy-95e888898a5e8da0.long-type-12860491654769157762.txt'
     = note: consider using `--verbose` to print the full type name to the console
     = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0275`.
error: could not compile `entropy` (bin "entropy") due to 1 previous error

with rustc 1.85.1 (4eb161250 2025-03-15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions