[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] 335081b82a4223103146429629d46b8917ce6856 [INFO] checking SerxaS/plonk against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerxaS%2Fplonk" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SerxaS/plonk on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a604c0f921245bbcdc8d73e6dbf8f5dbd8a26f1f45a4dea01448c010de0f7764 [INFO] running `Command { std: "docker" "start" "-a" "a604c0f921245bbcdc8d73e6dbf8f5dbd8a26f1f45a4dea01448c010de0f7764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a604c0f921245bbcdc8d73e6dbf8f5dbd8a26f1f45a4dea01448c010de0f7764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a604c0f921245bbcdc8d73e6dbf8f5dbd8a26f1f45a4dea01448c010de0f7764", kill_on_drop: false }` [INFO] [stdout] a604c0f921245bbcdc8d73e6dbf8f5dbd8a26f1f45a4dea01448c010de0f7764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16b73b5d74b9169bb29d93e43493a251214061d1bf7554ee64d61c3257bb3728 [INFO] running `Command { std: "docker" "start" "-a" "16b73b5d74b9169bb29d93e43493a251214061d1bf7554ee64d61c3257bb3728", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling halo2curves v0.3.2 (https://github.com/privacy-scaling-explorations/halo2curves?tag=0.3.2#9f5c5081) [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.48 [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: value assigned to `len` is never read [INFO] [stdout] --> src/plonk_tools/polynomial.rs:44:23 [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)]` (part of `#[warn(unused)]`) 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:23 [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)]` (part of `#[warn(unused)]`) 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:23 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: value assigned to `len` is never read [INFO] [stdout] --> src/plonk_tools/polynomial.rs:77:23 [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | eval += *j * pow(val, i.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let trusted_x_g1 = G1::generator() * pow(secret_x, i.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plonk` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `Polynomial` is never constructed [INFO] [stdout] --> src/plonk_tools/polynomial.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Polynomial { [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] [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] [INFO] [stdout] warning: struct `PoseidonSponge` is never constructed [INFO] [stdout] --> src/poseidon_hash/sponge.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PoseidonSponge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `load_state`, and `squeeze` are never used [INFO] [stdout] --> src/poseidon_hash/sponge.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PoseidonSponge { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 14 | /// Create objects. [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [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] [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] [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | eval += *j * pow(val, i.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/plonk_tools/arithmetic.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let trusted_x_g1 = G1::generator() * pow(secret_x, i.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plonk` (lib) due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16b73b5d74b9169bb29d93e43493a251214061d1bf7554ee64d61c3257bb3728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b73b5d74b9169bb29d93e43493a251214061d1bf7554ee64d61c3257bb3728", kill_on_drop: false }` [INFO] [stdout] 16b73b5d74b9169bb29d93e43493a251214061d1bf7554ee64d61c3257bb3728