make error outputs cleaner #212
Annotations
16 warnings
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
fmt
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
the borrowed expression implements the required traits:
crates/cli/src/args.rs#L260
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:260:34
|
260 | serde_json::to_value(&default_struct).expect("Failed to serialize to JSON");
| ^^^^^^^^^^^^^^^ help: change this to: `default_struct`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
crates/cli/src/args.rs#L258
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:258:52
|
258 | let s2_value: Value = serde_json::to_value(&other).expect("Failed to serialize to JSON");
| ^^^^^^ help: change this to: `other`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
crates/cli/src/args.rs#L257
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:257:56
|
257 | let mut s1_value: Value = serde_json::to_value(&self).expect("Failed to serialize to JSON");
| ^^^^^ help: change this to: `self`
|
= 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
|
the borrowed expression implements the required traits:
crates/cli/src/args.rs#L260
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:260:34
|
260 | serde_json::to_value(&default_struct).expect("Failed to serialize to JSON");
| ^^^^^^^^^^^^^^^ help: change this to: `default_struct`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
crates/cli/src/args.rs#L258
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:258:52
|
258 | let s2_value: Value = serde_json::to_value(&other).expect("Failed to serialize to JSON");
| ^^^^^^ help: change this to: `other`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
crates/cli/src/args.rs#L257
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:257:56
|
257 | let mut s1_value: Value = serde_json::to_value(&self).expect("Failed to serialize to JSON");
| ^^^^^ help: change this to: `self`
|
= 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
|
code lint
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/
|