style: formatting #813
Triggered via pull request
August 22, 2024 12:46
evilrobot-01
synchronize
#184
Status
Success
Total duration
15s
Artifacts
–
lint-pr.yml
on: pull_request_target
Validate PR title for conventional commit compliance
4s
Annotations
129 warnings
large size difference between variants:
node/src/cli.rs#L5
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),
... |
19 | | ImportBlocks(sc_cli::ImportBlocksCmd),
| | ------------------------------------- the second-largest variant contains at least 240 bytes
... |
39 | | Benchmark(frame_benchmarking_cli::BenchmarkCmd),
| | ----------------------------------------------- the largest variant contains at least 544 bytes
... |
43 | | Key(sc_cli::KeySubcommand),
44 | | }
| |_^ the entire enum is at least 544 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(Box<frame_benchmarking_cli::BenchmarkCmd>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
missing documentation for a function:
runtime/devnet/src/lib.rs#L647
warning: missing documentation for a function
--> runtime/devnet/src/lib.rs:647:1
|
647 | / impl_runtime_apis! {
648 | |
649 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
650 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
993 | | }
994 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L128
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:128:1
|
128 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/devnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias
--> runtime/devnet/src/config/xcm.rs:126:1
|
126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/devnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/devnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:87:1
|
87 | / parameter_types! {
88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
90 | | pub const MaxInstructions: u32 = 100;
91 | | pub const MaxAssetsIntoHolding: u32 = 64;
92 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:87:1
|
87 | / parameter_types! {
88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
90 | | pub const MaxInstructions: u32 = 100;
91 | | pub const MaxAssetsIntoHolding: u32 = 64;
92 | | }
| |_^
|
= 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)
|
missing documentation for a function:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a function
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:87:1
|
87 | / parameter_types! {
88 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
89 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
90 | | pub const MaxInstructions: u32 = 100;
91 | | pub const MaxAssetsIntoHolding: u32 = 64;
92 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:28:1
|
28 | / parameter_types! {
29 | | pub const RelayLocation: Location = Location::parent();
30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:28:1
|
28 | / parameter_types! {
29 | | pub const RelayLocation: Location = Location::parent();
30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:28:1
|
28 | / parameter_types! {
29 | | pub const RelayLocation: Location = Location::parent();
30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:28:1
|
28 | / parameter_types! {
29 | | pub const RelayLocation: Location = Location::parent();
30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:28:1
|
28 | / parameter_types! {
29 | | pub const RelayLocation: Location = Location::parent();
30 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
36 | | pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L5
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:5:1
|
5 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/devnet/src/lib.rs#L647
warning: missing documentation for a module
--> runtime/devnet/src/lib.rs:647:1
|
647 | / impl_runtime_apis! {
648 | |
649 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
650 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
993 | | }
994 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/devnet/src/lib.rs#L647
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:647:1
|
647 | / impl_runtime_apis! {
648 | |
649 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
650 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
993 | | }
994 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/testnet/src/lib.rs#L554
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/lib.rs#L554
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/testnet/src/lib.rs#L554
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/devnet/src/lib.rs#L542
warning: missing documentation for an associated function
--> runtime/devnet/src/lib.rs:542:1
|
542 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/devnet/src/lib.rs#L542
warning: missing documentation for a type alias
--> runtime/devnet/src/lib.rs:542:1
|
542 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/devnet/src/lib.rs#L542
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:542:1
|
542 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/testnet/src/lib.rs#L554
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/testnet/src/lib.rs#L554
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L554
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:489:1
|
489 | / parameter_types! {
490 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
491 | | RuntimeBlockWeights::get().max_block;
492 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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)
|
missing documentation for a variant:
runtime/devnet/src/lib.rs#L542
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:542:1
|
542 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/devnet/src/lib.rs#L542
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:542:1
|
542 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/devnet/src/lib.rs#L542
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:542:1
|
542 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
519 | | pub const DepositBase: Balance = deposit(1, 88);
520 | | // Additional storage item size of 32 bytes.
521 | | pub const DepositFactor: Balance = deposit(0, 32);
522 | | pub const MaxSignatories: u32 = 100;
523 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
519 | | pub const DepositBase: Balance = deposit(1, 88);
520 | | // Additional storage item size of 32 bytes.
521 | | pub const DepositFactor: Balance = deposit(0, 32);
522 | | pub const MaxSignatories: u32 = 100;
523 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
519 | | pub const DepositBase: Balance = deposit(1, 88);
520 | | // Additional storage item size of 32 bytes.
521 | | pub const DepositFactor: Balance = deposit(0, 32);
522 | | pub const MaxSignatories: u32 = 100;
523 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:498:1
|
498 | / parameter_types! {
499 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
500 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
501 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
502 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:433:1
|
433 | / parameter_types! {
434 | | pub const Period: u32 = 6 * HOURS;
435 | | pub const Offset: u32 = 0;
436 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:433:1
|
433 | / parameter_types! {
434 | | pub const Period: u32 = 6 * HOURS;
435 | | pub const Offset: u32 = 0;
436 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:498:1
|
498 | / parameter_types! {
499 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
500 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
501 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
502 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:382:1
|
382 | / parameter_types! {
383 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
384 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:498:1
|
498 | / parameter_types! {
499 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
500 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
501 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
502 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:477:1
|
477 | / parameter_types! {
478 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
479 | | RuntimeBlockWeights::get().max_block;
480 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:448:1
|
448 | / parameter_types! {
449 | | pub const PotId: PalletId = PalletId(*b"PotStake");
450 | | pub const SessionLength: BlockNumber = 6 * HOURS;
451 | | // StakingAdmin pluralistic body.
452 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
453 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:311:1
|
311 | / parameter_types! {
312 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
313 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:448:1
|
448 | / parameter_types! {
449 | | pub const PotId: PalletId = PalletId(*b"PotStake");
450 | | pub const SessionLength: BlockNumber = 6 * HOURS;
451 | | // StakingAdmin pluralistic body.
452 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
453 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:448:1
|
448 | / parameter_types! {
449 | | pub const PotId: PalletId = PalletId(*b"PotStake");
450 | | pub const SessionLength: BlockNumber = 6 * HOURS;
451 | | // StakingAdmin pluralistic body.
452 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
453 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:421:1
|
421 | / parameter_types! {
422 | | pub const Period: u32 = 6 * HOURS;
423 | | pub const Offset: u32 = 0;
424 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:421:1
|
421 | / parameter_types! {
422 | | pub const Period: u32 = 6 * HOURS;
423 | | pub const Offset: u32 = 0;
424 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/testnet/src/lib.rs#L179
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:179:1
|
179 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:375:1
|
375 | / parameter_types! {
376 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
377 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:172:1
|
172 | / impl_opaque_keys! {
173 | | pub struct SessionKeys {
174 | | pub aura: Aura,
175 | | }
176 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:346:1
|
346 | / parameter_types! {
347 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
349 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
350 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:172:1
|
172 | / impl_opaque_keys! {
173 | | pub struct SessionKeys {
174 | | pub aura: Aura,
175 | | }
176 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-f765a8478086e41e/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-f765a8478086e41e/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:346:1
|
346 | / parameter_types! {
347 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
349 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
350 | | }
| |_^
|
= 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)
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-f765a8478086e41e/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-f765a8478086e41e/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:346:1
|
346 | / parameter_types! {
347 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
349 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
350 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:304:1
|
304 | / parameter_types! {
305 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
306 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:202:1
|
202 | / parameter_types! {
203 | | pub const Version: RuntimeVersion = VERSION;
204 | |
205 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
229 | | pub const SS58Prefix: u16 = 42;
230 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:202:1
|
202 | / parameter_types! {
203 | | pub const Version: RuntimeVersion = VERSION;
204 | |
205 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
229 | | pub const SS58Prefix: u16 = 42;
230 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:202:1
|
202 | / parameter_types! {
203 | | pub const Version: RuntimeVersion = VERSION;
204 | |
205 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
229 | | pub const SS58Prefix: u16 = 42;
230 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:202:1
|
202 | / parameter_types! {
203 | | pub const Version: RuntimeVersion = VERSION;
204 | |
205 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
229 | | pub const SS58Prefix: u16 = 42;
230 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/devnet/src/lib.rs#L172
warning: missing documentation for a constant
--> runtime/devnet/src/lib.rs:172:1
|
172 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:165:1
|
165 | / impl_opaque_keys! {
166 | | pub struct SessionKeys {
167 | | pub aura: Aura,
168 | | }
169 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:165:1
|
165 | / impl_opaque_keys! {
166 | | pub struct SessionKeys {
167 | | pub aura: Aura,
168 | | }
169 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/devnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/devnet/src/lib.rs:10:1
|
10 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-df3ad23dd784e0c6/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-df3ad23dd784e0c6/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-df3ad23dd784e0c6/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-df3ad23dd784e0c6/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
this match could be replaced by its body itself:
runtime/devnet/src/extensions.rs#L182
warning: this match could be replaced by its body itself
--> runtime/devnet/src/extensions.rs:182:15
|
182 | let result = match key {
| __________________^
183 | | _ => Vec::<u8>::default(),
184 | | }
| |_____^ help: consider using the match body instead: `Vec::<u8>::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
= note: `#[warn(clippy::match_single_binding)]` on by default
|
this match could be replaced by its body itself:
runtime/testnet/src/extensions.rs#L182
warning: this match could be replaced by its body itself
--> runtime/testnet/src/extensions.rs:182:15
|
182 | let result = match key {
| __________________^
183 | | _ => Vec::<u8>::default(),
184 | | }
| |_____^ help: consider using the match body instead: `Vec::<u8>::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
= note: `#[warn(clippy::match_single_binding)]` on by default
|
bound is defined in more than one place:
runtime/devnet/src/extensions.rs#L34
warning: bound is defined in more than one place
--> runtime/devnet/src/extensions.rs:34:10
|
34 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
| ^
35 | where
36 | 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
|
bound is defined in more than one place:
runtime/testnet/src/extensions.rs#L34
warning: bound is defined in more than one place
--> runtime/testnet/src/extensions.rs:34:10
|
34 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
| ^
35 | where
36 | 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
|
missing documentation for the crate:
integration-tests/src/lib.rs#L1
warning: missing documentation for the crate
--> integration-tests/src/lib.rs:1:1
|
1 | / #![cfg(test)]
2 | |
3 | | use asset_hub_paseo_runtime::xcm_config::XcmConfig as AssetHubPaseoXcmConfig;
4 | | use asset_test_utils::xcm_helpers;
... |
597 | | });
598 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L125
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:125:3
|
125 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a function:
runtime/common/src/lib.rs#L52
warning: missing documentation for a function
--> runtime/common/src/lib.rs:52:1
|
52 | pub const fn deposit(items: u32, bytes: u32) -> Balance {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L49
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:49:1
|
49 | pub const MICROUNIT: Balance = UNIT / 1_000_000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L48
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:48:1
|
48 | pub const MILLIUNIT: Balance = UNIT / 1_000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L46
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:46:1
|
46 | pub const UNIT: Balance = 10_000_000_000; // 10 decimals
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L31
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:31:1
|
31 | pub const DAYS: BlockNumber = HOURS * 24;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L30
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:30:1
|
30 | pub const HOURS: BlockNumber = MINUTES * 60;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L29
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:29:1
|
29 | pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L22
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:22:1
|
22 | pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/common/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/common/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight};
3 | | // Cumulus types re-export
4 | | // These types are shared between the devnet and testnet runtimes
... |
136 | | }
137 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
node/build.rs#L1
warning: missing documentation for the crate
--> node/build.rs:1:1
|
1 | / use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
2 | |
3 | | fn main() {
4 | | generate_cargo_keys();
5 | |
6 | | rerun_if_git_head_changed();
7 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a variant:
primitives/src/storage_keys.rs#L25
warning: missing documentation for a variant
--> primitives/src/storage_keys.rs:25:2
|
25 | Item(CollectionId, ItemId),
| ^^^^
|
missing documentation for a variant:
primitives/src/storage_keys.rs#L21
warning: missing documentation for a variant
--> primitives/src/storage_keys.rs:21:2
|
21 | Collection(CollectionId),
| ^^^^^^^^^^
|
missing documentation for an enum:
primitives/src/storage_keys.rs#L19
warning: missing documentation for an enum
--> primitives/src/storage_keys.rs:19:1
|
19 | pub enum NftsKeys {
| ^^^^^^^^^^^^^^^^^
|
missing documentation for an enum:
primitives/src/storage_keys.rs#L12
warning: missing documentation for an enum
--> primitives/src/storage_keys.rs:12:1
|
12 | pub enum ParachainSystemKeys {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
primitives/src/storage_keys.rs#L8
warning: missing documentation for a variant
--> primitives/src/storage_keys.rs:8:2
|
8 | ParachainSystem(ParachainSystemKeys),
| ^^^^^^^^^^^^^^^
|
missing documentation for a variant:
primitives/src/storage_keys.rs#L7
warning: missing documentation for a variant
--> primitives/src/storage_keys.rs:7:2
|
7 | Nfts(NftsKeys),
| ^^^^
|
missing documentation for an enum:
primitives/src/storage_keys.rs#L6
warning: missing documentation for an enum
--> primitives/src/storage_keys.rs:6:1
|
6 | pub enum RuntimeStateKeys {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
primitives/src/cross_chain.rs#L18
warning: missing documentation for a struct field
--> primitives/src/cross_chain.rs:18:42
|
18 | PlaceOrderKeepAlive { max_amount: u128, para_id: u32 },
| ^^^^^^^^^^^^
|
missing documentation for a variant:
primitives/src/cross_chain.rs#L18
warning: missing documentation for a variant
--> primitives/src/cross_chain.rs:18:2
|
18 | PlaceOrderKeepAlive { max_amount: u128, para_id: u32 },
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for an enum:
primitives/src/cross_chain.rs#L16
warning: missing documentation for an enum
--> primitives/src/cross_chain.rs:16:1
|
16 | pub enum OnDemand {
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
primitives/src/cross_chain.rs#L12
warning: missing documentation for a variant
--> primitives/src/cross_chain.rs:12:2
|
12 | OnDemand(OnDemand),
| ^^^^^^^^
|
missing documentation for an enum:
primitives/src/cross_chain.rs#L9
warning: missing documentation for an enum
--> primitives/src/cross_chain.rs:9:1
|
9 | pub enum RelayChainMessage {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
primitives/src/cross_chain.rs#L5
warning: missing documentation for a variant
--> primitives/src/cross_chain.rs:5:2
|
5 | Relay(RelayChainMessage),
| ^^^^^
|
missing documentation for an enum:
primitives/src/cross_chain.rs#L4
warning: missing documentation for an enum
--> primitives/src/cross_chain.rs:4:1
|
4 | pub enum CrossChainMessage {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
primitives/src/lib.rs#L15
warning: missing documentation for a type alias
--> primitives/src/lib.rs:15:1
|
15 | pub type ItemId = u32;
| ^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
primitives/src/lib.rs#L13
warning: missing documentation for a type alias
--> primitives/src/lib.rs:13:1
|
13 | pub type CollectionId = u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
primitives/src/lib.rs#L7
warning: missing documentation for a module
--> primitives/src/lib.rs:7:1
|
7 | pub mod storage_keys;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
primitives/src/lib.rs#L6
warning: missing documentation for a module
--> primitives/src/lib.rs:6:1
|
6 | pub mod cross_chain;
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
primitives/src/lib.rs#L1
warning: missing documentation for the crate
--> primitives/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std, no_main)]
2 | |
3 | | pub use bounded_collections::{BoundedBTreeMap, BoundedBTreeSet, BoundedVec, ConstU32};
4 | | // use scale::{Decode, Encode, MaxEncodedLen};
... |
18 | | /// The maximum approvals an item could have.
19 | | pub type ApprovalsLimit = ConstU32<20>;
| |_______________________________________^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
runtime/devnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/devnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("PAS", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
runtime/testnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/testnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("PAS", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|