[INFO] cloning repository https://github.com/driemworks/LWE-encryption [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/driemworks/LWE-encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdriemworks%2FLWE-encryption", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdriemworks%2FLWE-encryption'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f8f957ce2d1a32f6ecfc290bca534270856798a [INFO] checking driemworks/LWE-encryption against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdriemworks%2FLWE-encryption" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/driemworks/LWE-encryption on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/driemworks/LWE-encryption [INFO] finished tweaking git repo https://github.com/driemworks/LWE-encryption [INFO] tweaked toml for git repo https://github.com/driemworks/LWE-encryption written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/driemworks/LWE-encryption 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" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21812bdc2235106a8e3eb7670df08a457362faad7c693690d2ee1b9048b1d8d6 [INFO] running `Command { std: "docker" "start" "-a" "21812bdc2235106a8e3eb7670df08a457362faad7c693690d2ee1b9048b1d8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21812bdc2235106a8e3eb7670df08a457362faad7c693690d2ee1b9048b1d8d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21812bdc2235106a8e3eb7670df08a457362faad7c693690d2ee1b9048b1d8d6", kill_on_drop: false }` [INFO] [stdout] 21812bdc2235106a8e3eb7670df08a457362faad7c693690d2ee1b9048b1d8d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a20b87df05ea25c877d100d67479877bb104740ca8c1216d70b28fed126c84 [INFO] running `Command { std: "docker" "start" "-a" "e7a20b87df05ea25c877d100d67479877bb104740ca8c1216d70b28fed126c84", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling num-integer v0.1.45 [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 paste v1.0.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rug v1.22.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking regev-pqc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DMatrix`, `DVector` [INFO] [stdout] --> src/lib.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{DMatrix, DVector}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DMatrix`, `DVector` [INFO] [stdout] --> src/lib.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{DMatrix, DVector}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Range` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Range` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/lib.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use ark_std::{Zero, UniformRand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/lib.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use ark_std::{Zero, UniformRand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigInt`, `PrimeField` [INFO] [stdout] --> src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use ark_ff::{BigInt, fields::Field, PrimeField}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigInt`, `PrimeField` [INFO] [stdout] --> src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use ark_ff::{BigInt, fields::Field, PrimeField}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 159 | panic!("{:?}, {:?}", b_i, dot_product); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 160 | return false; [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 159 | panic!("{:?}, {:?}", b_i, dot_product); [INFO] [stdout] | -------------------------------------- any code following this expression is unreachable [INFO] [stdout] 160 | return false; [INFO] [stdout] | ^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type Matrix = Vec>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PublicKey` is never used [INFO] [stdout] --> src/lib.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type PublicKey = (Matrix, Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SecretKey` is never used [INFO] [stdout] --> src/lib.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type SecretKey = Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LWE` is never constructed [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct LWE { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `keygen` and `public_key` are never used [INFO] [stdout] --> src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl LWE { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | fn keygen( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn public_key(&self, mut rng: R) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample` is never used [INFO] [stdout] --> src/lib.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn sample( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_public_key_correct` is never used [INFO] [stdout] --> src/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn is_public_key_correct(a: &Matrix, b: &Vec, sk: &SecretKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "e7a20b87df05ea25c877d100d67479877bb104740ca8c1216d70b28fed126c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a20b87df05ea25c877d100d67479877bb104740ca8c1216d70b28fed126c84", kill_on_drop: false }` [INFO] [stdout] e7a20b87df05ea25c877d100d67479877bb104740ca8c1216d70b28fed126c84