Skip to content

refactor: remove rococo (#89) #371

refactor: remove rococo (#89)

refactor: remove rococo (#89) #371

Triggered via push July 27, 2024 12:15
Status Success
Total duration 53m 41s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 512 bytes ... | 48 | | Key(sc_cli::KeySubcommand), 49 | | } | |_^ the entire enum is at least 512 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>), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this match could be replaced by its body itself: runtime/testnet/src/extensions.rs#L186
warning: this match could be replaced by its body itself --> runtime/testnet/src/extensions.rs:186:15 | 186 | let result = match key { | __________________^ 187 | | _ => Vec::<u8>::default(), 188 | | } | |_____^ help: consider using the match body instead: `Vec::<u8>::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding = note: `#[warn(clippy::match_single_binding)]` on by default
bound is defined in more than one place: runtime/testnet/src/extensions.rs#L33
warning: bound is defined in more than one place --> runtime/testnet/src/extensions.rs:33:10 | 33 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError> | ^ 34 | where 35 | E: Ext<T = T>, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `#[warn(clippy::multiple_bound_locations)]` on by default
this match could be replaced by its body itself: runtime/devnet/src/extensions.rs#L186
warning: this match could be replaced by its body itself --> runtime/devnet/src/extensions.rs:186:15 | 186 | let result = match key { | __________________^ 187 | | _ => Vec::<u8>::default(), 188 | | } | |_____^ help: consider using the match body instead: `Vec::<u8>::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding = note: `#[warn(clippy::match_single_binding)]` on by default
bound is defined in more than one place: runtime/devnet/src/extensions.rs#L33
warning: bound is defined in more than one place --> runtime/devnet/src/extensions.rs:33:10 | 33 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError> | ^ 34 | where 35 | E: Ext<T = T>, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `#[warn(clippy::multiple_bound_locations)]` on by default
the borrowed expression implements the required traits: scripts/fund-dev-accounts/./main.rs#L122
warning: the borrowed expression implements the required traits --> scripts/fund-dev-accounts/./main.rs:122:47 | 122 | let query = pop::storage().system().account(&account.public_key().0.into()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `account.public_key().0.into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
used a field initializer for a tuple struct: scripts/fund-dev-accounts/./main.rs#L54
warning: used a field initializer for a tuple struct --> scripts/fund-dev-accounts/./main.rs:54:36 | 54 | let assets = VersionedAssets::V3(Assets { | __________________________________________^ 55 | | 0: vec![Asset { 56 | | id: Concrete(Location { parents: 0, interior: Junctions::Here }), 57 | | fun: amount, 58 | | }], 59 | | }); | |_________^ | = 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 | 54 ~ let assets = VersionedAssets::V3(Assets(vec![Asset { 55 ~ id: Concrete(Location { parents: 0, interior: Junctions::Here }), 56 ~ fun: amount, 57 ~ }])); |
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, Swatinem/rust-cache@v2.5.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/