feat(mainnet): include xcm benchmarks #3039
lint-pr.yml
on: pull_request_target
Validate PR title for conventional commit compliance
2s
Annotations
514 warnings
missing documentation for the crate:
pop-api/integration-tests/src/lib.rs#L1
warning: missing documentation for the crate
--> pop-api/integration-tests/src/lib.rs:1:1
|
1 | / #![cfg(test)]
2 | |
3 | | use codec::{Decode, Encode};
4 | | use frame_support::{
... |
92 | | result.account_id
93 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
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 592 bytes
... |
43 | | Key(sc_cli::KeySubcommand),
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(Box<frame_benchmarking_cli::BenchmarkCmd>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
field `backend` is never read:
node/src/rpc.rs#L31
warning: field `backend` is never read
--> node/src/rpc.rs:31:6
|
25 | pub struct FullDeps<C, P, B> {
| -------- field in this struct
...
31 | pub backend: Arc<B>,
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L148
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:148:1
|
148 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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)]);
... |
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 type alias:
runtime/devnet/src/config/assets.rs#L125
warning: missing documentation for a type alias
--> runtime/devnet/src/config/assets.rs:125:1
|
125 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:98:1
|
98 | / parameter_types! {
99 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:98:1
|
98 | / parameter_types! {
99 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:98:1
|
98 | / parameter_types! {
99 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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#L8
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:8:1
|
8 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L1015
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:1015:4
|
997 | / fn dispatch_benchmark(
998 | | config: frame_benchmarking::BenchmarkConfig
999 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
1015 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L1003
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:1003:4
|
997 | / fn dispatch_benchmark(
998 | | config: frame_benchmarking::BenchmarkConfig
999 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
1003 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/devnet/src/lib.rs#L561
warning: missing documentation for an associated function
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for a type alias
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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/devnet/src/lib.rs#L561
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:536:1
|
536 | / parameter_types! {
537 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
538 | | pub const DepositBase: Balance = deposit(1, 88);
... |
541 | | pub const MaxSignatories: u32 = 100;
542 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:536:1
|
536 | / parameter_types! {
537 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
538 | | pub const DepositBase: Balance = deposit(1, 88);
... |
541 | | pub const MaxSignatories: u32 = 100;
542 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:536:1
|
536 | / parameter_types! {
537 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
538 | | pub const DepositBase: Balance = deposit(1, 88);
... |
541 | | pub const MaxSignatories: u32 = 100;
542 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
519 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
520 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
521 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
519 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
520 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
521 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
519 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
520 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
521 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:496:1
|
496 | / parameter_types! {
497 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
498 | | RuntimeBlockWeights::get().max_block;
499 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const PotId: PalletId = PalletId(*b"PotStake");
469 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
472 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const PotId: PalletId = PalletId(*b"PotStake");
469 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
472 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const PotId: PalletId = PalletId(*b"PotStake");
469 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
472 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:439:1
|
439 | / parameter_types! {
440 | | pub const Period: u32 = 6 * HOURS;
441 | | pub const Offset: u32 = 0;
442 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:439:1
|
439 | / parameter_types! {
440 | | pub const Period: u32 = 6 * HOURS;
441 | | pub const Offset: u32 = 0;
442 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:393:1
|
393 | / parameter_types! {
394 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
395 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:362:1
|
362 | / parameter_types! {
363 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
364 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
365 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
366 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:362:1
|
362 | / parameter_types! {
363 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
364 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
365 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
366 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:362:1
|
362 | / parameter_types! {
363 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
364 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
365 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
366 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:318:1
|
318 | / parameter_types! {
319 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
320 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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#L191
warning: missing documentation for a constant
--> runtime/devnet/src/lib.rs:191:1
|
191 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:184:1
|
184 | / impl_opaque_keys! {
185 | | pub struct SessionKeys {
186 | | pub aura: Aura,
187 | | }
188 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:184:1
|
184 | / impl_opaque_keys! {
185 | | pub struct SessionKeys {
186 | | pub aura: Aura,
187 | | }
188 | | }
| |_^
|
= 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-ad967e03db29d859/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs:1:93
|
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-ad967e03db29d859/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L148
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:148:1
|
148 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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 type alias:
runtime/testnet/src/config/assets.rs#L106
warning: missing documentation for a type alias
--> runtime/testnet/src/config/assets.rs:106:1
|
106 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/testnet/src/config/mod.rs#L7
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:7:1
|
7 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L690
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:690:1
|
690 | / impl_runtime_apis! {
691 | |
692 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
693 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1037 | | }
| |_^
|
= 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#L690
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:690:1
|
690 | / impl_runtime_apis! {
691 | |
692 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
693 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1037 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L1010
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:1010:4
|
992 | / fn dispatch_benchmark(
993 | | config: frame_benchmarking::BenchmarkConfig
994 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
1010 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L998
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:998:4
|
992 | / fn dispatch_benchmark(
993 | | config: frame_benchmarking::BenchmarkConfig
994 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
998 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/testnet/src/lib.rs#L564
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:539:1
|
539 | / parameter_types! {
540 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
541 | | pub const DepositBase: Balance = deposit(1, 88);
... |
544 | | pub const MaxSignatories: u32 = 100;
545 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:539:1
|
539 | / parameter_types! {
540 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
541 | | pub const DepositBase: Balance = deposit(1, 88);
... |
544 | | pub const MaxSignatories: u32 = 100;
545 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:539:1
|
539 | / parameter_types! {
540 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
541 | | pub const DepositBase: Balance = deposit(1, 88);
... |
544 | | pub const MaxSignatories: u32 = 100;
545 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:520:1
|
520 | / parameter_types! {
521 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
522 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
523 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
524 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:520:1
|
520 | / parameter_types! {
521 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
522 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
523 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
524 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:520:1
|
520 | / parameter_types! {
521 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
522 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
523 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
524 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:499:1
|
499 | / parameter_types! {
500 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
501 | | RuntimeBlockWeights::get().max_block;
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:470:1
|
470 | / parameter_types! {
471 | | pub const PotId: PalletId = PalletId(*b"PotStake");
472 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
475 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:470:1
|
470 | / parameter_types! {
471 | | pub const PotId: PalletId = PalletId(*b"PotStake");
472 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
475 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:470:1
|
470 | / parameter_types! {
471 | | pub const PotId: PalletId = PalletId(*b"PotStake");
472 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
475 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:442:1
|
442 | / parameter_types! {
443 | | pub const Period: u32 = 6 * HOURS;
444 | | pub const Offset: u32 = 0;
445 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:442:1
|
442 | / parameter_types! {
443 | | pub const Period: u32 = 6 * HOURS;
444 | | pub const Offset: u32 = 0;
445 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:391:1
|
391 | / parameter_types! {
392 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
393 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:360:1
|
360 | / parameter_types! {
361 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
362 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
363 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
364 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:360:1
|
360 | / parameter_types! {
361 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
362 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
363 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
364 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:360:1
|
360 | / parameter_types! {
361 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
362 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
363 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
364 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:316:1
|
316 | / parameter_types! {
317 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
318 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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#L189
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:189:1
|
189 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:182:1
|
182 | / impl_opaque_keys! {
183 | | pub struct SessionKeys {
184 | | pub aura: Aura,
185 | | }
186 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:182:1
|
182 | / impl_opaque_keys! {
183 | | pub struct SessionKeys {
184 | | pub aura: Aura,
185 | | }
186 | | }
| |_^
|
= 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/testnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/testnet/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-testnet-efbc67e40a527481/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs:1:93
|
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-testnet-efbc67e40a527481/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
54 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/mainnet/src/config/governance.rs#L43
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/governance.rs:43:1
|
43 | pub type CouncilCollective = pallet_collective::Instance1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L285
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:285:4
|
264 | / fn dispatch_benchmark(
265 | | config: frame_benchmarking::BenchmarkConfig
266 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
285 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L273
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:273:4
|
264 | / fn dispatch_benchmark(
265 | | config: frame_benchmarking::BenchmarkConfig
266 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
273 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/mainnet/src/lib.rs#L195
warning: missing documentation for an associated function
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a type alias
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a variant
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for an enum
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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 constant:
runtime/mainnet/src/lib.rs#L177
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:177:1
|
177 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:170:1
|
170 | / impl_opaque_keys! {
171 | | pub struct SessionKeys {
172 | | pub aura: Aura,
173 | | }
174 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:170:1
|
170 | / impl_opaque_keys! {
171 | | pub struct SessionKeys {
172 | | pub aura: Aura,
173 | | }
174 | | }
| |_^
|
= 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/mainnet/src/lib.rs#L14
warning: missing documentation for a module
--> runtime/mainnet/src/lib.rs:14:1
|
14 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:93
|
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-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/mainnet/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
3 | | #![recursion_limit = "256"]
... |
368 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
casting to the same type is unnecessary (`u64` -> `u64`):
runtime/mainnet/src/weights/xcm/mod.rs#L32
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> runtime/mainnet/src/weights/xcm/mod.rs:32:60
|
32 | WildFungibility::NonFungible => weight.saturating_mul((MAX_ASSETS * 2) as u64),
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(MAX_ASSETS * 2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
this operation has no effect:
runtime/mainnet/src/benchmarks.rs#L247
warning: this operation has no effect
--> runtime/mainnet/src/benchmarks.rs:247:58
|
247 | Asset { id: AssetId(Location::parent()), fun: Fungible(1 * UNIT) }
| ^^^^^^^^ help: consider reducing it to: `UNIT`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
|
this operation has no effect:
runtime/mainnet/src/benchmarks.rs#L237
warning: this operation has no effect
--> runtime/mainnet/src/benchmarks.rs:237:28
|
237 | Asset { fun: Fungible(1 * UNIT), id: AssetId(Location::parent()) },
| ^^^^^^^^ help: consider reducing it to: `UNIT`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
|
this operation has no effect:
runtime/mainnet/src/benchmarks.rs#L232
warning: this operation has no effect
--> runtime/mainnet/src/benchmarks.rs:232:61
|
232 | pub RelayAsset: Asset = Asset::from((RelayLocation::get(), 1 * UNIT));
| ^^^^^^^^ help: consider reducing it to: `UNIT`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
= note: `#[warn(clippy::identity_op)]` on by default
|
useless conversion to the same type: `cumulus_primitives_core::ParaId`:
runtime/mainnet/src/benchmarks.rs#L121
warning: useless conversion to the same type: `cumulus_primitives_core::ParaId`
--> runtime/mainnet/src/benchmarks.rs:121:71
|
121 | ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(ParaId::from(
| _____________________________________________________________________________^
122 | | AssetHubParaId::get(),
123 | | ));
| |_________^ help: consider removing `ParaId::from()`: `AssetHubParaId::get()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
missing documentation for a module:
pallets/api/src/lib.rs#L6
warning: missing documentation for a module
--> pallets/api/src/lib.rs:6:1
|
6 | pub mod extension;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
pallets/api/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/api/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | pub use extension::Extension;
4 | | use frame_support::pallet_prelude::Weight;
... |
30 | | fn read(request: Self::Read) -> Self::Result;
31 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L233
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:233:17
|
233 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L233
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:233:17
|
233 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L160
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:160:17
|
160 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L160
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:160:17
|
160 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
unneeded unit expression:
runtime/mainnet/src/config/monetary.rs#L184
warning: unneeded unit expression
--> runtime/mainnet/src/config/monetary.rs:184:3
|
184 | ()
| ^^ help: remove the final `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
|
unneeded unit return type:
runtime/mainnet/src/config/monetary.rs#L183
warning: unneeded unit return type
--> runtime/mainnet/src/config/monetary.rs:183:34
|
183 | fn create_asset_kind(_seed: u32) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L560
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:560:1
|
560 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L542
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:542:1
|
542 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L534
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:534:2
|
534 | pub fn max_roles() -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L530
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:530:2
|
530 | pub fn add_role(&mut self, role: CollectionRole) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L526
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:526:2
|
526 | pub fn has_role(&self, role: CollectionRole) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L522
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:522:2
|
522 | pub fn none() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L498
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:498:2
|
498 | pub fn is_enabled(&self, feature: PalletFeature) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L494
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:494:2
|
494 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L490
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:490:2
|
490 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L465
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:465:2
|
465 | pub fn disable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L461
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:461:2
|
461 | pub fn enable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L457
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:457:2
|
457 | pub fn has_disabled_settings(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L453
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:453:2
|
453 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L449
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:449:2
|
449 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L432
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:432:2
|
432 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L428
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:428:2
|
428 | pub fn is_disabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L424
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:424:2
|
424 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L420
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:420:2
|
420 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L397
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:397:2
|
397 | pub fn disable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L393
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:393:2
|
393 | pub fn enable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L389
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:389:2
|
389 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L385
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:385:2
|
385 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L293
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:293:2
|
293 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L289
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:289:2
|
289 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L285
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:285:2
|
285 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L281
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:281:2
|
281 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L129
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:129:2
|
129 | pub fn destroy_witness(&self) -> DestroyWitness {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
missing documentation for the crate:
pallets/motion/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/motion/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | #[cfg(test)]
4 | | mod mock;
... |
170 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L121
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:121:24
|
121 | pub fn super_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L121
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:121:24
|
121 | pub fn super_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
missing documentation for the crate:
pop-api/integration-tests/build.rs#L1
warning: missing documentation for the crate
--> pop-api/integration-tests/build.rs:1:1
|
1 | / use std::{
2 | | fs,
3 | | path::{Path, PathBuf},
4 | | process,
... |
57 | | execute(args).map_err(|e| format!("Build failed for {}: {}", contract_dir.display(), e))
58 | | }
| |_^
|
= 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 the crate:
runtime/mainnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/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("DOT", 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/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 a type alias:
extension/src/lib.rs#L38
warning: missing documentation for a type alias
--> extension/src/lib.rs:38:1
|
38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
extension/src/lib.rs#L1
warning: missing documentation for the crate
--> extension/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | use core::marker::PhantomData;
... |
230 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L139
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:139:3
|
139 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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};
... |
204 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
very complex type used. Consider factoring parts into `type` definitions:
extension/src/functions.rs#L83
warning: very complex type used. Consider factoring parts into `type` definitions
--> extension/src/functions.rs:83:2
|
83 | PhantomData<(M, C, R, D, F, RC, E, L)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
the following explicit lifetimes could be elided: 'a:
extension/src/environment.rs#L185
warning: the following explicit lifetimes could be elided: 'a
--> extension/src/environment.rs:185:6
|
185 | impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
185 - impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
185 + impl<E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'_, E> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L145
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:145:6
|
145 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufOut
| ^^ ^^
146 | for Env<'a, 'b, E, BufInBufOutState>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
145 ~ impl<E: pallet_contracts::chain_extension::Ext> BufOut
146 ~ for Env<'_, '_, E, BufInBufOutState>
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L114
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:114:6
|
114 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
114 - impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
114 + impl<E: pallet_contracts::chain_extension::Ext> BufIn for Env<'_, '_, E, BufInBufOutState> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L63
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:63:6
|
63 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext, S: State> Environment
| ^^ ^^
64 | for Env<'a, 'b, E, S>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
63 ~ impl<E: pallet_contracts::chain_extension::Ext, S: State> Environment
64 ~ for Env<'_, '_, E, S>
|
|
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`
|
missing documentation for the crate:
pop-api/integration-tests/src/lib.rs#L1
warning: missing documentation for the crate
--> pop-api/integration-tests/src/lib.rs:1:1
|
1 | / #![cfg(test)]
2 | |
3 | | use codec::{Decode, Encode};
4 | | use frame_support::{
... |
92 | | result.account_id
93 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
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 592 bytes
... |
43 | | Key(sc_cli::KeySubcommand),
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(Box<frame_benchmarking_cli::BenchmarkCmd>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L148
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:148:1
|
148 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
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)]);
... |
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 type alias:
runtime/devnet/src/config/assets.rs#L125
warning: missing documentation for a type alias
--> runtime/devnet/src/config/assets.rs:125:1
|
125 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:98:1
|
98 | / parameter_types! {
99 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:98:1
|
98 | / parameter_types! {
99 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:98:1
|
98 | / parameter_types! {
99 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:31:1
|
31 | / parameter_types! {
32 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
42 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= 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#L8
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:8:1
|
8 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/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)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
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)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
54 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/mainnet/src/config/governance.rs#L43
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/governance.rs:43:1
|
43 | pub type CouncilCollective = pallet_collective::Instance1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L1015
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:1015:4
|
997 | / fn dispatch_benchmark(
998 | | config: frame_benchmarking::BenchmarkConfig
999 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
1015 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L1003
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:1003:4
|
997 | / fn dispatch_benchmark(
998 | | config: frame_benchmarking::BenchmarkConfig
999 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
1003 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/devnet/src/lib.rs#L561
warning: missing documentation for an associated function
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L285
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:285:4
|
264 | / fn dispatch_benchmark(
265 | | config: frame_benchmarking::BenchmarkConfig
266 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
285 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L273
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:273:4
|
264 | / fn dispatch_benchmark(
265 | | config: frame_benchmarking::BenchmarkConfig
266 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
273 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for a type alias:
runtime/devnet/src/lib.rs#L561
warning: missing documentation for a type alias
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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/devnet/src/lib.rs#L561
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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#L561
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:561:1
|
561 | #[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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:536:1
|
536 | / parameter_types! {
537 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
538 | | pub const DepositBase: Balance = deposit(1, 88);
... |
541 | | pub const MaxSignatories: u32 = 100;
542 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:536:1
|
536 | / parameter_types! {
537 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
538 | | pub const DepositBase: Balance = deposit(1, 88);
... |
541 | | pub const MaxSignatories: u32 = 100;
542 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:536:1
|
536 | / parameter_types! {
537 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
538 | | pub const DepositBase: Balance = deposit(1, 88);
... |
541 | | pub const MaxSignatories: u32 = 100;
542 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
519 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
520 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
521 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
519 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
520 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
521 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:517:1
|
517 | / parameter_types! {
518 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
519 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
520 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
521 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:496:1
|
496 | / parameter_types! {
497 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
498 | | RuntimeBlockWeights::get().max_block;
499 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const PotId: PalletId = PalletId(*b"PotStake");
469 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
472 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const PotId: PalletId = PalletId(*b"PotStake");
469 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
472 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const PotId: PalletId = PalletId(*b"PotStake");
469 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
472 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:439:1
|
439 | / parameter_types! {
440 | | pub const Period: u32 = 6 * HOURS;
441 | | pub const Offset: u32 = 0;
442 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:439:1
|
439 | / parameter_types! {
440 | | pub const Period: u32 = 6 * HOURS;
441 | | pub const Offset: u32 = 0;
442 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:393:1
|
393 | / parameter_types! {
394 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
395 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:362:1
|
362 | / parameter_types! {
363 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
364 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
365 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
366 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:362:1
|
362 | / parameter_types! {
363 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
364 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
365 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
366 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:362:1
|
362 | / parameter_types! {
363 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
364 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
365 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
366 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:318:1
|
318 | / parameter_types! {
319 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
320 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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 an associated function:
runtime/mainnet/src/lib.rs#L195
warning: missing documentation for an associated function
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a type alias
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:221:1
|
221 | / parameter_types! {
222 | | pub const Version: RuntimeVersion = VERSION;
... |
248 | | pub const SS58Prefix: u16 = 42;
249 | | }
| |_^
|
= 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#L191
warning: missing documentation for a constant
--> runtime/devnet/src/lib.rs:191:1
|
191 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:184:1
|
184 | / impl_opaque_keys! {
185 | | pub struct SessionKeys {
186 | | pub aura: Aura,
187 | | }
188 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:184:1
|
184 | / impl_opaque_keys! {
185 | | pub struct SessionKeys {
186 | | pub aura: Aura,
187 | | }
188 | | }
| |_^
|
= 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-ad967e03db29d859/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs:1:93
|
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-ad967e03db29d859/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-ad967e03db29d859/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
runtime/mainnet/src/lib.rs#L195
warning: missing documentation for a variant
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for an enum
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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/mainnet/src/lib.rs#L195
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:195:1
|
195 | #[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 constant:
runtime/mainnet/src/lib.rs#L177
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:177:1
|
177 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:170:1
|
170 | / impl_opaque_keys! {
171 | | pub struct SessionKeys {
172 | | pub aura: Aura,
173 | | }
174 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:170:1
|
170 | / impl_opaque_keys! {
171 | | pub struct SessionKeys {
172 | | pub aura: Aura,
173 | | }
174 | | }
| |_^
|
= 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/mainnet/src/lib.rs#L14
warning: missing documentation for a module
--> runtime/mainnet/src/lib.rs:14:1
|
14 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:93
|
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-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/mainnet/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
3 | | #![recursion_limit = "256"]
... |
368 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a function:
runtime/testnet/src/lib.rs#L690
warning: missing documentation for a function
--> runtime/testnet/src/lib.rs:690:1
|
690 | / impl_runtime_apis! {
691 | |
692 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
693 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1037 | | }
| |_^
|
= 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/config/xcm.rs#L148
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:148:1
|
148 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/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)]);
... |
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 type alias:
runtime/testnet/src/config/assets.rs#L106
warning: missing documentation for a type alias
--> runtime/testnet/src/config/assets.rs:106:1
|
106 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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/testnet/src/config/mod.rs#L7
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:7:1
|
7 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L690
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:690:1
|
690 | / impl_runtime_apis! {
691 | |
692 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
693 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1037 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L1010
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:1010:4
|
992 | / fn dispatch_benchmark(
993 | | config: frame_benchmarking::BenchmarkConfig
994 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
1010 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L998
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:998:4
|
992 | / fn dispatch_benchmark(
993 | | config: frame_benchmarking::BenchmarkConfig
994 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
998 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L690
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:690:1
|
690 | / impl_runtime_apis! {
691 | |
692 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
693 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1037 | | }
| |_^
|
= 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#L564
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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#L564
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:564:1
|
564 | #[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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:539:1
|
539 | / parameter_types! {
540 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
541 | | pub const DepositBase: Balance = deposit(1, 88);
... |
544 | | pub const MaxSignatories: u32 = 100;
545 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:539:1
|
539 | / parameter_types! {
540 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
541 | | pub const DepositBase: Balance = deposit(1, 88);
... |
544 | | pub const MaxSignatories: u32 = 100;
545 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:539:1
|
539 | / parameter_types! {
540 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
541 | | pub const DepositBase: Balance = deposit(1, 88);
... |
544 | | pub const MaxSignatories: u32 = 100;
545 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:520:1
|
520 | / parameter_types! {
521 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
522 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
523 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
524 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:520:1
|
520 | / parameter_types! {
521 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
522 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
523 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
524 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:520:1
|
520 | / parameter_types! {
521 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
522 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
523 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
524 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:499:1
|
499 | / parameter_types! {
500 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
501 | | RuntimeBlockWeights::get().max_block;
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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:470:1
|
470 | / parameter_types! {
471 | | pub const PotId: PalletId = PalletId(*b"PotStake");
472 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
475 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:470:1
|
470 | / parameter_types! {
471 | | pub const PotId: PalletId = PalletId(*b"PotStake");
472 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
475 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:470:1
|
470 | / parameter_types! {
471 | | pub const PotId: PalletId = PalletId(*b"PotStake");
472 | | pub const SessionLength: BlockNumber = 6 * HOURS;
... |
475 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:442:1
|
442 | / parameter_types! {
443 | | pub const Period: u32 = 6 * HOURS;
444 | | pub const Offset: u32 = 0;
445 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:442:1
|
442 | / parameter_types! {
443 | | pub const Period: u32 = 6 * HOURS;
444 | | pub const Offset: u32 = 0;
445 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:391:1
|
391 | / parameter_types! {
392 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
393 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:360:1
|
360 | / parameter_types! {
361 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
362 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
363 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
364 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:360:1
|
360 | / parameter_types! {
361 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
362 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
363 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
364 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:360:1
|
360 | / parameter_types! {
361 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
362 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
363 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
364 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:316:1
|
316 | / parameter_types! {
317 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
318 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:219:1
|
219 | / parameter_types! {
220 | | pub const Version: RuntimeVersion = VERSION;
... |
246 | | pub const SS58Prefix: u16 = 0;
247 | | }
| |_^
|
= 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#L189
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:189:1
|
189 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:182:1
|
182 | / impl_opaque_keys! {
183 | | pub struct SessionKeys {
184 | | pub aura: Aura,
185 | | }
186 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:182:1
|
182 | / impl_opaque_keys! {
183 | | pub struct SessionKeys {
184 | | pub aura: Aura,
185 | | }
186 | | }
| |_^
|
= 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/testnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/testnet/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-testnet-efbc67e40a527481/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs:1:93
|
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-testnet-efbc67e40a527481/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-efbc67e40a527481/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
casting to the same type is unnecessary (`u64` -> `u64`):
runtime/mainnet/src/weights/xcm/mod.rs#L32
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> runtime/mainnet/src/weights/xcm/mod.rs:32:60
|
32 | WildFungibility::NonFungible => weight.saturating_mul((MAX_ASSETS * 2) as u64),
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(MAX_ASSETS * 2)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
this operation has no effect:
runtime/mainnet/src/benchmarks.rs#L247
warning: this operation has no effect
--> runtime/mainnet/src/benchmarks.rs:247:58
|
247 | Asset { id: AssetId(Location::parent()), fun: Fungible(1 * UNIT) }
| ^^^^^^^^ help: consider reducing it to: `UNIT`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
|
this operation has no effect:
runtime/mainnet/src/benchmarks.rs#L237
warning: this operation has no effect
--> runtime/mainnet/src/benchmarks.rs:237:28
|
237 | Asset { fun: Fungible(1 * UNIT), id: AssetId(Location::parent()) },
| ^^^^^^^^ help: consider reducing it to: `UNIT`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
|
this operation has no effect:
runtime/mainnet/src/benchmarks.rs#L232
warning: this operation has no effect
--> runtime/mainnet/src/benchmarks.rs:232:61
|
232 | pub RelayAsset: Asset = Asset::from((RelayLocation::get(), 1 * UNIT));
| ^^^^^^^^ help: consider reducing it to: `UNIT`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
= note: `#[warn(clippy::identity_op)]` on by default
|
useless conversion to the same type: `cumulus_primitives_core::ParaId`:
runtime/mainnet/src/benchmarks.rs#L121
warning: useless conversion to the same type: `cumulus_primitives_core::ParaId`
--> runtime/mainnet/src/benchmarks.rs:121:71
|
121 | ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(ParaId::from(
| _____________________________________________________________________________^
122 | | AssetHubParaId::get(),
123 | | ));
| |_________^ help: consider removing `ParaId::from()`: `AssetHubParaId::get()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
unneeded unit expression:
runtime/mainnet/src/config/monetary.rs#L184
warning: unneeded unit expression
--> runtime/mainnet/src/config/monetary.rs:184:3
|
184 | ()
| ^^ help: remove the final `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
|
unneeded unit return type:
runtime/mainnet/src/config/monetary.rs#L183
warning: unneeded unit return type
--> runtime/mainnet/src/config/monetary.rs:183:34
|
183 | fn create_asset_kind(_seed: u32) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
missing documentation for the crate:
pop-api/integration-tests/build.rs#L1
warning: missing documentation for the crate
--> pop-api/integration-tests/build.rs:1:1
|
1 | / use std::{
2 | | fs,
3 | | path::{Path, PathBuf},
4 | | process,
... |
57 | | execute(args).map_err(|e| format!("Build failed for {}: {}", contract_dir.display(), e))
58 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
pallets/motion/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/motion/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | #[cfg(test)]
4 | | mod mock;
... |
170 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L121
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:121:24
|
121 | pub fn super_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L121
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:121:24
|
121 | pub fn super_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
missing documentation for a module:
pallets/api/src/lib.rs#L6
warning: missing documentation for a module
--> pallets/api/src/lib.rs:6:1
|
6 | pub mod extension;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
pallets/api/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/api/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | pub use extension::Extension;
4 | | use frame_support::pallet_prelude::Weight;
... |
30 | | fn read(request: Self::Read) -> Self::Result;
31 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L233
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:233:17
|
233 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L233
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:233:17
|
233 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L160
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:160:17
|
160 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L160
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:160:17
|
160 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L560
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:560:1
|
560 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L542
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:542:1
|
542 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L534
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:534:2
|
534 | pub fn max_roles() -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L530
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:530:2
|
530 | pub fn add_role(&mut self, role: CollectionRole) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L526
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:526:2
|
526 | pub fn has_role(&self, role: CollectionRole) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L522
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:522:2
|
522 | pub fn none() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L498
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:498:2
|
498 | pub fn is_enabled(&self, feature: PalletFeature) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L494
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:494:2
|
494 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L490
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:490:2
|
490 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L465
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:465:2
|
465 | pub fn disable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L461
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:461:2
|
461 | pub fn enable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L457
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:457:2
|
457 | pub fn has_disabled_settings(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L453
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:453:2
|
453 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L449
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:449:2
|
449 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L432
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:432:2
|
432 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L428
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:428:2
|
428 | pub fn is_disabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L424
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:424:2
|
424 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L420
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:420:2
|
420 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L397
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:397:2
|
397 | pub fn disable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L393
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:393:2
|
393 | pub fn enable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L389
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:389:2
|
389 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L385
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:385:2
|
385 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L293
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:293:2
|
293 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L289
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:289:2
|
289 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L285
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:285:2
|
285 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L281
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:281:2
|
281 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L129
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:129:2
|
129 | pub fn destroy_witness(&self) -> DestroyWitness {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
this `map_or` can be simplified:
pallets/nfts/src/features/roles.rs#L121
warning: this `map_or` can be simplified
--> pallets/nfts/src/features/roles.rs:121:3
|
121 | / CollectionRoleOf::<T, I>::get(collection_id, account_id)
122 | | .map_or(false, |roles| roles.has_role(role))
| |________________________________________________________^ help: use is_some_and instead: `CollectionRoleOf::<T, I>::get(collection_id, account_id).is_some_and(|roles| roles.has_role(role))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
|
this `map_or` can be simplified:
pallets/nfts/src/features/metadata.rs#L151
warning: this `map_or` can be simplified
--> pallets/nfts/src/features/metadata.rs:151:19
|
151 | let is_locked = Self::get_item_config(&collection, &item)
| _________________________^
152 | | .map_or(false, |c| c.has_disabled_setting(ItemSetting::UnlockedMetadata));
| |_____________________________________________________________________________________^ help: use is_ok_and instead: `Self::get_item_config(&collection, &item).is_ok_and(|c| c.has_disabled_setting(ItemSetting::UnlockedMetadata))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
|
missing documentation for the crate:
runtime/mainnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/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("DOT", 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`
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L139
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:139:3
|
139 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
extension/src/lib.rs#L38
warning: missing documentation for a type alias
--> extension/src/lib.rs:38:1
|
38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
extension/src/lib.rs#L1
warning: missing documentation for the crate
--> extension/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | use core::marker::PhantomData;
... |
230 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
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};
... |
204 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
very complex type used. Consider factoring parts into `type` definitions:
extension/src/functions.rs#L83
warning: very complex type used. Consider factoring parts into `type` definitions
--> extension/src/functions.rs:83:2
|
83 | PhantomData<(M, C, R, D, F, RC, E, L)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
the following explicit lifetimes could be elided: 'a:
extension/src/environment.rs#L185
warning: the following explicit lifetimes could be elided: 'a
--> extension/src/environment.rs:185:6
|
185 | impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
185 - impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
185 + impl<E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'_, E> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L145
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:145:6
|
145 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufOut
| ^^ ^^
146 | for Env<'a, 'b, E, BufInBufOutState>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
145 ~ impl<E: pallet_contracts::chain_extension::Ext> BufOut
146 ~ for Env<'_, '_, E, BufInBufOutState>
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L114
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:114:6
|
114 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
114 - impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
114 + impl<E: pallet_contracts::chain_extension::Ext> BufIn for Env<'_, '_, E, BufInBufOutState> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L63
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:63:6
|
63 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext, S: State> Environment
| ^^ ^^
64 | for Env<'a, 'b, E, S>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
63 ~ impl<E: pallet_contracts::chain_extension::Ext, S: State> Environment
64 ~ for Env<'_, '_, E, S>
|
|
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`
|