feat(code): initial configuration options #735
Annotations
8 errors and 3 warnings
Clippy:
cli/src/args.rs#L163
error: the borrowed expression implements the required traits
--> cli/src/args.rs:163:37
|
163 | let args = Args::parse_from(&["test", "--debug", "ractor", "init"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["test", "--debug", "ractor", "init"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
Clippy:
cli/src/args.rs#L167
error: the borrowed expression implements the required traits
--> cli/src/args.rs:167:37
|
167 | let args = Args::parse_from(&["test", "start"]);
| ^^^^^^^^^^^^^^^^^^ help: change this to: `["test", "start"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Clippy:
cli/src/args.rs#L171
error: the borrowed expression implements the required traits
--> cli/src/args.rs:171:37
|
171 | let args = Args::parse_from(&[
| _____________________________________^
172 | | "test",
173 | | "--config",
174 | | "myconfig.toml",
... |
179 | | "init",
180 | | ]);
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
171 ~ let args = Args::parse_from([
172 + "test",
173 + "--config",
174 + "myconfig.toml",
175 + "--genesis",
176 + "mygenesis.json",
177 + "--private-key",
178 + "c2VjcmV0",
179 + "init",
180 ~ ]);
|
|
Clippy:
cli/src/args.rs#L191
error: the borrowed expression implements the required traits
--> cli/src/args.rs:191:37
|
191 | let args = Args::parse_from(&["test", "--config", "../config.toml", "start"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["test", "--config", "../config.toml", "start"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Clippy:
cli/src/args.rs#L198
error: the borrowed expression implements the required traits
--> cli/src/args.rs:198:37
|
198 | let args = Args::parse_from(&["test", "--genesis", "../genesis.json", "start"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["test", "--genesis", "../genesis.json", "start"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Clippy:
cli/src/args.rs#L204
error: the borrowed expression implements the required traits
--> cli/src/args.rs:204:37
|
204 | let args = Args::parse_from(&["test", "start"]);
| ^^^^^^^^^^^^^^^^^^ help: change this to: `["test", "start"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Clippy:
cli/src/args.rs#L207
error: the borrowed expression implements the required traits
--> cli/src/args.rs:207:37
|
207 | let args = Args::parse_from(&["test", "--private-key", "c2VjcmV0", "start"]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["test", "--private-key", "c2VjcmV0", "start"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
Clippy:
cli/src/args.rs#L210
error: the borrowed expression implements the required traits
--> cli/src/args.rs:210:37
|
210 | let args = Args::parse_from(&[
| _____________________________________^
211 | | "test",
212 | | "--private-key",
213 | | "c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0MDA=",
214 | | "start",
215 | | ]);
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
210 ~ let args = Args::parse_from([
211 + "test",
212 + "--private-key",
213 + "c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0MDA=",
214 + "start",
215 ~ ]);
|
|
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|