[INFO] cloning repository https://github.com/webdott/zk-cohort [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webdott/zk-cohort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebdott%2Fzk-cohort", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebdott%2Fzk-cohort'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71af9977d80ef36c413c78772c63e77f9cf32324 [INFO] testing webdott/zk-cohort against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebdott%2Fzk-cohort" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/webdott/zk-cohort on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/webdott/zk-cohort [INFO] finished tweaking git repo https://github.com/webdott/zk-cohort [INFO] tweaked toml for git repo https://github.com/webdott/zk-cohort written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/webdott/zk-cohort 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 856bd4407860172087fd4a5350cbc1f24586fadf9794bed45e0c6e9a3b90f9b7 [INFO] running `Command { std: "docker" "start" "-a" "856bd4407860172087fd4a5350cbc1f24586fadf9794bed45e0c6e9a3b90f9b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "856bd4407860172087fd4a5350cbc1f24586fadf9794bed45e0c6e9a3b90f9b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "856bd4407860172087fd4a5350cbc1f24586fadf9794bed45e0c6e9a3b90f9b7", kill_on_drop: false }` [INFO] [stdout] 856bd4407860172087fd4a5350cbc1f24586fadf9794bed45e0c6e9a3b90f9b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc2d55f433b46f3b50aa73ea517912d99a2e607916791ddf73b6058038346877 [INFO] running `Command { std: "docker" "start" "-a" "cc2d55f433b46f3b50aa73ea517912d99a2e607916791ddf73b6058038346877", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling libmath v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling ark-serialize-derive v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.5.0 [INFO] [stderr] Compiling ark-ff-macros v0.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std v0.5.0 [INFO] [stderr] Compiling ark-serialize v0.5.0 [INFO] [stderr] Compiling ark-ff v0.5.0 [INFO] [stderr] Compiling ark-poly v0.5.0 [INFO] [stderr] Compiling ark-ec v0.5.0 [INFO] [stderr] Compiling ark-bn254 v0.5.0 [INFO] [stderr] Compiling ark-bls12-377 v0.5.0 [INFO] [stderr] Compiling zk-cohort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ShamierProtocol` is never constructed [INFO] [stdout] --> src/concepts_protocols/shamir_protocol.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShamierProtocol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_shares`, `verify_shares`, and `reconstruct_secret` are never used [INFO] [stdout] --> src/concepts_protocols/shamir_protocol.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ShamierProtocol { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(quorom: u32, number_of_shares: u32, secret_x: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn generate_shares(&self, secret: T) -> Vec<(T, T)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn verify_shares(&self, shares: &[(T, T)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn reconstruct_secret(&self, shares: &[(T, T)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circuit` is never constructed [INFO] [stdout] --> src/concepts_protocols/arithmetic_gate/circuit.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Circuit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/concepts_protocols/arithmetic_gate/circuit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Circuit { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new(layers: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn evaluate(&mut self, inputs: Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn w_i(&self, layer_idx: usize) -> MultiLinearPolynomial { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_bit_idx( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn match_gate_condition(&self, gate: &Gate, condition: &Operation) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_gate_poly(&self, layer_idx: usize, condition: Operation) -> MultiLinearPolynomial { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_i(&self, layer_idx: usize) -> MultiLinearPolynomial { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn mul_i(&self, layer_idx: usize) -> MultiLinearPolynomial { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/concepts_protocols/arithmetic_gate/gate.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gate` is never constructed [INFO] [stdout] --> src/concepts_protocols/arithmetic_gate/gate.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Gate { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/concepts_protocols/arithmetic_gate/gate.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Gate { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(left: usize, right: usize, operation: Operation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polynomial` is never constructed [INFO] [stdout] --> src/concepts_protocols/fft.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Polynomial { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `fft`, `transform_to_values`, and `transform_to_coefficients` are never used [INFO] [stdout] --> src/concepts_protocols/fft.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Polynomial { [INFO] [stdout] | ------------------------------- associated functions in this implementation [INFO] [stdout] 8 | fn fft(coefficients_or_values: &[T], is_inverse: bool) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn transform_to_values(coefficients: &[T]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn transform_to_coefficients(values: &[T]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transcript` is never constructed [INFO] [stdout] --> src/concepts_protocols/fiat_shamir/transcript.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Transcript { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, and `sample_challenge` are never used [INFO] [stdout] --> src/concepts_protocols/fiat_shamir/transcript.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Transcript { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn append(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn sample_challenge(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericTranscript` is never constructed [INFO] [stdout] --> src/concepts_protocols/fiat_shamir/transcript.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct GenericTranscript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, and `generate_challenge` are never used [INFO] [stdout] --> src/concepts_protocols/fiat_shamir/transcript.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl GenericTranscript { [INFO] [stdout] | ------------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 39 | pub fn new(hash_function: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn append(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn generate_challenge(&mut self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `absorb` and `squeeze` are never used [INFO] [stdout] --> src/concepts_protocols/fiat_shamir/transcript.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait GenericHashFunctionTrait { [INFO] [stdout] | ------------------------ methods in this trait [INFO] [stdout] 60 | fn absorb(&mut self, data: &[u8]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | fn squeeze(&self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShamirProtocol` is never constructed [INFO] [stdout] --> src/concepts_protocols/shamir_protocol_at_zero.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ShamirProtocol { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_shares`, `verify_shares`, and `reconstruct_secret` are never used [INFO] [stdout] --> src/concepts_protocols/shamir_protocol_at_zero.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ShamirProtocol { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(quorom: u32, number_of_shares: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn generate_shares(&self, secret: T) -> Vec<(T, T)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn verify_shares(&self, shares: &[(T, T)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn reconstruct_secret(&self, shares: &[(T, T)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SumCheckProof` is never constructed [INFO] [stdout] --> src/concepts_protocols/sumcheck_protocol.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SumCheckProof { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prover` is never constructed [INFO] [stdout] --> src/concepts_protocols/sumcheck_protocol.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Prover { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_evaluation_points`, `generate_univariate_poly_steps`, and `generate_sumcheck_proof` are never used [INFO] [stdout] --> src/concepts_protocols/sumcheck_protocol.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Prover { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(poly: MultiLinearPolynomial) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn generate_evaluation_points( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn generate_univariate_poly_steps(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate_sumcheck_proof(&self) -> SumCheckProof { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Verifier` is never constructed [INFO] [stdout] --> src/concepts_protocols/sumcheck_protocol.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct Verifier { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `perform_oracle_check`, and `verify_proof` are never used [INFO] [stdout] --> src/concepts_protocols/sumcheck_protocol.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl Verifier { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 96 | pub fn new(poly: MultiLinearPolynomial) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn perform_oracle_check( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn verify_proof(&self, proof: SumCheckProof) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiLinearPolynomial` is never constructed [INFO] [stdout] --> src/polynomials/multilinear_polynomial.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MultiLinearPolynomial { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiLinearPolynomial` 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: multiple associated items are never used [INFO] [stdout] --> src/polynomials/multilinear_polynomial.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MultiLinearPolynomial { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(evaluation_points: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_evaluation_points(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn number_of_variables(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_flipped_bit_with_bitwise_or( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn partially_evaluate(&self, variable: (usize, T)) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn evaluate(&self, points: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn evaluation_sum(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn operate_w( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn w_add( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn w_mul(&self, other: &MultiLinearPolynomial) -> MultiLinearPolynomial { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnivariatePolynomial` is never constructed [INFO] [stdout] --> src/polynomials/univariate_polynomial.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UnivariatePolynomial { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnivariatePolynomial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evaluate`, `interpolate`, `scalar_mul`, `mul`, and `add` are never used [INFO] [stdout] --> src/polynomials/univariate_polynomial.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl UnivariatePolynomial { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(coefficients: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn evaluate(&self, x: T) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn interpolate(x_points: Vec, y_points: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn scalar_mul(&self, num: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn mul(&self, p2: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn add(&self, p2: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.44s [INFO] running `Command { std: "docker" "inspect" "cc2d55f433b46f3b50aa73ea517912d99a2e607916791ddf73b6058038346877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2d55f433b46f3b50aa73ea517912d99a2e607916791ddf73b6058038346877", kill_on_drop: false }` [INFO] [stdout] cc2d55f433b46f3b50aa73ea517912d99a2e607916791ddf73b6058038346877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81629f92ea215e0bfbfb446b42a69412a86a3ca543f8dfcc7494ec1457e9c0d1 [INFO] running `Command { std: "docker" "start" "-a" "81629f92ea215e0bfbfb446b42a69412a86a3ca543f8dfcc7494ec1457e9c0d1", kill_on_drop: false }` [INFO] [stderr] Compiling zk-cohort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `w_i` is never used [INFO] [stdout] --> src/concepts_protocols/arithmetic_gate/circuit.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Circuit { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn w_i(&self, layer_idx: usize) -> MultiLinearPolynomial { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "81629f92ea215e0bfbfb446b42a69412a86a3ca543f8dfcc7494ec1457e9c0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81629f92ea215e0bfbfb446b42a69412a86a3ca543f8dfcc7494ec1457e9c0d1", kill_on_drop: false }` [INFO] [stdout] 81629f92ea215e0bfbfb446b42a69412a86a3ca543f8dfcc7494ec1457e9c0d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] add31693003ccb11429ebc069e28120b2533cd5efe80f3436e280c4a548d78ac [INFO] running `Command { std: "docker" "start" "-a" "add31693003ccb11429ebc069e28120b2533cd5efe80f3436e280c4a548d78ac", kill_on_drop: false }` [INFO] [stderr] warning: method `w_i` is never used [INFO] [stderr] --> src/concepts_protocols/arithmetic_gate/circuit.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Circuit { [INFO] [stderr] | ------------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn w_i(&self, layer_idx: usize) -> MultiLinearPolynomial { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `zk-cohort` (bin "zk-cohort" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zk_cohort-1d44e699626bd573) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test concepts_protocols::arithmetic_gate::circuit::tests::test_mul_i ... ok [INFO] [stdout] test concepts_protocols::fft::test::test_fft_and_ifft ... ok [INFO] [stdout] test concepts_protocols::fiat_shamir::transcript::test::test_generic_transcript ... ok [INFO] [stdout] test concepts_protocols::fiat_shamir::transcript::test::test_hardcoded_transcript ... ok [INFO] [stdout] test concepts_protocols::arithmetic_gate::circuit::tests::arithmetic_gate_test ... ok [INFO] [stdout] test concepts_protocols::arithmetic_gate::circuit::tests::test_add_i ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol::test::test_generate_shares ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol::test::test_reconstruct_secret_enough_and_right ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol_at_zero::test::test_generate_shares ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol_at_zero::test::test_reconstruct_secret_not_enough ... ok [INFO] [stdout] test concepts_protocols::sumcheck_protocol::test::test_failure ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol_at_zero::test::test_reconstruct_secret_enough_but_wrong ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol::test::test_reconstruct_secret_enough_but_wrong ... ok [INFO] [stdout] test concepts_protocols::sumcheck_protocol::test::test_hash ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol::test::test_reconstruct_secret_not_enough ... ok [INFO] [stdout] test concepts_protocols::shamir_protocol_at_zero::test::test_reconstruct_secret_enough_and_right ... ok [INFO] [stdout] test polynomials::univariate_polynomial::test::test_evaluate ... ok [INFO] [stdout] test polynomials::multilinear_polynomial::test::test_evaluate_4_variables ... ok [INFO] [stdout] test polynomials::multilinear_polynomial::test::test_partially_evaluate_4_variables_incomplete_points ... ok [INFO] [stdout] test polynomials::multilinear_polynomial::test::test_operation_ws ... ok [INFO] [stdout] test polynomials::multilinear_polynomial::test::test_partially_evaluate_3_variables_incomplete_points ... ok [INFO] [stdout] test polynomials::univariate_polynomial::test::test_interpolate ... ok [INFO] [stdout] test polynomials::univariate_polynomial::test::test_interpolate_2 ... ok [INFO] [stdout] test polynomials::univariate_polynomial::test::test_mul ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "add31693003ccb11429ebc069e28120b2533cd5efe80f3436e280c4a548d78ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add31693003ccb11429ebc069e28120b2533cd5efe80f3436e280c4a548d78ac", kill_on_drop: false }` [INFO] [stdout] add31693003ccb11429ebc069e28120b2533cd5efe80f3436e280c4a548d78ac