[INFO] cloning repository https://github.com/ronin207/loquat-vc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronin207/loquat-vc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronin207%2Floquat-vc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronin207%2Floquat-vc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85956e5bbce1862a1d7d1f4c8c9d0e7f27e891b0 [INFO] checking ronin207/loquat-vc against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronin207%2Floquat-vc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ronin207/loquat-vc on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ronin207/loquat-vc [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ronin207/loquat-vc [INFO] tweaked toml for git repo https://github.com/ronin207/loquat-vc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ronin207/loquat-vc 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa2b04272ba86f6e431ad95b6413122d9d054156f680d28b6af61dfab53ec7a9 [INFO] running `Command { std: "docker" "start" "-a" "aa2b04272ba86f6e431ad95b6413122d9d054156f680d28b6af61dfab53ec7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa2b04272ba86f6e431ad95b6413122d9d054156f680d28b6af61dfab53ec7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2b04272ba86f6e431ad95b6413122d9d054156f680d28b6af61dfab53ec7a9", kill_on_drop: false }` [INFO] [stdout] aa2b04272ba86f6e431ad95b6413122d9d054156f680d28b6af61dfab53ec7a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8009a4d5b07e1b03d23aacc7a5324ccee6c305c75111e5b31eacd00675b3744 [INFO] running `Command { std: "docker" "start" "-a" "a8009a4d5b07e1b03d23aacc7a5324ccee6c305c75111e5b31eacd00675b3744", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking loquat-vc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `hash_functions::Hash` and `polynomial::Polynomial` [INFO] [stdout] --> src/crypto/snark.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::crypto::{legendre_prf::LegendrePRF, polynomial::Polynomial, hash_functions::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One` and `Zero` [INFO] [stdout] --> src/crypto/snark.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::{Zero, One}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/crypto/merkle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keccak` [INFO] [stdout] --> src/crypto/hash_functions.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tiny_keccak::{Hasher, Keccak}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Zero` [INFO] [stdout] --> src/crypto/hash_functions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/crypto/hash_functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToPrimitive` and `Zero` [INFO] [stdout] --> src/proof_system/snark_integration.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/proof_system/snark_integration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoquatKeyPair`, `LoquatSignature`, and `Loquat` [INFO] [stdout] --> src/signature/ring_signature.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signature::loquat::{Loquat, LoquatSignature, LoquatKeyPair}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::ToPrimitive` [INFO] [stdout] --> src/signature/ring_signature.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoquatKeyPair` and `Loquat` [INFO] [stdout] --> src/signature/aggregate.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::signature::loquat::{Loquat, LoquatSignature, LoquatKeyPair}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/signature/loquat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Mul`, and `Sub` [INFO] [stdout] --> src/utils/field_operations.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash_functions::Hash` and `polynomial::Polynomial` [INFO] [stdout] --> src/crypto/snark.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::crypto::{legendre_prf::LegendrePRF, polynomial::Polynomial, hash_functions::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One` and `Zero` [INFO] [stdout] --> src/crypto/snark.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::{Zero, One}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/crypto/merkle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keccak` [INFO] [stdout] --> src/crypto/hash_functions.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tiny_keccak::{Hasher, Keccak}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Zero` [INFO] [stdout] --> src/crypto/hash_functions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/crypto/hash_functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToPrimitive` and `Zero` [INFO] [stdout] --> src/proof_system/snark_integration.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/proof_system/snark_integration.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoquatKeyPair` and `LoquatSignature` [INFO] [stdout] --> src/signature/ring_signature.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signature::loquat::{Loquat, LoquatSignature, LoquatKeyPair}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::ToPrimitive` [INFO] [stdout] --> src/signature/ring_signature.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoquatKeyPair` [INFO] [stdout] --> src/signature/aggregate.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::signature::loquat::{Loquat, LoquatSignature, LoquatKeyPair}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/signature/loquat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/crypto/hash_functions.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use tiny_keccak::{Hasher, Keccak}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_input` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `witness` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn prepare_constraints(&self, instance: &LoquatPIOPInstance) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_input` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `witness` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:152:55 [INFO] [stdout] | [INFO] [stdout] 152 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signer_index` [INFO] [stdout] --> src/signature/ring_signature.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | signer_index: usize [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signer_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_int` [INFO] [stdout] --> src/signature/ring_signature.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let message_int = BigUint::from_bytes_be(&hash); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/signature/aggregate.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | for (pk, msg) in public_keys.iter().zip(messages.iter()) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `public_parameters` is never read [INFO] [stdout] --> src/crypto/snark.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SNARKVerifier { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | public_parameters: BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash_function` is never read [INFO] [stdout] --> src/crypto/merkle.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MerkleTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | hash_function: HashFunction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleTree` 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: field `poseidon` is never read [INFO] [stdout] --> src/proof_system/piop_compiler.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct AuroraFractalPIOPCompiler { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 116 | _field: PhantomData, [INFO] [stdout] 117 | poseidon: PoseidonHash, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `P` is never used [INFO] [stdout] --> src/proof_system/snark_integration.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const P: u128 = (1 << 127) - 1; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `claimed_sum` is never read [INFO] [stdout] --> src/proof_system/snark_integration.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SNARKVerifier { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 34 | claimed_sum: BigUint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `claimed_sum` is never read [INFO] [stdout] --> src/proof_system/univariate_sumcheck.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SumcheckVerifier { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | claimed_sum: BigUint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_sub` is never used [INFO] [stdout] --> src/signature/ring_signature.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn mod_sub(a: &BigUint, b: &BigUint, modulus: &BigUint) -> BigUint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_mul` is never used [INFO] [stdout] --> src/signature/ring_signature.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn mod_mul(a: &BigUint, b: &BigUint, modulus: &BigUint) -> BigUint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_exp` is never used [INFO] [stdout] --> src/signature/ring_signature.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn mod_exp(base: &BigUint, exponent: &BigUint, modulus: &BigUint) -> BigUint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/utils/field_operations.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/crypto/hash_functions.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use tiny_keccak::{Hasher, Keccak}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/utils/field_operations.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/utils/field_operations.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Mul, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/crypto/snark.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | for (i, statement) in statements.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_input` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `witness` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn prepare_constraints(&self, instance: &LoquatPIOPInstance) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_input` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `witness` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:152:55 [INFO] [stdout] | [INFO] [stdout] 152 | fn prove(&self, public_input: &Self::PublicInput, witness: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_witness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> src/proof_system/piop_compiler.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | fn verify(&self, instance: &Self::Instance, proof: &Self::Proof) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signer_index` [INFO] [stdout] --> src/signature/ring_signature.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | signer_index: usize [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signer_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_int` [INFO] [stdout] --> src/signature/ring_signature.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let message_int = BigUint::from_bytes_be(&hash); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk` [INFO] [stdout] --> src/signature/aggregate.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | for (pk, msg) in public_keys.iter().zip(messages.iter()) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `public_parameters` is never read [INFO] [stdout] --> src/crypto/snark.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SNARKVerifier { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | public_parameters: BigUint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hash_function` is never read [INFO] [stdout] --> src/crypto/merkle.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MerkleTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | hash_function: HashFunction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleTree` 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: field `poseidon` is never read [INFO] [stdout] --> src/proof_system/piop_compiler.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct AuroraFractalPIOPCompiler { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 116 | _field: PhantomData, [INFO] [stdout] 117 | poseidon: PoseidonHash, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `claimed_sum` is never read [INFO] [stdout] --> src/proof_system/snark_integration.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SNARKVerifier { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 34 | claimed_sum: BigUint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_sub` is never used [INFO] [stdout] --> src/proof_system/snark_integration.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | fn mod_sub(a: u128, b: u128) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_mul` is never used [INFO] [stdout] --> src/proof_system/snark_integration.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | fn mod_mul(a: u128, b: u128) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_pow` is never used [INFO] [stdout] --> src/proof_system/snark_integration.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | fn mod_pow(base: u128, exp: u128) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `biguint_to_u128` is never used [INFO] [stdout] --> src/proof_system/snark_integration.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 101 | fn biguint_to_u128(value: &BigUint) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `claimed_sum` is never read [INFO] [stdout] --> src/proof_system/univariate_sumcheck.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct SumcheckVerifier { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | claimed_sum: BigUint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_add` is never used [INFO] [stdout] --> src/proof_system/univariate_sumcheck.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | fn mod_add(a: &BigUint, b: &BigUint) -> BigUint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_sub` is never used [INFO] [stdout] --> src/proof_system/univariate_sumcheck.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | fn mod_sub(a: &BigUint, b: &BigUint) -> BigUint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_mul` is never used [INFO] [stdout] --> src/proof_system/univariate_sumcheck.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | fn mod_mul(a: &BigUint, b: &BigUint) -> BigUint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.80s [INFO] running `Command { std: "docker" "inspect" "a8009a4d5b07e1b03d23aacc7a5324ccee6c305c75111e5b31eacd00675b3744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8009a4d5b07e1b03d23aacc7a5324ccee6c305c75111e5b31eacd00675b3744", kill_on_drop: false }` [INFO] [stdout] a8009a4d5b07e1b03d23aacc7a5324ccee6c305c75111e5b31eacd00675b3744