Skip to content
GitHub Actions / clippy failed Dec 19, 2024 in 3s

clippy

1 error, 241 warnings

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 95 in node/src/rpc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::Methods: std::convert::From<jsonrpsee_core::server::rpc_module::RpcModule<pallet_ismp_rpc::IsmpRpcHandler<C, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>, <B as sc_client_api::Backend<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>>>::OffchainStorage, B>>>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::Methods: std::convert::From<jsonrpsee_core::server::rpc_module::RpcModule<pallet_ismp_rpc::IsmpRpcHandler<C, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>, <B as sc_client_api::Backend<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>>>::OffchainStorage, B>>>` is not satisfied
   --> node/src/rpc.rs:95:15
    |
95  |     module.merge(IsmpRpcHandler::new(client, backend.clone())?.into_rpc())?;
    |            ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee_core::server::rpc_module::RpcModule<pallet_ismp_rpc::IsmpRpcHandler<C, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>, <B as sc_client_api::Backend<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>>>::OffchainStorage, B>>>` is not implemented for `jsonrpsee::Methods`, which is required by `jsonrpsee_core::server::rpc_module::RpcModule<pallet_ismp_rpc::IsmpRpcHandler<C, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>, <B as sc_client_api::Backend<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>>>::OffchainStorage, B>>: std::convert::Into<jsonrpsee::Methods>`
    |            |
    |            required by a bound introduced by this call
    |
    = note: the full name for the type has been written to '/home/runner/work/pop-node/pop-node/target/release/deps/pop_node-03b305cc8d316ef7.long-type-12253902669084173895.txt'
    = note: consider using `--verbose` to print the full type name to the console
    = help: the trait `std::convert::From<jsonrpsee::RpcModule<_>>` is implemented for `jsonrpsee::Methods`
    = help: for that trait implementation, expected `jsonrpsee::RpcModule<_>`, found `jsonrpsee_core::server::rpc_module::RpcModule<pallet_ismp_rpc::IsmpRpcHandler<C, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>, <B as sc_client_api::Backend<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, cumulus_primitives_core::relay_chain::BlakeTwo256>, sp_runtime::OpaqueExtrinsic>>>::OffchainStorage, B>>`
    = note: required for `RpcModule<IsmpRpcHandler<C, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, ..., ...>>` to implement `std::convert::Into<jsonrpsee::Methods>`
note: required by a bound in `jsonrpsee::Methods::merge`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/jsonrpsee-core-0.24.7/src/server/rpc_module.rs:254:38
    |
254 |     pub fn merge(&mut self, other: impl Into<Methods>) -> Result<(), RegisterMethodError> {
    |                                         ^^^^^^^^^^^^^ required by this bound in `Methods::merge`
    = note: the full name for the type has been written to '/home/runner/work/pop-node/pop-node/target/release/deps/pop_node-03b305cc8d316ef7.long-type-12253902669084173895.txt'
    = note: consider using `--verbose` to print the full type name to the console

Check warning on line 1030 in runtime/testnet/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a function

warning: missing documentation for a function
    --> runtime/testnet/src/lib.rs:683:1
     |
683  | / impl_runtime_apis! {
684  | |
685  | |     impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
686  | |         fn slot_duration() -> sp_consensus_aura::SlotDuration {
...    |
1029 | |     }
1030 | | }
     | |_^
     |
     = note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)

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

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

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

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

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

warning: missing documentation for a type alias
   --> runtime/testnet/src/config/xcm.rs:126:1
    |
126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
    | ^^^^^^^^^^^^^^^^^^^^^^^^

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

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

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

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

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

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

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs: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)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs: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)

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs: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)

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | |     // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | |     // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | |     // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | |     // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
31 | |     // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 100 in runtime/testnet/src/config/assets.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

warning: missing documentation for a type alias
   --> runtime/testnet/src/config/assets.rs:100:1
    |
100 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:73:1
   |
73 | / parameter_types! {
74 | |     pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | |     pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | |     pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:73:1
   |
73 | / parameter_types! {
74 | |     pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | |     pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | |     pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:73:1
   |
73 | / parameter_types! {
74 | |     pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | |     pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | |     pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 274 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 286 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-38.0.0/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/testnet/src/config/assets.rs:30:1
   |
30 | / parameter_types! {
31 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | |     pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | |     pub const NftsItemDeposit: Balance = UNIT / 100;
...  |
37 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)