[INFO] cloning repository https://github.com/SerxaS/plonk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SerxaS/plonk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerxaS%2Fplonk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerxaS%2Fplonk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87f390712b02c89cb4c142d689e1fa7e043acf2f [INFO] checking SerxaS/plonk against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerxaS%2Fplonk" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SerxaS/plonk on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SerxaS/plonk [INFO] finished tweaking git repo https://github.com/SerxaS/plonk [INFO] tweaked toml for git repo https://github.com/SerxaS/plonk written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SerxaS/plonk already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/privacy-scaling-explorations/halo2` [INFO] [stderr] Updating git repository `https://github.com/privacy-scaling-explorations/halo2curves` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pasta_curves v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baa0a918a1a4cda3b2114469782198534e2149f2546a209146ac47ec94594b20 [INFO] running `Command { std: "docker" "start" "-a" "baa0a918a1a4cda3b2114469782198534e2149f2546a209146ac47ec94594b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baa0a918a1a4cda3b2114469782198534e2149f2546a209146ac47ec94594b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa0a918a1a4cda3b2114469782198534e2149f2546a209146ac47ec94594b20", kill_on_drop: false }` [INFO] [stdout] baa0a918a1a4cda3b2114469782198534e2149f2546a209146ac47ec94594b20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce62606ab9249937e350443667973632e688eeaefe18fd15ef2d9258efb031f7 [INFO] running `Command { std: "docker" "start" "-a" "ce62606ab9249937e350443667973632e688eeaefe18fd15ef2d9258efb031f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling halo2curves v0.3.2 (https://github.com/privacy-scaling-explorations/halo2curves?tag=0.3.2#9f5c5081) [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pasta_curves v0.5.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking halo2_proofs v0.2.0 (https://github.com/privacy-scaling-explorations/halo2?tag=v2023_04_20#be955686) [INFO] [stderr] Checking plonk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Fr` is imported redundantly [INFO] [stdout] --> src/poseidon_hash/params/hasher/poseidon_bn254_5x5.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Fr` is already imported here [INFO] [stdout] 2 | use halo2::halo2curves::bn256::Fr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Fr` is imported redundantly [INFO] [stdout] --> src/poseidon_hash/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | use super::*; [INFO] [stdout] | -------- the item `Fr` is already imported here [INFO] [stdout] 98 | use halo2::halo2curves::bn256::Fr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Fr` is imported redundantly [INFO] [stdout] --> src/poseidon_hash/params/hasher/poseidon_bn254_5x5.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Fr` is already imported here [INFO] [stdout] 2 | use halo2::halo2curves::bn256::Fr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/plonk_tools/polynomial.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/plonk_tools/polynomial.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multi_eval_chal_u` [INFO] [stdout] --> src/prover.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let multi_eval_chal_u = arithmetic::hash_transcript(u_inputs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multi_eval_chal_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sbox_inv_f` is never used [INFO] [stdout] --> src/poseidon_hash/params/hasher/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Sbox { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 82 | fn sbox_inv_f(f: Fr) -> Fr; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `q_m`, `q_r`, `q_o`, `q_c`, `k1_rou`, and `k2_rou` are never read [INFO] [stdout] --> src/preprocessed_inputs.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PreprocessedInputs { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub(crate) q_m: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub(crate) q_l: Vec, [INFO] [stdout] 13 | pub(crate) q_r: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub(crate) q_o: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub(crate) q_c: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) k1_rou: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub(crate) k2_rou: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessedInputs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/plonk_tools/polynomial.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `len` is never read [INFO] [stdout] --> src/plonk_tools/polynomial.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multi_eval_chal_u` [INFO] [stdout] --> src/prover.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let multi_eval_chal_u = arithmetic::hash_transcript(u_inputs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_multi_eval_chal_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pow` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pow(base: Fr, exp: usize) -> Fr { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn eval(poly: &Polynomial, val: Fr) -> Fr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `com_poly` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn com_poly(poly: &Polynomial, x_g1: &Vec) -> G1 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rou_dom` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn rou_dom(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_rou` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn shifted_rou(rou_dom: &Vec, k: Fr) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_transcript` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) fn hash_transcript(inputs: Vec>) -> Fr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trusted_setup` is never used [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn trusted_setup(num_gate: usize) -> (Vec, G2) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plonk_tools/polynomial.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Polynomial [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | F: Field + PrimeField, [INFO] [stdout] | |__________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new(coeff: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push(&mut self, value: F) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_poly(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn add_fr_poly(&self, rhs: &F) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn sub_poly(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn sub_fr_poly(&self, rhs: &F) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn mul_poly(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn mul_fr_poly(&self, rhs: &F) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn div_poly(&mut self, den: &Self) -> (Self, Self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn lagrange(x_val: &Vec, y_val: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn zero_poly(n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn perm_poly_acc( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn shift_perm_poly_z(&self, rou_dom: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn l_1_poly(rou_dom: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn split_t_x(t_x: Polynomial) -> (Self, Self, Self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn blind_poly(t_x_n: usize, blind_sc_10: F, blind_sc_11: F) -> (Self, Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `P` is never used [INFO] [stdout] --> src/poseidon_hash/mod.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type P = Params; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Poseidon` is never constructed [INFO] [stdout] --> src/poseidon_hash/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Poseidon { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Poseidon` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `permute` are never used [INFO] [stdout] --> src/poseidon_hash/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Poseidon { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | /// Create the objects. [INFO] [stdout] 17 | pub fn new(inputs: [Fr; 5]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn permute(&self) -> [Fr; 5] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RoundParams` is never used [INFO] [stdout] --> src/poseidon_hash/params/hasher/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait RoundParams: Sbox + Clone + Debug { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sbox` is never used [INFO] [stdout] --> src/poseidon_hash/params/hasher/mod.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Sbox { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_field` is never used [INFO] [stdout] --> src/poseidon_hash/params/hasher/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn hex_to_field(s: &str) -> Fr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Params` is never constructed [INFO] [stdout] --> src/poseidon_hash/params/hasher/poseidon_bn254_5x5.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Params; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inputs` and `state` are never read [INFO] [stdout] --> src/poseidon_hash/sponge.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PoseidonSponge { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 7 | /// Constructs a vector for the inputs. [INFO] [stdout] 8 | inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | /// Internal state [INFO] [stdout] 10 | state: [Fr; 5], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoseidonSponge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `update`, `load_state`, and `squeeze` are never used [INFO] [stdout] --> src/poseidon_hash/sponge.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PoseidonSponge { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn update(&mut self, inputs: &[Fr]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn load_state(chunk: &[Fr]) -> [Fr; 5] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn squeeze(&mut self) -> Fr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreprocessedInputs` is never constructed [INFO] [stdout] --> src/preprocessed_inputs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PreprocessedInputs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessedInputs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocessed_inputs` is never used [INFO] [stdout] --> src/preprocessed_inputs.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn preprocessed_inputs() -> PreprocessedInputs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Proof` is never constructed [INFO] [stdout] --> src/prover.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Proof { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Proof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prover` is never used [INFO] [stdout] --> src/prover.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn prover(common_inputs: &PreprocessedInputs) -> Proof { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verifier` is never used [INFO] [stdout] --> src/verifier.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn verifier(common_inputs: PreprocessedInputs, pi_snark: Proof) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.95s [INFO] running `Command { std: "docker" "inspect" "ce62606ab9249937e350443667973632e688eeaefe18fd15ef2d9258efb031f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce62606ab9249937e350443667973632e688eeaefe18fd15ef2d9258efb031f7", kill_on_drop: false }` [INFO] [stdout] ce62606ab9249937e350443667973632e688eeaefe18fd15ef2d9258efb031f7