fix hex encoding of empty event decoding #273
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
17 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#L268
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:268:34
|
268 | 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#L266
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:266:52
|
266 | 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#L265
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:265:56
|
265 | 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#L268
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:268:34
|
268 | 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#L266
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:266:52
|
266 | 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#L265
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:265:56
|
265 | 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
|
accessing first element with `chunks.get(0)`:
crates/freeze/src/types/chunks/subchunks.rs#L46
warning: accessing first element with `chunks.get(0)`
--> crates/freeze/src/types/chunks/subchunks.rs:46:26
|
46 | match (chunks.len(), chunks.get(0)) {
| ^^^^^^^^^^^^^ help: try: `chunks.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` 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/
|