Skip to content

fix(contract-example): enable devnet feature for fungibles drink tests#563

Closed
al3mart wants to merge 1 commit into
mainfrom
al3mart/fix-drink-features
Closed

fix(contract-example): enable devnet feature for fungibles drink tests#563
al3mart wants to merge 1 commit into
mainfrom
al3mart/fix-drink-features

fix(example): enable devnet feature for fungibles drink tests

c41aab2
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded May 8, 2025 in 4s

clippy

286 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 286
Note 0
Help 0

Versions

  • rustc 1.86.0 (05f9846f8 2025-03-31)
  • cargo 1.86.0 (adf9b6ad1 2025-02-28)
  • clippy 0.1.86 (05f9846f89 2025-03-31)

Annotations

Check warning on line 100 in pop-api/integration-tests/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for the crate

warning: missing documentation for the crate
   --> pop-api/integration-tests/src/lib.rs:1:1
    |
1   | / #![cfg(test)]
2   | |
3   | | use frame_support::{
4   | |     assert_ok,
...   |
99  | |     result.account_id
100 | | }
    | |_^
    |
    = note: requested on the command line with `-W missing-docs`

Check warning on line 44 in node/src/cli.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

large size difference between variants

warning: large size difference between variants
  --> node/src/cli.rs:5:1
   |
5  | / pub enum Subcommand {
6  | |     /// Build a chain specification.
7  | |     BuildSpec(sc_cli::BuildSpecCmd),
...  |
39 | |     Benchmark(frame_benchmarking_cli::BenchmarkCmd),
   | |     ----------------------------------------------- the largest variant contains at least 592 bytes
...  |
43 | |     Key(sc_cli::KeySubcommand),
   | |     -------------------------- the second-largest variant contains at least 240 bytes
44 | | }
   | |_^ the entire enum is at least 592 bytes
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
   = note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
   |
39 -     Benchmark(frame_benchmarking_cli::BenchmarkCmd),
39 +     Benchmark(Box<frame_benchmarking_cli::BenchmarkCmd>),
   |

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/xcm.rs:242:1
    |
242 | / parameter_types! {
243 | |     pub const AuthorizeAliasHoldReason: RuntimeHoldReason = RuntimeHoldReason::PolkadotXcm(pallet_xcm::HoldReason::AuthorizeAlias);
244 | | }
    | |_^
    |
    = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 175 in runtime/testnet/src/config/xcm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/xcm.rs:175:1
    |
175 | pub struct XcmConfig;
    | ^^^^^^^^^^^^^^^^^^^^

Check warning on line 138 in runtime/testnet/src/config/xcm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

warning: missing documentation for a type alias
   --> runtime/testnet/src/config/xcm.rs:138:1
    |
138 | pub type Barrier = TrailingSetTopicAsId<(
    | ^^^^^^^^^^^^^^^^

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/xcm.rs:131:1
    |
131 | / parameter_types! {
132 | |     // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
133 | |     pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
134 | |     pub const MaxInstructions: u32 = 100;
135 | |     pub const MaxAssetsIntoHolding: u32 = 64;
136 | | }
    | |_^
    |
    = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/xcm.rs:131:1
    |
131 | / parameter_types! {
132 | |     // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
133 | |     pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
134 | |     pub const MaxInstructions: u32 = 100;
135 | |     pub const MaxAssetsIntoHolding: u32 = 64;
136 | | }
    | |_^
    |
    = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/xcm.rs:131:1
    |
131 | / parameter_types! {
132 | |     // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
133 | |     pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
134 | |     pub const MaxInstructions: u32 = 100;
135 | |     pub const MaxAssetsIntoHolding: u32 = 64;
136 | | }
    | |_^
    |
    = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:45:1
   |
45 | / parameter_types! {
46 | |     pub const RelayLocation: Location = Location::parent();
47 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
56 | |     pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
57 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/system.rs:166:1
    |
166 | / parameter_types! {
167 | |     pub MbmServiceWeight: Weight = Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
168 | | }
    | |_^
    |
    = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 139 in runtime/testnet/src/config/system.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

warning: missing documentation for a type alias
   --> runtime/testnet/src/config/system.rs:139:1
    |
139 | pub type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook<
    | ^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/system.rs:132:1
    |
132 | / parameter_types! {
133 | |     pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | |     pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
135 | |     pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
136 | | }
    | |_^
    |
    = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/system.rs:132:1
    |
132 | / parameter_types! {
133 | |     pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | |     pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
135 | |     pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
136 | | }
    | |_^
    |
    = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/testnet/src/config/system.rs:132:1
    |
132 | / parameter_types! {
133 | |     pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | |     pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
135 | |     pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
136 | | }
    | |_^
    |
    = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/system.rs:26:1
   |
26 | / parameter_types! {
27 | |     pub const Version: RuntimeVersion = VERSION;
...  |
53 | |     pub const SS58Prefix: u16 = 0;
54 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/system.rs:26:1
   |
26 | / parameter_types! {
27 | |     pub const Version: RuntimeVersion = VERSION;
...  |
53 | |     pub const SS58Prefix: u16 = 0;
54 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 291 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/system.rs:26:1
   |
26 | / parameter_types! {
27 | |     pub const Version: RuntimeVersion = VERSION;
...  |
53 | |     pub const SS58Prefix: u16 = 0;
54 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 279 in /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-40.1.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/system.rs:26:1
   |
26 | / parameter_types! {
27 | |     pub const Version: RuntimeVersion = VERSION;
...  |
53 | |     pub const SS58Prefix: u16 = 0;
54 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)