[INFO] cloning repository https://github.com/hamadakafu/lattice-based-cryptography [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamadakafu/lattice-based-cryptography" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamadakafu%2Flattice-based-cryptography", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamadakafu%2Flattice-based-cryptography'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1dce496fd13238919bccf752b1f6aaea280ca99 [INFO] testing hamadakafu/lattice-based-cryptography against try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamadakafu%2Flattice-based-cryptography" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamadakafu/lattice-based-cryptography on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamadakafu/lattice-based-cryptography [INFO] finished tweaking git repo https://github.com/hamadakafu/lattice-based-cryptography [INFO] tweaked toml for git repo https://github.com/hamadakafu/lattice-based-cryptography written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hamadakafu/lattice-based-cryptography 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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb7535c5a30263f823c943dc9baaacf6239abaaf8a5ec457933096eb625a611f [INFO] running `Command { std: "docker" "start" "-a" "cb7535c5a30263f823c943dc9baaacf6239abaaf8a5ec457933096eb625a611f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb7535c5a30263f823c943dc9baaacf6239abaaf8a5ec457933096eb625a611f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7535c5a30263f823c943dc9baaacf6239abaaf8a5ec457933096eb625a611f", kill_on_drop: false }` [INFO] [stdout] cb7535c5a30263f823c943dc9baaacf6239abaaf8a5ec457933096eb625a611f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9deb85ab509bd8174e0f56a8dd55c13c40d8b8fbec9bee86ceffa54a85a5cb51 [INFO] running `Command { std: "docker" "start" "-a" "9deb85ab509bd8174e0f56a8dd55c13c40d8b8fbec9bee86ceffa54a85a5cb51", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling lattice-based-cryptography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DivAssign`, `Div` [INFO] [stdout] --> src/cyclotomic.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lattice` is never constructed [INFO] [stdout] --> src/lattice.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Lattice { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lattice.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(m: usize, q: i64, delta: f64, p: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_sk` is never used [INFO] [stdout] --> src/lattice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn gen_sk(&self) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_pk` is never used [INFO] [stdout] --> src/lattice.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn gen_pk(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_switch_key` is never used [INFO] [stdout] --> src/lattice.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn gen_switch_key(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/lattice.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/lattice.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn decode(&self, sk: Cyclotomic, c: CryptMessage) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.82s [INFO] running `Command { std: "docker" "inspect" "9deb85ab509bd8174e0f56a8dd55c13c40d8b8fbec9bee86ceffa54a85a5cb51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9deb85ab509bd8174e0f56a8dd55c13c40d8b8fbec9bee86ceffa54a85a5cb51", kill_on_drop: false }` [INFO] [stdout] 9deb85ab509bd8174e0f56a8dd55c13c40d8b8fbec9bee86ceffa54a85a5cb51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1eed20e6d0cf9cd82aa9af61c22801ce6b0a98c5f26ff8bc91f547ce1b40101c [INFO] running `Command { std: "docker" "start" "-a" "1eed20e6d0cf9cd82aa9af61c22801ce6b0a98c5f26ff8bc91f547ce1b40101c", kill_on_drop: false }` [INFO] [stderr] Compiling lattice-based-cryptography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DivAssign`, `Div` [INFO] [stdout] --> src/cyclotomic.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lattice` is never constructed [INFO] [stdout] --> src/lattice.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Lattice { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lattice.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(m: usize, q: i64, delta: f64, p: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_sk` is never used [INFO] [stdout] --> src/lattice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn gen_sk(&self) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_pk` is never used [INFO] [stdout] --> src/lattice.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn gen_pk(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_switch_key` is never used [INFO] [stdout] --> src/lattice.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn gen_switch_key(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `encode` is never used [INFO] [stdout] --> src/lattice.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn encode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/lattice.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn decode(&self, sk: Cyclotomic, c: CryptMessage) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DivAssign`, `Div` [INFO] [stdout] --> src/cyclotomic.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_sk` is never used [INFO] [stdout] --> src/lattice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn gen_sk(&self) -> Cyclotomic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gen_pk` is never used [INFO] [stdout] --> src/lattice.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn gen_pk(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "1eed20e6d0cf9cd82aa9af61c22801ce6b0a98c5f26ff8bc91f547ce1b40101c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eed20e6d0cf9cd82aa9af61c22801ce6b0a98c5f26ff8bc91f547ce1b40101c", kill_on_drop: false }` [INFO] [stdout] 1eed20e6d0cf9cd82aa9af61c22801ce6b0a98c5f26ff8bc91f547ce1b40101c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1f63e458d7b8086c624e50bd95b7ccc10a40c1196cc90ed5eb8e2ed3223fa3b3 [INFO] running `Command { std: "docker" "start" "-a" "1f63e458d7b8086c624e50bd95b7ccc10a40c1196cc90ed5eb8e2ed3223fa3b3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DivAssign`, `Div` [INFO] [stderr] --> src/cyclotomic.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}, [INFO] [stderr] | ^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Lattice` is never constructed [INFO] [stderr] --> src/lattice.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Lattice { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/lattice.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(m: usize, q: i64, delta: f64, p: i64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `gen_sk` is never used [INFO] [stderr] --> src/lattice.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn gen_sk(&self) -> Cyclotomic { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `gen_pk` is never used [INFO] [stderr] --> src/lattice.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn gen_pk(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `gen_switch_key` is never used [INFO] [stderr] --> src/lattice.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn gen_switch_key(&self, sk: &Cyclotomic) -> (Cyclotomic, Cyclotomic) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `encode` is never used [INFO] [stderr] --> src/lattice.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn encode( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `decode` is never used [INFO] [stderr] --> src/lattice.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn decode(&self, sk: Cyclotomic, c: CryptMessage) -> Cyclotomic { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `gen_sk` is never used [INFO] [stderr] --> src/lattice.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn gen_sk(&self) -> Cyclotomic { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lattice-based-cryptography` (lib) generated 8 warnings [INFO] [stderr] warning: `lattice-based-cryptography` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/lattice_based_cryptography-e4fb99edf03071ec) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test lattice::tests::bench_add_m3_q257_delta2_p503 ... ok [INFO] [stdout] test cyclotomic::tests::test_mul_m3_p65 ... ok [INFO] [stdout] test cyclotomic::tests::test_neg_mul_m3_p65 ... ok [INFO] [stdout] test lattice::tests::bench_m3_q101_delta2_p101 ... ok [INFO] [stdout] test cyclotomic::tests::test_add_m3_q65 ... ok [INFO] [stdout] test lattice::tests::test_add_m3_q257_delta2_p259 ... ok [INFO] [stdout] test lattice::tests::test_m3_q65_delta2_p67 ... ok [INFO] [stdout] test lattice::tests::bench_mul_m3_q257_delta1_p259 ... ok [INFO] [stdout] test lattice::tests::test_mul_m3_q257_delta2_p259 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- lattice::tests::test_mul_m3_q257_delta2_p259 stdout ---- [INFO] [stdout] [src/lattice.rs:147] &hat_mes = Cyclotomic { [INFO] [stdout] m: 3, [INFO] [stdout] coefficients: [ [INFO] [stdout] 0, [INFO] [stdout] 0, [INFO] [stdout] ], [INFO] [stdout] q: Some( [INFO] [stdout] 2, [INFO] [stdout] ), [INFO] [stdout] } [INFO] [stdout] thread 'lattice::tests::test_mul_m3_q257_delta2_p259' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Cyclotomic { m: 3, coefficients: [1, 0], q: None }`, [INFO] [stdout] right: `Cyclotomic { m: 3, coefficients: [0, 0], q: Some(2) }`', src/lattice.rs:148:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x80da361 - std::backtrace_rs::backtrace::libunwind::trace::hd97f390175e4d375 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x80da361 - std::backtrace_rs::backtrace::trace_unsynchronized::h9e4d1346fdbe15c5 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x80da361 - std::sys_common::backtrace::_print_fmt::h2d3f477d48c20ea8 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x80da361 - ::fmt::h2e4fc3d0b8c80e4b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x811743c - core::fmt::write::h4ab0d13aa1c0ffdf [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x80d7aab - std::io::Write::write_fmt::hc0e5cbe2e336a35c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x80da166 - std::sys_common::backtrace::_print::he83a0656b60804f4 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x80da166 - std::sys_common::backtrace::print::he5889ca5768e8d1c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x80dbd45 - std::panicking::default_hook::{{closure}}::ha81712de98b54398 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x80dba45 - std::panicking::default_hook::he5857a041ac6b670 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x80b9b7c - core::ops::function::Fn::call::h47ada2d4dc8687c6 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:79:5 [INFO] [stdout] 11: 0x80b0089 - as core::ops::function::Fn>::call::h32210aeb8cc578f9 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 12: 0x80b0089 - test::test_main::{{closure}}::h8466694f5bd858c9 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x80dc481 - as core::ops::function::Fn>::call::h5bc67f704e9605b2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 14: 0x80dc481 - std::panicking::rust_panic_with_hook::h764b8fe75e8ba68c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x80dc23c - std::panicking::begin_panic_handler::{{closure}}::h04438436866ada8a [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x80da7da - std::sys_common::backtrace::__rust_end_short_backtrace::hb43e7524728cf453 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x80dbf13 - rust_begin_unwind [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804c600 - core::panicking::panic_fmt::ha026792c47a5830b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x804c97b - core::panicking::assert_failed_inner::h1e9c902f12865031 [INFO] [stdout] 20: 0x80573fd - core::panicking::assert_failed::h3e2aa09cfb0816df [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panicking.rs:212:5 [INFO] [stdout] 21: 0x8052f2d - lattice_based_cryptography::lattice::tests::test_mul_m3_q257_delta2_p259::h7ff55ff84689a185 [INFO] [stdout] at /opt/rustwide/workdir/src/lattice.rs:148:13 [INFO] [stdout] 22: 0x80520f7 - lattice_based_cryptography::lattice::tests::test_mul_m3_q257_delta2_p259::{{closure}}::h1a86d14cda137dbf [INFO] [stdout] at /opt/rustwide/workdir/src/lattice.rs:128:39 [INFO] [stdout] 23: 0x80566dd - core::ops::function::FnOnce::call_once::h93f6ad1152eb34fa [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x80b4b1e - core::ops::function::FnOnce::call_once::h3969063a3b87f847 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x80b4b1e - test::__rust_begin_short_backtrace::h4b8703a824c9f4d1 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:656:18 [INFO] [stdout] 26: 0x8088700 - test::run_test::{{closure}}::he242fd19981fa5cd [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:647:30 [INFO] [stdout] 27: 0x8088700 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h706575526aa71778 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x80b3c57 - as core::ops::function::FnOnce>::call_once::hafe155c229ed3840 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 29: 0x80b3c57 - as core::ops::function::FnOnce<()>>::call_once::hccf8545804efeabc [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x80b3c57 - std::panicking::try::do_call::h14c088d0ccd71a85 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:483:40 [INFO] [stdout] 31: 0x80b3c57 - std::panicking::try::h5bee4f0fb041d03c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:447:19 [INFO] [stdout] 32: 0x80b3c57 - std::panic::catch_unwind::hc4a3b19ca4039446 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panic.rs:140:14 [INFO] [stdout] 33: 0x80b3c57 - test::run_test_in_process::h01c4cf5424b4aa16 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:679:27 [INFO] [stdout] 34: 0x80b3c57 - test::run_test::run_test_inner::{{closure}}::h2b730e73e85dc07e [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:573:39 [INFO] [stdout] 35: 0x8082e2a - test::run_test::run_test_inner::{{closure}}::h1e6de70351d982ef [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:600:37 [INFO] [stdout] 36: 0x8082e2a - std::sys_common::backtrace::__rust_begin_short_backtrace::h11ed077933f178e3 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 37: 0x80887db - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha60d98b360ed53c8 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 38: 0x80887db - as core::ops::function::FnOnce<()>>::call_once::h5e10cae340573322 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 39: 0x80887db - std::panicking::try::do_call::h47dd5d7a0750d636 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:483:40 [INFO] [stdout] 40: 0x80887db - std::panicking::try::hcaac73f0ac4cf9b2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:447:19 [INFO] [stdout] 41: 0x80887db - std::panic::catch_unwind::h9fe9d263cb0da10f [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panic.rs:140:14 [INFO] [stdout] 42: 0x80887db - std::thread::Builder::spawn_unchecked_::{{closure}}::h2c0f796f4234fbbe [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x80887db - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd8a5d36b54e84e44 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x80e03ad - as core::ops::function::FnOnce>::call_once::hbac986b07f477b52 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x80e03ad - as core::ops::function::FnOnce>::call_once::h5768035ad531add2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 46: 0x80e03ad - std::sys::unix::thread::Thread::new::thread_start::h48056988cddec68b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] lattice::tests::test_mul_m3_q257_delta2_p259 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1f63e458d7b8086c624e50bd95b7ccc10a40c1196cc90ed5eb8e2ed3223fa3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f63e458d7b8086c624e50bd95b7ccc10a40c1196cc90ed5eb8e2ed3223fa3b3", kill_on_drop: false }` [INFO] [stdout] 1f63e458d7b8086c624e50bd95b7ccc10a40c1196cc90ed5eb8e2ed3223fa3b3