Merge pull request #72 from worldcoin/0xkitsune/fix-restore-root #227
Annotations
23 warnings
function `as_bytes` is never used:
src/util.rs#L24
warning: function `as_bytes` is never used
--> src/util.rs:24:22
|
24 | pub(crate) unsafe fn as_bytes<T: ?Sized>(p: &T) -> &[u8] {
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
src/cascading_merkle_tree.rs#L86
warning: variable does not need to be mutable
--> src/cascading_merkle_tree.rs:86:13
|
86 | let mut tree = CascadingMerkleTree {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused import: `rayon::prelude`:
src/cascading_merkle_tree.rs#L5
warning: unused import: `rayon::prelude`
--> src/cascading_merkle_tree.rs:5:5
|
5 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^
|
unused import: `itertools::Itertools`:
src/cascading_merkle_tree.rs#L4
warning: unused import: `itertools::Itertools`
--> src/cascading_merkle_tree.rs:4:5
|
4 | use itertools::Itertools;
| ^^^^^^^^^^^^^^^^^^^^
|
unused imports: `DerefMut`, `Deref`:
src/cascading_merkle_tree.rs#L1
warning: unused imports: `DerefMut`, `Deref`
--> src/cascading_merkle_tree.rs:1:16
|
1 | use std::ops::{Deref, DerefMut};
| ^^^^^ ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@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/.
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@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/
|
Lint
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/
|
Lint
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/
|
Lint
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/
|
Lint
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/
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@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/.
|
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
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/
|
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/
|
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/
|
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/
|
Test:
src/cascading_merkle_tree.rs#L1
unused imports: `DerefMut`, `Deref`
|
Test:
src/cascading_merkle_tree.rs#L4
unused import: `itertools::Itertools`
|
Test:
src/cascading_merkle_tree.rs#L5
unused import: `rayon::prelude`
|
Test:
src/cascading_merkle_tree.rs#L86
variable does not need to be mutable
|
Test:
src/util.rs#L24
function `as_bytes` is never used
|
Test
`semaphore` (lib) generated 5 warnings (run `cargo fix --lib -p semaphore` to apply 3 suggestions)
|