Skip to content
Triggered via push July 3, 2023 22:04
Status Success
Total duration 40s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

cargo-vet.yml

on: push
Vet Dependencies
29s
Vet Dependencies
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
this argument is passed by value, but not consumed in the function body: src/identity_tree.rs#L562
warning: this argument is passed by value, but not consumed in the function body --> src/identity_tree.rs:562:25 | 562 | leftover_items: Vec<ruint::Uint<256, 4>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type to: `&[ruint::Uint<256, 4>]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: `#[warn(clippy::needless_pass_by_value)]` implied by `#[warn(clippy::pedantic)]`
docs for function which may panic missing `# Panics` section: src/identity_tree.rs#L517
warning: docs for function which may panic missing `# Panics` section --> src/identity_tree.rs:517:5 | 517 | / pub fn new( 518 | | tree_depth: usize, 519 | | dense_prefix_depth: usize, 520 | | flattening_threshold: usize, ... | 523 | | mmap_file_path: &str, 524 | | ) -> Self { | |_____________^ | note: first possible panic found here --> src/identity_tree.rs:530:13 | 530 | / PoseidonTree::<lazy_merkle_tree::Canonical>::new_mmapped_with_dense_prefix_with_init_values( 531 | | tree_depth, 532 | | dense_prefix_depth, 533 | | &initial_leaf, 534 | | initial_leaves_in_dense, 535 | | mmap_file_path 536 | | ).unwrap(); | |______________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc note: the lint level is defined here --> src/lib.rs:2:22 | 2 | #![warn(clippy::all, clippy::pedantic, clippy::cargo)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
this import is redundant: tests/dynamic_batch_sizes.rs#L7
warning: this import is redundant --> tests/dynamic_batch_sizes.rs:7:1 | 7 | use tempfile; | ^^^^^^^^^^^^^ help: remove it entirely | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports = note: `#[warn(clippy::single_component_path_imports)]` on by default
this argument is passed by value, but not consumed in the function body: src/identity_tree.rs#L562
warning: this argument is passed by value, but not consumed in the function body --> src/identity_tree.rs:562:25 | 562 | leftover_items: Vec<ruint::Uint<256, 4>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type to: `&[ruint::Uint<256, 4>]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: `#[warn(clippy::needless_pass_by_value)]` implied by `#[warn(clippy::pedantic)]`
docs for function which may panic missing `# Panics` section: src/identity_tree.rs#L517
warning: docs for function which may panic missing `# Panics` section --> src/identity_tree.rs:517:5 | 517 | / pub fn new( 518 | | tree_depth: usize, 519 | | dense_prefix_depth: usize, 520 | | flattening_threshold: usize, ... | 523 | | mmap_file_path: &str, 524 | | ) -> Self { | |_____________^ | note: first possible panic found here --> src/identity_tree.rs:530:13 | 530 | / PoseidonTree::<lazy_merkle_tree::Canonical>::new_mmapped_with_dense_prefix_with_init_values( 531 | | tree_depth, 532 | | dense_prefix_depth, 533 | | &initial_leaf, 534 | | initial_leaves_in_dense, 535 | | mmap_file_path 536 | | ).unwrap(); | |______________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc note: the lint level is defined here --> src/lib.rs:2:22 | 2 | #![warn(clippy::all, clippy::pedantic, clippy::cargo)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
this argument is passed by value, but not consumed in the function body: src/identity_tree.rs#L562
warning: this argument is passed by value, but not consumed in the function body --> src/identity_tree.rs:562:25 | 562 | leftover_items: Vec<ruint::Uint<256, 4>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing the type to: `&[ruint::Uint<256, 4>]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: `#[warn(clippy::needless_pass_by_value)]` implied by `#[warn(clippy::pedantic)]`
docs for function which may panic missing `# Panics` section: src/identity_tree.rs#L517
warning: docs for function which may panic missing `# Panics` section --> src/identity_tree.rs:517:5 | 517 | / pub fn new( 518 | | tree_depth: usize, 519 | | dense_prefix_depth: usize, 520 | | flattening_threshold: usize, ... | 523 | | mmap_file_path: &str, 524 | | ) -> Self { | |_____________^ | note: first possible panic found here --> src/identity_tree.rs:530:13 | 530 | / PoseidonTree::<lazy_merkle_tree::Canonical>::new_mmapped_with_dense_prefix_with_init_values( 531 | | tree_depth, 532 | | dense_prefix_depth, 533 | | &initial_leaf, 534 | | initial_leaves_in_dense, 535 | | mmap_file_path 536 | | ).unwrap(); | |______________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc note: the lint level is defined here --> src/lib.rs:2:22 | 2 | #![warn(clippy::all, clippy::pedantic, clippy::cargo)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`