Skip to content
GitHub Actions / clippy failed Aug 14, 2024 in 0s

clippy

3 errors, 1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 1
Note 0
Help 0

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check failure on line 104 in runtime/testnet/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared crate or module `cumulus_primitives_storage_weight_reclaim`

error[E0433]: failed to resolve: use of undeclared crate or module `cumulus_primitives_storage_weight_reclaim`
   --> runtime/testnet/src/lib.rs:104:2
    |
104 |     cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim<Runtime>,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cumulus_primitives_storage_weight_reclaim`

Check failure on line 959 in runtime/testnet/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type annotations needed: cannot satisfy `pallet_contracts::ContractResult<std::result::Result<pallet_contracts::ExecReturnValue, sp_runtime::DispatchError>, u128, frame_system::EventRecord<RuntimeEvent, sp_core::H256>>: std::panic::UnwindSafe`

error[E0283]: type annotations needed: cannot satisfy `pallet_contracts::ContractResult<std::result::Result<pallet_contracts::ExecReturnValue, sp_runtime::DispatchError>, u128, frame_system::EventRecord<RuntimeEvent, sp_core::H256>>: std::panic::UnwindSafe`
   --> runtime/testnet/src/lib.rs:616:1
    |
616 | / impl_runtime_apis! {
617 | |
618 | |     impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
619 | |         fn slot_duration() -> sp_consensus_aura::SlotDuration {
...   |
958 | |     }
959 | | }
    | |_^
    |
    = note: cannot satisfy `pallet_contracts::ContractResult<std::result::Result<pallet_contracts::ExecReturnValue, sp_runtime::DispatchError>, u128, frame_system::EventRecord<RuntimeEvent, sp_core::H256>>: std::panic::UnwindSafe`
    = note: this error originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 959 in runtime/testnet/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type annotations needed: cannot satisfy `RuntimeCall: std::panic::UnwindSafe`

error[E0283]: type annotations needed: cannot satisfy `RuntimeCall: std::panic::UnwindSafe`
   --> runtime/testnet/src/lib.rs:616:1
    |
616 | / impl_runtime_apis! {
617 | |
618 | |     impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
619 | |         fn slot_duration() -> sp_consensus_aura::SlotDuration {
...   |
958 | |     }
959 | | }
    | |_^
    |
    = note: cannot satisfy `RuntimeCall: std::panic::UnwindSafe`
    = note: this error originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 33 in runtime/testnet/src/extensions.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

bound is defined in more than one place

warning: bound is defined in more than one place
  --> runtime/testnet/src/extensions.rs:33:10
   |
33 |     fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
   |             ^
34 |     where
35 |         E: Ext<T = T>,
   |         ^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
   = note: `#[warn(clippy::multiple_bound_locations)]` on by default