[INFO] cloning repository https://github.com/kataokayuz0/ds2protocol_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kataokayuz0/ds2protocol_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkataokayuz0%2Fds2protocol_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkataokayuz0%2Fds2protocol_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 254c07675b51f7e8c4595b3b59553b5fe048da21 [INFO] testing kataokayuz0/ds2protocol_rust against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkataokayuz0%2Fds2protocol_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] finished tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] tweaked toml for git repo https://github.com/kataokayuz0/ds2protocol_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kataokayuz0/ds2protocol_rust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kataokayuz0/ds2protocol_rust 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing kataokayuz0/ds2protocol_rust against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkataokayuz0%2Fds2protocol_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] finished tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] tweaked toml for git repo https://github.com/kataokayuz0/ds2protocol_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kataokayuz0/ds2protocol_rust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kataokayuz0/ds2protocol_rust 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" "+beta-2025-09-21" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing kataokayuz0/ds2protocol_rust against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkataokayuz0%2Fds2protocol_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] finished tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] tweaked toml for git repo https://github.com/kataokayuz0/ds2protocol_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kataokayuz0/ds2protocol_rust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kataokayuz0/ds2protocol_rust 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" "+beta-2025-09-21" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing kataokayuz0/ds2protocol_rust against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkataokayuz0%2Fds2protocol_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] finished tweaking git repo https://github.com/kataokayuz0/ds2protocol_rust [INFO] tweaked toml for git repo https://github.com/kataokayuz0/ds2protocol_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kataokayuz0/ds2protocol_rust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kataokayuz0/ds2protocol_rust 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" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bc4f112baa225b78e467fd4b2bc5bae6f302d61134ab241121a8bad9ff73132 [INFO] running `Command { std: "docker" "start" "-a" "7bc4f112baa225b78e467fd4b2bc5bae6f302d61134ab241121a8bad9ff73132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bc4f112baa225b78e467fd4b2bc5bae6f302d61134ab241121a8bad9ff73132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc4f112baa225b78e467fd4b2bc5bae6f302d61134ab241121a8bad9ff73132", kill_on_drop: false }` [INFO] [stdout] 7bc4f112baa225b78e467fd4b2bc5bae6f302d61134ab241121a8bad9ff73132 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e93252b256539a2f5f40b9a53706cc597599aad9486adb649e821fe32b6d7b7d [INFO] running `Command { std: "docker" "start" "-a" "e93252b256539a2f5f40b9a53706cc597599aad9486adb649e821fe32b6d7b7d", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling rug v1.24.1 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling roots v0.0.7 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling wide v0.7.15 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ring-algorithm v0.6.1 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling primal-check v0.3.3 [INFO] [stderr] Compiling pqc_dilithium v0.2.0 [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 simba v0.8.1 [INFO] [stderr] Compiling pulp v0.18.12 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling concrete-ntt v0.1.2 [INFO] [stderr] Compiling num v0.4.2 [INFO] [stderr] Compiling rustnomial v0.3.2 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling auto-impl-ops v0.1.2 [INFO] [stderr] Compiling polynomial-ring v0.5.0 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling ds2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_bigint::Sign` [INFO] [stdout] --> src/bin/ds2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_bigint::Sign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigInt` [INFO] [stdout] --> src/bin/ds2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_bigint::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/bin/ds2.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::{One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/bin/ds2.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Assign` [INFO] [stdout] --> src/bin/ds2.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use rug::{Assign, Float}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/bin/gen.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Polynomial { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sample_yn` in this scope [INFO] [stdout] --> src/bin/sign.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | sample_yn = sampleyn(L, K, &sampler, Q, party_number); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | / fn sampleyn( [INFO] [stdout] 248 | | l: usize, [INFO] [stdout] 249 | | k: usize, [INFO] [stdout] 250 | | sampler: &GaussianSampler, [INFO] [stdout] ... | [INFO] [stdout] 260 | | .collect() [INFO] [stdout] 261 | | } [INFO] [stdout] | |_- similarly named function `sampleyn` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 - sample_yn = sampleyn(L, K, &sampler, Q, party_number); [INFO] [stdout] 62 + sampleyn = sampleyn(L, K, &sampler, Q, party_number); [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 62 | let sample_yn = sampleyn(L, K, &sampler, Q, party_number); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sampled_rn` in this scope [INFO] [stdout] --> src/bin/sign.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | sampled_rn = samplern(party_number, trapl, trapw, &sampler, Q); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | / fn samplern( [INFO] [stdout] 275 | | party_number: usize, [INFO] [stdout] 276 | | trapl: usize, [INFO] [stdout] 277 | | trapw: usize, [INFO] [stdout] ... | [INFO] [stdout] 287 | | .collect() [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- similarly named function `samplern` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 - sampled_rn = samplern(party_number, trapl, trapw, &sampler, Q); [INFO] [stdout] 64 + samplern = samplern(party_number, trapl, trapw, &sampler, Q); [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 64 | let sampled_rn = samplern(party_number, trapl, trapw, &sampler, Q); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `computed_zn` in this scope [INFO] [stdout] --> src/bin/sign.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | (computed_zn, csn) = compute_zn_ntt(&derived_challenge, &sn, &sample_yn); [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `computewn` [INFO] [stdout] ... [INFO] [stdout] 264 | / fn computewn( [INFO] [stdout] 265 | | a_bar: &Vec>, [INFO] [stdout] 266 | | sample_yn: &Vec>, [INFO] [stdout] 267 | | q: &i128, [INFO] [stdout] 268 | | ) -> Vec> { [INFO] [stdout] 269 | | multiply_polynomial_matrix_vector(a_bar, sample_yn, q) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- similarly named function `computewn` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `csn` in this scope [INFO] [stdout] --> src/bin/sign.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | (computed_zn, csn) = compute_zn_ntt(&derived_challenge, &sn, &sample_yn); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `derived_challenge` in this scope [INFO] [stdout] --> src/bin/sign.rs:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | (computed_zn, csn) = compute_zn_ntt(&derived_challenge, &sn, &sample_yn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sn` in this scope [INFO] [stdout] --> src/bin/sign.rs:75:66 [INFO] [stdout] | [INFO] [stdout] 75 | (computed_zn, csn) = compute_zn_ntt(&derived_challenge, &sn, &sample_yn); [INFO] [stdout] | ^^ help: a local variable with a similar name exists: `mn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sample_yn` in this scope [INFO] [stdout] --> src/bin/sign.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | (computed_zn, csn) = compute_zn_ntt(&derived_challenge, &sn, &sample_yn); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `sampleyn` [INFO] [stdout] ... [INFO] [stdout] 247 | / fn sampleyn( [INFO] [stdout] 248 | | l: usize, [INFO] [stdout] 249 | | k: usize, [INFO] [stdout] 250 | | sampler: &GaussianSampler, [INFO] [stdout] ... | [INFO] [stdout] 260 | | .collect() [INFO] [stdout] 261 | | } [INFO] [stdout] | |_- similarly named function `sampleyn` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `csn` in this scope [INFO] [stdout] --> src/bin/sign.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | match rejection_sample(&csn, &computed_zn, s, m_f64) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `computed_zn` in this scope [INFO] [stdout] --> src/bin/sign.rs:77:39 [INFO] [stdout] | [INFO] [stdout] 77 | match rejection_sample(&csn, &computed_zn, s, m_f64) { [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `computewn` [INFO] [stdout] ... [INFO] [stdout] 264 | / fn computewn( [INFO] [stdout] 265 | | a_bar: &Vec>, [INFO] [stdout] 266 | | sample_yn: &Vec>, [INFO] [stdout] 267 | | q: &i128, [INFO] [stdout] 268 | | ) -> Vec> { [INFO] [stdout] 269 | | multiply_polynomial_matrix_vector(a_bar, sample_yn, q) [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- similarly named function `computewn` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_rejec_zn_result` in this scope [INFO] [stdout] --> src/bin/sign.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | last_rejec_zn_result = Some(rejec_zn_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 80 - last_rejec_zn_result = Some(rejec_zn_result); [INFO] [stdout] 80 + rejec_zn_result = Some(rejec_zn_result); [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 80 | let last_rejec_zn_result = Some(rejec_zn_result); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_derived_challenge` in this scope [INFO] [stdout] --> src/bin/sign.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | last_derived_challenge = Some(derived_challenge.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 81 | let last_derived_challenge = Some(derived_challenge.clone()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `derived_challenge` in this scope [INFO] [stdout] --> src/bin/sign.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | last_derived_challenge = Some(derived_challenge.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_rejec_zn_result` in this scope [INFO] [stdout] --> src/bin/sign.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | (&last_rejec_zn_result, &last_derived_challenge) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_derived_challenge` in this scope [INFO] [stdout] --> src/bin/sign.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | (&last_rejec_zn_result, &last_derived_challenge) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sampled_rn` in this scope [INFO] [stdout] --> src/bin/sign.rs:109:75 [INFO] [stdout] | [INFO] [stdout] 109 | let (sign_zn, sign_rn) = compute_signature(&rejec_zn_result, &sampled_rn); [INFO] [stdout] | ^^^^^^^^^^ help: a function with a similar name exists: `samplern` [INFO] [stdout] ... [INFO] [stdout] 274 | / fn samplern( [INFO] [stdout] 275 | | party_number: usize, [INFO] [stdout] 276 | | trapl: usize, [INFO] [stdout] 277 | | trapw: usize, [INFO] [stdout] ... | [INFO] [stdout] 287 | | .collect() [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- similarly named function `samplern` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:152:80 [INFO] [stdout] | [INFO] [stdout] 152 | fn gaussian_sample_polynomial_for_yn_rn(sampler: &GaussianSampler, q: i128) -> Polynomial { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/sign.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | Polynomial::new(coeffs, q) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | matrix: &[Vec], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | vector: &[Vec], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/sign.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | let mut result_poly = Polynomial::new(vec![0; matrix_row[0].coeffs.len()], *mod_value); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | a_bar: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | sample_yn: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | .collect::>() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | derived_challenge: &Polynomial, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:524:18 [INFO] [stdout] | [INFO] [stdout] 524 | sn: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:525:25 [INFO] [stdout] | [INFO] [stdout] 525 | sample_yn: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 526 | ) -> (Vec>, Vec>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | ) -> (Vec>, Vec>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:527:22 [INFO] [stdout] | [INFO] [stdout] 527 | let csn: Vec> = sn [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:540:30 [INFO] [stdout] | [INFO] [stdout] 540 | let computed_zn: Vec> = csn [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | csn_list: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:561:23 [INFO] [stdout] | [INFO] [stdout] 561 | zn_list: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | ) -> Result>, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:565:44 [INFO] [stdout] | [INFO] [stdout] 565 | let mut rejec_zn_party_result: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | fn polynomial_to_f64_vec(poly: &Polynomial) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | fn validate_zn(zn_result: &Vec>, large_b: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:795:31 [INFO] [stdout] | [INFO] [stdout] 795 | rejec_zn_result: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:796:22 [INFO] [stdout] | [INFO] [stdout] 796 | sampled_rn: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:797:11 [INFO] [stdout] | [INFO] [stdout] 797 | ) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:797:28 [INFO] [stdout] | [INFO] [stdout] 797 | ) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:805:54 [INFO] [stdout] | [INFO] [stdout] 805 | fn sum_polynomials_by_index(sampled_vector: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/sign.rs:805:75 [INFO] [stdout] | [INFO] [stdout] 805 | fn sum_polynomials_by_index(sampled_vector: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/sign.rs:812:14 [INFO] [stdout] | [INFO] [stdout] 812 | vec![Polynomial::new(vec![], sampled_vector[0][0].mod_val.clone()); num_polynomials]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uniform` [INFO] [stdout] --> src/bin/sign.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use rand_distr::{Distribution, Normal, Uniform}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/bin/sign.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/bin/sign.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Assign` [INFO] [stdout] --> src/bin/sign.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rug::{Assign, Float}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a_bar` in this scope [INFO] [stdout] --> src/bin/verify.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | &a_bar, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `derived_challenge` in this scope [INFO] [stdout] --> src/bin/verify.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | derived_challenge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pk_copy` in this scope [INFO] [stdout] --> src/bin/verify.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | &pk_copy, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kappa_usize` in this scope [INFO] [stdout] --> src/bin/verify.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | &kappa_usize, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sign_zn` in this scope [INFO] [stdout] --> src/bin/verify.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &sign_zn, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `com` in this scope [INFO] [stdout] --> src/bin/verify.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | &com, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/bin/verify.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | &message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trapl` in this scope [INFO] [stdout] --> src/bin/verify.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | &trapl, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trapw` in this scope [INFO] [stdout] --> src/bin/verify.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | &trapw, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t_sum` in this scope [INFO] [stdout] --> src/bin/verify.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &t_sum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sign_zn` in this scope [INFO] [stdout] --> src/bin/verify.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | &sign_zn, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `com` in this scope [INFO] [stdout] --> src/bin/verify.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | &com, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sign_rn` in this scope [INFO] [stdout] --> src/bin/verify.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | &sign_rn, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ahat` in this scope [INFO] [stdout] --> src/bin/verify.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | &ahat, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `large_b` in this scope [INFO] [stdout] --> src/bin/verify.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | large_b, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `party_number` in this scope [INFO] [stdout] --> src/bin/verify.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | party_number, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | a_bar: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | challenge: &Polynomial, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pk: &(Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | pk: &(Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | sign_zn: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | com: &Vec>>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | t_sum: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let ready_w_left: Vec = multiply_polynomial_matrix_with_vector(a_bar, sign_zn, q); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let recon_wn_right: Vec = t_sum [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let ver_w: Vec = ready_w_left [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | fn c_gen(message: &str, pk: &(Vec, Vec), q: i128, trapl: &usize, trapw: &usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | fn c_gen(message: &str, pk: &(Vec, Vec), q: i128, trapl: &usize, trapw: &usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:93:116 [INFO] [stdout] | [INFO] [stdout] 93 | fn c_gen(message: &str, pk: &(Vec, Vec), q: i128, trapl: &usize, trapw: &usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | Polynomial::new(vec![0], q), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Polynomial::new(vec![1], q), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Polynomial { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | Polynomial::new(coeffs, q) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | let mut matrices: Vec> = Vec::with_capacity(party_number); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | let matrix: Vec = (0..k * l) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | let ahat1_1: Vec> = vec![vec![gaussian_sample_polynomial(rng, q)]]; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | com: &Vec>>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | pk: &(Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | pk: &(Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:181:6 [INFO] [stdout] | [INFO] [stdout] 181 | ) -> Polynomial { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | Polynomial::new(coeffs, q.clone()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | a_bar: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | vector: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | let mut sum_poly = Polynomial::new(vec![0], q.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | sign_zn: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | com: &Vec>>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | sign_rn: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | ver_w: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | ahat: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:285:60 [INFO] [stdout] | [INFO] [stdout] 285 | fn calculate_norms_for_polynomial_vector(polynomials: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:310:19 [INFO] [stdout] | [INFO] [stdout] 310 | sign_rn: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | ver_w: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | com: &Vec>>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | ahat: &Vec>, // Ahatを加える [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:323:37 [INFO] [stdout] | [INFO] [stdout] 323 | let temp_matrix_zero = vec![Polynomial::new(vec![0], ahat[0][0].mod_val.clone()); cols]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:339:20 [INFO] [stdout] | [INFO] [stdout] 339 | ahat: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | sampled_poly: &Polynomial, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Polynomial` [INFO] [stdout] --> src/bin/verify.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | let mut sum_poly = Polynomial::new(vec![0], sampled_poly.mod_val.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Polynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:363:23 [INFO] [stdout] | [INFO] [stdout] 363 | matrix_zero: &Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:364:19 [INFO] [stdout] | [INFO] [stdout] 364 | reconted_wj: &Polynomial, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:365:14 [INFO] [stdout] | [INFO] [stdout] 365 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | matrix1: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | matrix2: &Vec>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polynomial` in this scope [INFO] [stdout] --> src/bin/verify.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use polynomial_ring::Polynomial; [INFO] [stdout] | [INFO] [stdout] 1 + use rustnomial::Polynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/bin/verify.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::{One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Normal` and `Uniform` [INFO] [stdout] --> src/bin/verify.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use rand_distr::{Distribution, Normal, Uniform}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/bin/verify.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pow` [INFO] [stdout] --> src/bin/verify.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use rug::ops::{Pow}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_rejec_zn_result` is never read [INFO] [stdout] --> src/bin/ds2.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut last_rejec_zn_result: Option>> = None; [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 `last_derived_challenge` is never read [INFO] [stdout] --> src/bin/ds2.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut last_derived_challenge: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sampled_rn` is never read [INFO] [stdout] --> src/bin/ds2.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut sampled_rn: Vec>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `comn_per_party` is never read [INFO] [stdout] --> src/bin/ds2.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut comn_per_party: Vec>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ahat` is never read [INFO] [stdout] --> src/bin/ds2.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut ahat: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wn` is never read [INFO] [stdout] --> src/bin/ds2.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut wn: Vec> = Vec::new(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `com` is never read [INFO] [stdout] --> src/bin/ds2.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let mut com: Vec>> = Vec::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `computed_zn` is never read [INFO] [stdout] --> src/bin/ds2.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let mut computed_zn: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/bin/ds2.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut csn: Vec> = Vec::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sample_yn` is never read [INFO] [stdout] --> src/bin/ds2.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut sample_yn: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/bin/ds2.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let rows = sampled_rn.len(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 187 | let _rows = sampled_rn.len(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 187 - let rows = sampled_rn.len(); [INFO] [stdout] 187 + let N = sampled_rn.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/bin/ds2.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let cols = sampled_rn[0].len(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 188 | let _cols = sampled_rn[0].len(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 188 - let cols = sampled_rn[0].len(); [INFO] [stdout] 188 + let N = sampled_rn[0].len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero` [INFO] [stdout] --> src/bin/ds2.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | let (zero, comn) = result; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/bin/ds2.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let rows = rejec_zn_result.len(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 226 | let _rows = rejec_zn_result.len(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 226 - let rows = rejec_zn_result.len(); [INFO] [stdout] 226 + let N = rejec_zn_result.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/bin/ds2.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | let cols = rejec_zn_result[0].len(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 227 | let _cols = rejec_zn_result[0].len(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 227 - let cols = rejec_zn_result[0].len(); [INFO] [stdout] 227 + let N = rejec_zn_result[0].len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ds2.rs:1053:25 [INFO] [stdout] | [INFO] [stdout] 1053 | let mut product = derived_challenge.clone().mul_ntt(&poly.clone()); // derived_challengeをcloneして乗算 [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi` [INFO] [stdout] --> src/bin/ds2.rs:1133:9 [INFO] [stdout] | [INFO] [stdout] 1133 | let pi = Float::with_val(precision, std::f64::consts::PI); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/bin/sign.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ds2.rs:1227:25 [INFO] [stdout] | [INFO] [stdout] 1227 | let mut product = challenge.clone().mul_ntt(&tn_poly.clone()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ds2.rs:1243:21 [INFO] [stdout] | [INFO] [stdout] 1243 | let mut result = addition_poly.clone().sub(recon_wn_right_poly.clone()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/bin/ds2.rs:1263:10 [INFO] [stdout] | [INFO] [stdout] 1263 | for (j, (temp_reconted_wj, temp_sampled_rn)) in reconted_wj.iter().zip(sampled_rn.iter()).enumerate() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1263 | for (_j, (temp_reconted_wj, temp_sampled_rn)) in reconted_wj.iter().zip(sampled_rn.iter()).enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 1263 - for (j, (temp_reconted_wj, temp_sampled_rn)) in reconted_wj.iter().zip(sampled_rn.iter()).enumerate() { [INFO] [stdout] 1263 + for (N, (temp_reconted_wj, temp_sampled_rn)) in reconted_wj.iter().zip(sampled_rn.iter()).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ready_ck` [INFO] [stdout] --> src/bin/ds2.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | let ready_ck = c_gen(message, &pk, Q, trapl, trapw); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ready_ck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ready_derived_challenge` [INFO] [stdout] --> src/bin/ds2.rs:1396:9 [INFO] [stdout] | [INFO] [stdout] 1396 | let ready_derived_challenge = h0(&com, message, &pk, N, kappa, &Q); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ready_derived_challenge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/ds2.rs:1406:17 [INFO] [stdout] | [INFO] [stdout] 1406 | let mut product = challenge.clone().mul_ntt(tsum_poly); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ds2` (bin "sign") due to 47 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ds2` (bin "verify") due to 69 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e93252b256539a2f5f40b9a53706cc597599aad9486adb649e821fe32b6d7b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93252b256539a2f5f40b9a53706cc597599aad9486adb649e821fe32b6d7b7d", kill_on_drop: false }` [INFO] [stdout] e93252b256539a2f5f40b9a53706cc597599aad9486adb649e821fe32b6d7b7d