build(deps): bump openssl from 0.10.64 to 0.10.66 (#225) #230
ci.yml
on: push
lint
6s
check
15m 19s
clippy
4m 8s
test
25m 10s
integration-tests
18m 19s
coverage
28m 4s
Annotations
7 warnings
large size difference between variants:
node/src/cli.rs#L5
warning: large size difference between variants
--> node/src/cli.rs:5:1
|
5 | / pub enum Subcommand {
6 | | /// Build a chain specification.
7 | | BuildSpec(sc_cli::BuildSpecCmd),
... |
19 | | ImportBlocks(sc_cli::ImportBlocksCmd),
| | ------------------------------------- the second-largest variant contains at least 240 bytes
... |
39 | | Benchmark(frame_benchmarking_cli::BenchmarkCmd),
| | ----------------------------------------------- the largest variant contains at least 544 bytes
... |
43 | | Key(sc_cli::KeySubcommand),
44 | | }
| |_^ the entire enum is at least 544 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
39 | Benchmark(Box<frame_benchmarking_cli::BenchmarkCmd>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this match could be replaced by its body itself:
runtime/testnet/src/extensions.rs#L180
warning: this match could be replaced by its body itself
--> runtime/testnet/src/extensions.rs:180:15
|
180 | let result = match key {
| __________________^
181 | | _ => Vec::<u8>::default(),
182 | | }
| |_____^ help: consider using the match body instead: `Vec::<u8>::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
= note: `#[warn(clippy::match_single_binding)]` on by default
|
this match could be replaced by its body itself:
runtime/devnet/src/extensions.rs#L180
warning: this match could be replaced by its body itself
--> runtime/devnet/src/extensions.rs:180:15
|
180 | let result = match key {
| __________________^
181 | | _ => Vec::<u8>::default(),
182 | | }
| |_____^ 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#L32
warning: bound is defined in more than one place
--> runtime/devnet/src/extensions.rs:32:10
|
32 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
| ^
33 | where
34 | E: Ext<T = T>,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `#[warn(clippy::multiple_bound_locations)]` on by default
|
bound is defined in more than one place:
runtime/testnet/src/extensions.rs#L32
warning: bound is defined in more than one place
--> runtime/testnet/src/extensions.rs:32:10
|
32 | fn call<E: Ext>(&mut self, env: Environment<E, InitState>) -> Result<RetVal, DispatchError>
| ^
33 | where
34 | 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
|
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 use a deprecated Node.js version and will be forced to run on node20: 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/
|