[INFO] fetching crate zkdoc_sdk 0.0.1... [INFO] building zkdoc_sdk-0.0.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate zkdoc_sdk 0.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate zkdoc_sdk 0.0.1 [INFO] finished tweaking crates.io crate zkdoc_sdk 0.0.1 [INFO] tweaked toml for crates.io crate zkdoc_sdk 0.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zkdoc_sdk 0.0.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 150 packages to latest compatible versions [INFO] [stderr] Adding ff v0.12.1 (available: v0.13.1) [INFO] [stderr] Adding halo2_gadgets v0.2.0 (available: v0.3.1) [INFO] [stderr] Adding halo2_proofs v0.2.0 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding tabbycat v0.1.2 (available: v0.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-bitmap v0.3.7 [INFO] [stderr] Downloaded pathfinder_simd v0.5.5 [INFO] [stderr] Downloaded derive_builder v0.9.0 [INFO] [stderr] Downloaded derive_builder_core v0.9.0 [INFO] [stderr] Downloaded tabbycat v0.1.2 [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded dwrote v0.11.4 [INFO] [stderr] Downloaded yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded pasta_curves v0.4.1 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded font-kit v0.14.3 [INFO] [stderr] Downloaded halo2_proofs v0.2.0 [INFO] [stderr] Downloaded halo2_gadgets v0.2.0 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded freetype-sys v0.20.1 [INFO] [stderr] Downloaded image v0.24.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7625e5b7ad69b9d395b847a5b00827c849352c4c306c3946726b8ed25201bb3b [INFO] running `Command { std: "docker" "start" "-a" "7625e5b7ad69b9d395b847a5b00827c849352c4c306c3946726b8ed25201bb3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7625e5b7ad69b9d395b847a5b00827c849352c4c306c3946726b8ed25201bb3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7625e5b7ad69b9d395b847a5b00827c849352c4c306c3946726b8ed25201bb3b", kill_on_drop: false }` [INFO] [stdout] 7625e5b7ad69b9d395b847a5b00827c849352c4c306c3946726b8ed25201bb3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee014eab2e345d15bad998eef69c4db2614b8472fe78278cfed2fdf6d5e52994 [INFO] running `Command { std: "docker" "start" "-a" "ee014eab2e345d15bad998eef69c4db2614b8472fe78278cfed2fdf6d5e52994", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pasta_curves v0.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling halo2_proofs v0.2.0 [INFO] [stderr] Compiling halo2_gadgets v0.2.0 [INFO] [stderr] Compiling zkdoc_sdk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hasher.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Advice` and `Error` [INFO] [stdout] --> src/circuits/file_hasher.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U256` [INFO] [stdout] --> src/services/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::typenum::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hasher.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hasher.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 11 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 19 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonConfig` is never constructed [INFO] [stdout] --> src/circuits/poseidon.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonChip` is never constructed [INFO] [stdout] --> src/circuits/poseidon.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct PoseidonChip { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `construct` and `configure` are never used [INFO] [stdout] --> src/circuits/poseidon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 20 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn configure(meta: &mut ConstraintSystem) -> PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonCircuit` is never constructed [INFO] [stdout] --> src/circuits/poseidon.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct PoseidonCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonConfig` is never constructed [INFO] [stdout] --> src/circuits/poseidon_v2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonChip` is never constructed [INFO] [stdout] --> src/circuits/poseidon_v2.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PoseidonChip { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `construct` and `configure` are never used [INFO] [stdout] --> src/circuits/poseidon_v2.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 19 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn configure(meta: &mut ConstraintSystem) -> PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonCircuit` is never constructed [INFO] [stdout] --> src/circuits/poseidon_v2.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct PoseidonCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 14 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 23 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hasher.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u64_to_u32` is never used [INFO] [stdout] --> src/utils/poseidon.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn convert_hash_u64_to_u32(hash_u64: [u64; 4]) -> [u32; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` is never used [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn convert_hash_u32_to_u64_LE(hash_u32: [u32; 8]) -> [u64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_hash_u32_to_u64_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.07s [INFO] running `Command { std: "docker" "inspect" "ee014eab2e345d15bad998eef69c4db2614b8472fe78278cfed2fdf6d5e52994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee014eab2e345d15bad998eef69c4db2614b8472fe78278cfed2fdf6d5e52994", kill_on_drop: false }` [INFO] [stdout] ee014eab2e345d15bad998eef69c4db2614b8472fe78278cfed2fdf6d5e52994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ebe2816b4e691721383bf3304915d69a9a7d9f763e8f044fa0e3ba5d1e9fa44 [INFO] running `Command { std: "docker" "start" "-a" "1ebe2816b4e691721383bf3304915d69a9a7d9f763e8f044fa0e3ba5d1e9fa44", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hasher.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Advice` and `Error` [INFO] [stdout] --> src/circuits/file_hasher.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U256` [INFO] [stdout] --> src/services/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::typenum::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zkdoc_sdk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hasher.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hasher.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 11 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 19 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonConfig` is never constructed [INFO] [stdout] --> src/circuits/poseidon.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonChip` is never constructed [INFO] [stdout] --> src/circuits/poseidon.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct PoseidonChip { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `construct` and `configure` are never used [INFO] [stdout] --> src/circuits/poseidon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 20 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn configure(meta: &mut ConstraintSystem) -> PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonCircuit` is never constructed [INFO] [stdout] --> src/circuits/poseidon.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct PoseidonCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonConfig` is never constructed [INFO] [stdout] --> src/circuits/poseidon_v2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonChip` is never constructed [INFO] [stdout] --> src/circuits/poseidon_v2.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct PoseidonChip { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `construct` and `configure` are never used [INFO] [stdout] --> src/circuits/poseidon_v2.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 19 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn configure(meta: &mut ConstraintSystem) -> PoseidonConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoseidonCircuit` is never constructed [INFO] [stdout] --> src/circuits/poseidon_v2.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct PoseidonCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 14 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 23 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hasher.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u64_to_u32` is never used [INFO] [stdout] --> src/utils/poseidon.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn convert_hash_u64_to_u32(hash_u64: [u64; 4]) -> [u32; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` is never used [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn convert_hash_u32_to_u64_LE(hash_u32: [u32; 8]) -> [u64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_hash_u32_to_u64_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Spec` [INFO] [stdout] --> src/circuits/poseidon.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 83 | primitives::{self as poseidon, ConstantLength, P128Pow5T3, Spec}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash` and `Spec` [INFO] [stdout] --> src/circuits/poseidon_v2.rs:70:68 [INFO] [stdout] | [INFO] [stdout] 70 | primitives::{self as poseidon, ConstantLength, P128Pow5T3, Spec}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/circuits/file_hasher.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | file_hash_row_selector::{self, FileHashRowSelectorChip, FileHashRowSelectorConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Advice` and `Error` [INFO] [stdout] --> src/circuits/file_hasher.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | plonk::{Advice, Circuit, Column, ConstraintSystem, Error, Instance}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `order::Lsb0` [INFO] [stdout] --> src/utils/poseidon.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | use bitvec::{array::BitArray, order::Lsb0}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::typenum::U256` [INFO] [stdout] --> src/services/services.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sha2::digest::typenum::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:5:55 [INFO] [stdout] | [INFO] [stdout] 5 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hasher.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utilities::Var` [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use halo2_gadgets::{poseidon::primitives::P128Pow5T3, utilities::Var}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layouter` [INFO] [stdout] --> src/circuits/file_hasher.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | circuit::{floor_planner::V1, Layouter, Value}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_le_bits2` [INFO] [stdout] --> src/circuits/poseidon.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let output_le_bits2 = output.to_le_bits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_le_bits2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_le_bits` [INFO] [stdout] --> src/circuits/poseidon.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let output_le_bits = output.to_le_bits().as_raw_slice(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_le_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_fp` [INFO] [stdout] --> src/circuits/poseidon.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let test_fp = Fp::from_raw([1, 3, 4, 5]); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit` [INFO] [stdout] --> src/circuits/file_hasher.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | let circuit = FileHashPartialCircuit::<2> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circuit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit` [INFO] [stdout] --> src/circuits/file_hasher.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let circuit = FileHashPartialCircuit:: { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circuit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/assert_is_equal.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | mut layouter: impl halo2_proofs::circuit::Layouter, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zz` [INFO] [stdout] --> src/utils/poseidon.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let zz: [u64; 4] = yy.try_into().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 11 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 19 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/poseidon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct PoseidonChip { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | config: PoseidonConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/circuits/poseidon.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_LE` is never used [INFO] [stdout] --> src/circuits/poseidon.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn convert_u32_to_u64_LE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/poseidon_v2.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct PoseidonChip { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | config: PoseidonConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> src/circuits/poseidon_v2.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PoseidonChip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn construct(config: PoseidonConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 14 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 23 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v3.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row_title_advice`, `row_content_advice`, and `row_hash_advice` are never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FileHashPartialConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 15 | row_title_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | row_content_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | row_hash_advice: Column, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileHashPartialConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hash_partial_v4.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 25 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/circuits/file_hasher.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FileHashPartialChip { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | config: FileHashPartialConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/circuits/poseidon.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/circuits/poseidon.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/circuits/poseidon.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn convert_u32_to_u64_LE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/poseidon.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_hash_u32_to_u64_LE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn convert_hash_u32_to_u64_LE(hash_u32: [u32; 8]) -> [u64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_hash_u32_to_u64_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u32_to_u64_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_u32_to_u64_BE(u32_array: [u32; 2]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u32_to_u64_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_u64_to_u32_BE` should have a snake case name [INFO] [stdout] --> src/utils/conversion.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn convert_u64_to_u32_BE(input: u64) -> [u32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_u64_to_u32_be` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.14s [INFO] running `Command { std: "docker" "inspect" "1ebe2816b4e691721383bf3304915d69a9a7d9f763e8f044fa0e3ba5d1e9fa44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebe2816b4e691721383bf3304915d69a9a7d9f763e8f044fa0e3ba5d1e9fa44", kill_on_drop: false }` [INFO] [stdout] 1ebe2816b4e691721383bf3304915d69a9a7d9f763e8f044fa0e3ba5d1e9fa44