clippy
9 errors, 2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 9 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.1 (7cf61ebde 2024-03-27)
- cargo 1.77.1 (e52e36006 2024-03-26)
- clippy 0.1.77 (7cf61eb 2024-03-27)
Annotations
Check failure on line 134 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Multisig` found for enum `RuntimeCall`
error[E0599]: no variant named `Multisig` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:134:21
|
134 | | RuntimeCall::Multisig { .. }
| ^^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Multisig` not found here
Check failure on line 133 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Utility` found for enum `RuntimeCall`
error[E0599]: no variant named `Utility` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:133:21
|
133 | | RuntimeCall::Utility { .. }
| ^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Utility` not found here
Check failure on line 127 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Utility` found for enum `RuntimeCall`
error[E0599]: no variant named `Utility` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:127:21
|
127 | | RuntimeCall::Utility { .. }
| ^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Utility` not found here
Check failure on line 103 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Multisig` found for enum `RuntimeCall`
error[E0599]: no variant named `Multisig` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:103:21
|
103 | | RuntimeCall::Multisig { .. }
| ^^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Multisig` not found here
Check failure on line 102 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Utility` found for enum `RuntimeCall`
error[E0599]: no variant named `Utility` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:102:21
|
102 | | RuntimeCall::Utility { .. }
| ^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Utility` not found here
Check failure on line 79 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Multisig` found for enum `RuntimeCall`
error[E0599]: no variant named `Multisig` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:79:22
|
79 | | RuntimeCall::Multisig { .. }
| ^^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Multisig` not found here
Check failure on line 78 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Utility` found for enum `RuntimeCall`
error[E0599]: no variant named `Utility` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:78:22
|
78 | | RuntimeCall::Utility { .. }
| ^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Utility` not found here
Check failure on line 72 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Multisig` found for enum `RuntimeCall`
error[E0599]: no variant named `Multisig` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:72:21
|
72 | | RuntimeCall::Multisig { .. }
| ^^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Multisig` not found here
Check failure on line 71 in runtime/testnet/src/proxy_config.rs
github-actions / clippy
no variant named `Utility` found for enum `RuntimeCall`
error[E0599]: no variant named `Utility` found for enum `RuntimeCall`
--> runtime/testnet/src/proxy_config.rs:71:21
|
71 | | RuntimeCall::Utility { .. }
| ^^^^^^^ variant not found in `RuntimeCall`
|
::: runtime/testnet/src/lib.rs:564:1
|
564 | / construct_runtime!(
565 | | pub enum Runtime {
566 | | // System support stuff.
567 | | System: frame_system = 0,
... |
608 | | }
609 | | );
| |_- variant `Utility` not found here
Check warning on line 54 in scripts/fund-dev-accounts/./main.rs
github-actions / clippy
used a field initializer for a tuple struct
warning: used a field initializer for a tuple struct
--> scripts/fund-dev-accounts/./main.rs:54:9
|
54 | id: AssetId { 0: Location { parents: 0, interior: Junctions::Here } },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `AssetId(Location { parents: 0, interior: Junctions::Here })`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#init_numbered_fields
Check warning on line 57 in scripts/fund-dev-accounts/./main.rs
github-actions / clippy
used a field initializer for a tuple struct
warning: used a field initializer for a tuple struct
--> scripts/fund-dev-accounts/./main.rs:52:36
|
52 | let assets = VersionedAssets::V4(Assets {
| __________________________________________^
53 | | 0: vec![Asset {
54 | | id: AssetId { 0: Location { parents: 0, interior: Junctions::Here } },
55 | | fun: amount,
56 | | }],
57 | | });
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#init_numbered_fields
= note: `#[warn(clippy::init_numbered_fields)]` on by default
help: try
|
52 ~ let assets = VersionedAssets::V4(Assets(<[_]>::into_vec(
53 + // This rustc_box is not required, but it produces a dramatic improvement in compile
54 + // time when constructing arrays with many elements.
55 + #[rustc_box]
56 + $crate::boxed::Box::new([$($x),+])
57 ~ )));
|