Skip to content

Merge pull request #550 from worldcoin/dzejkop-test-restore #94

Merge pull request #550 from worldcoin/dzejkop-test-restore

Merge pull request #550 from worldcoin/dzejkop-test-restore #94

Triggered via push July 4, 2023 08:13
Status Success
Total duration 35s
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
26s
Vet Dependencies
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
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
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)]`
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)]`