Skip to content

add all.sh example script (#144) #353

add all.sh example script (#144)

add all.sh example script (#144) #353

Triggered via push December 3, 2023 05:28
Status Success
Total duration 4m 33s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

15 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/
`if` chain can be rewritten with `match`: crates/cli/src/parse/timestamps.rs#L301
warning: `if` chain can be rewritten with `match` --> crates/cli/src/parse/timestamps.rs:301:9 | 301 | / if block.timestamp == timestamp.into() { 302 | | return Ok(mid); 303 | | } else if block.timestamp < timestamp.into() { 304 | | l = mid + 1; 305 | | } else { 306 | | r = mid - 1; 307 | | } | |_________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain note: the lint level is defined here --> crates/cli/src/parse/timestamps.rs:300:16 | 300 | #[warn(clippy::comparison_chain)] | ^^^^^^^^^^^^^^^^^^^^^^^^
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: crates/cli/src/parse/schemas.rs#L174
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> crates/cli/src/parse/schemas.rs:174:16 | 174 | datatypes: &Vec<Datatype>, | ^^^^^^^^^^^^^^ help: change this to: `&[Datatype]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default
`if` chain can be rewritten with `match`: crates/cli/src/parse/timestamps.rs#L301
warning: `if` chain can be rewritten with `match` --> crates/cli/src/parse/timestamps.rs:301:9 | 301 | / if block.timestamp == timestamp.into() { 302 | | return Ok(mid); 303 | | } else if block.timestamp < timestamp.into() { 304 | | l = mid + 1; 305 | | } else { 306 | | r = mid - 1; 307 | | } | |_________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain note: the lint level is defined here --> crates/cli/src/parse/timestamps.rs:300:16 | 300 | #[warn(clippy::comparison_chain)] | ^^^^^^^^^^^^^^^^^^^^^^^^
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: crates/cli/src/parse/schemas.rs#L174
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> crates/cli/src/parse/schemas.rs:174:16 | 174 | datatypes: &Vec<Datatype>, | ^^^^^^^^^^^^^^ help: change this to: `&[Datatype]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: crates/freeze/src/types/chunks/subchunks.rs#L45
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> crates/freeze/src/types/chunks/subchunks.rs:45:28 | 45 | fn to_single_chunk(chunks: &Vec<BlockChunk>) -> BlockChunk { | ^^^^^^^^^^^^^^^^ help: change this to: `&[BlockChunk]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` 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/