feat(code): initial configuration options #752
Annotations
10 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#L197
error: the borrowed expression implements the required traits
--> cli/src/args.rs:197:37
|
197 | 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#L214
error: the borrowed expression implements the required traits
--> cli/src/args.rs:214:37
|
214 | 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#L219
error: the borrowed expression implements the required traits
--> cli/src/args.rs:219:37
|
219 | let args = Args::parse_from(&[
| _____________________________________^
220 | | "test",
221 | | "--config",
222 | | "../config.toml",
... |
225 | | "start",
226 | | ]);
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
219 ~ let args = Args::parse_from([
220 + "test",
221 + "--config",
222 + "../config.toml",
223 + "--index",
224 + "2",
225 + "start",
226 ~ ]);
|
|
Clippy:
cli/src/args.rs#L233
error: the borrowed expression implements the required traits
--> cli/src/args.rs:233:37
|
233 | 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#L239
error: the borrowed expression implements the required traits
--> cli/src/args.rs:239:37
|
239 | 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#L243
error: the borrowed expression implements the required traits
--> cli/src/args.rs:243:37
|
243 | 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#L246
error: the borrowed expression implements the required traits
--> cli/src/args.rs:246:37
|
246 | let args = Args::parse_from(&[
| _____________________________________^
247 | | "test",
248 | | "--private-key",
249 | | "c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0MDA=",
250 | | "start",
251 | | ]);
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
help: change this to
|
246 ~ let args = Args::parse_from([
247 + "test",
248 + "--private-key",
249 + "c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0c2VjcmV0MDA=",
250 + "start",
251 ~ ]);
|
|
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/.
|