feat(sentinel): <- adds beta of that #8
rust.yml
on: pull_request
build_and_test
16m 5s
check_formatting
30s
check_clippy
6m 57s
run_shell_tests
8m 10s
Annotations
13 errors and 36 warnings
useless use of `vec!`:
common/algorand/src/algo_debug_functions/debug_reset_algo_chain.rs#L47
error: useless use of `vec!`
--> common/algorand/src/algo_debug_functions/debug_reset_algo_chain.rs:47:5
|
47 | / vec![
48 | | algo_db_utils.get_algo_linker_block_hash_key(),
49 | | algo_db_utils.get_algo_canon_block_hash_key(),
50 | | algo_db_utils.get_algo_tail_block_hash_key(),
... |
53 | | algo_db_utils.get_algo_canon_to_tip_length_key(),
54 | | ]
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `-D clippy::useless-vec` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
help: you can use an array directly
|
47 ~ [algo_db_utils.get_algo_linker_block_hash_key(),
48 + algo_db_utils.get_algo_canon_block_hash_key(),
49 + algo_db_utils.get_algo_tail_block_hash_key(),
50 + algo_db_utils.get_algo_anchor_block_hash_key(),
51 + algo_db_utils.get_algo_latest_block_hash_key(),
52 + algo_db_utils.get_algo_canon_to_tip_length_key()]
|
|
useless use of `vec!`:
common/eos/src/get_action_digest.rs#L31
error: useless use of `vec!`
--> common/eos/src/get_action_digest.rs:31:42
|
31 | let digest = sha256::Hash::hash(&vec![hash_1, hash_2].concat()).to_vec();
| ^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[hash_1, hash_2]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `-D clippy::useless-vec` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
166 | impl_hash!(H520, 65);
| -------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
165 | impl_hash!(H512, 64);
| -------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
164 | impl_hash!(H264, 33);
| -------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
163 | impl_hash!(H256, 32);
| -------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
162 | impl_hash!(H160, 20);
| -------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
161 | impl_hash!(H96, 12);
| ------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
160 | impl_hash!(H48, 6);
| ------------------ in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-canonical implementation of `clone` on a `Copy` type:
common/eos/src/eos_hash.rs#L32
error: non-canonical implementation of `clone` on a `Copy` type
--> common/eos/src/eos_hash.rs:32:37
|
32 | fn clone(&self) -> Self {
| _____________________________________^
33 | | let mut result = Self::default();
34 | | result.copy_from_slice(&self.0);
35 | | result
36 | | }
| |_____________^ help: change this to: `{ *self }`
...
159 | impl_hash!(H32, 4);
| ------------------ in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
= note: `-D clippy::non-canonical-clone-impl` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::non_canonical_clone_impl)]`
= note: this error originates in the macro `impl_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
check_clippy
Clippy had exited with the 101 exit code
|
run_shell_tests
Process completed with exit code 1.
|
build_and_test
Process completed with exit code 101.
|
check_formatting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check_formatting
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, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check_formatting
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/
|
check_formatting
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/
|
check_formatting
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/
|
check_formatting
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/
|
check_formatting
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/
|
check_formatting
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/
|
check_formatting
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/
|
check_clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check_clippy
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, 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/
|
check_clippy
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/
|
check_clippy
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/
|
check_clippy
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/
|
check_clippy
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/
|
check_clippy
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/
|
check_clippy
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/
|
check_clippy
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/
|
run_shell_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run_shell_tests
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/
|
run_shell_tests
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/
|
run_shell_tests
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/
|
run_shell_tests
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/
|
run_shell_tests
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/
|
run_shell_tests
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/
|
run_shell_tests
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/
|
run_shell_tests
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/
|
build_and_test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build_and_test
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/
|
build_and_test
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/
|
build_and_test
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/
|
build_and_test
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/
|
build_and_test
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/
|
build_and_test
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/
|
build_and_test
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/
|
build_and_test
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/
|