fix(contract-example): enable devnet feature for fungibles drink tests#563
fix(contract-example): enable devnet feature for fungibles drink tests#563al3mart wants to merge 1 commit into
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
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
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>),
|
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
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
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<(
| ^^^^^^^^^^^^^^^^
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
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<
| ^^^^^^^^^^^^^^^^^^^^^^
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)
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)
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)
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)
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)
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)
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)