[INFO] cloning repository https://github.com/0xvon/fhe
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xvon/fhe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvon%2Ffhe", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvon%2Ffhe'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] de8e78f402a0b6b75c2933f81eecb0f1d8d26e67
[INFO] testing 0xvon/fhe against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvon%2Ffhe" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xvon/fhe on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0xvon/fhe
[INFO] finished tweaking git repo https://github.com/0xvon/fhe
[INFO] tweaked toml for git repo https://github.com/0xvon/fhe written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/0xvon/fhe 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb446de41b05538b828f9336b1f2d5775f56208855a8e7fb76a5bb39188062cb
[INFO] running `Command { std: "docker" "start" "-a" "fb446de41b05538b828f9336b1f2d5775f56208855a8e7fb76a5bb39188062cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb446de41b05538b828f9336b1f2d5775f56208855a8e7fb76a5bb39188062cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb446de41b05538b828f9336b1f2d5775f56208855a8e7fb76a5bb39188062cb", kill_on_drop: false }`
[INFO] [stdout] fb446de41b05538b828f9336b1f2d5775f56208855a8e7fb76a5bb39188062cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ee52787bbf64d530c249f53866881271ea8b7b8afa24242d8d9f3e8688d4640
[INFO] running `Command { std: "docker" "start" "-a" "9ee52787bbf64d530c249f53866881271ea8b7b8afa24242d8d9f3e8688d4640", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling random v0.13.2
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling special v0.10.3
[INFO] [stderr]    Compiling probability v0.20.3
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling fhe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `decrypt` is never used
[INFO] [stdout]   --> src/ciphertext.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ciphertext {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn decrypt(&self, _sk: &SecretKey) -> Plaintext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SecretKey` is never constructed
[INFO] [stdout]   --> src/keygen.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SecretKey {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SecretKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PublicKey` is never constructed
[INFO] [stdout]   --> src/keygen.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PublicKey {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PublicKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate_pk`, `generate_ek_v1`, and `generate_ek_v2` are never used
[INFO] [stdout]   --> src/keygen.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl SecretKey {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 37 |     // degree: the polynomial degree of the secret key
[INFO] [stdout] 38 |     pub fn new<T: RngCore + CryptoRng>(n: usize, rng: &mut T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn generate_pk<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn generate_ek_v1<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn generate_ek_v2<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `new_from_poly`, `generate_random_plaintext`, `m`, and `encrypt` are never used
[INFO] [stdout]   --> src/plaintext.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Plaintext {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn new(m: Vec<i64>, t: i64) -> Plaintext {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub(crate) fn new_from_poly(poly: Poly, t: i64) -> Plaintext {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn generate_random_plaintext<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn m(&self) -> Poly {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn encrypt<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `val` and `norm` are never used
[INFO] [stdout]    --> src/poly.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Poly {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn val(&self) -> Vec<i64> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn norm(&self) -> i64 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_gaussian` is never used
[INFO] [stdout]  --> src/random.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn get_gaussian<T: RngCore + CryptoRng>(std_dev: f64, dimension: usize, rng: &mut T) -> Poly {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_uniform` is never used
[INFO] [stdout]   --> src/random.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn get_uniform<T: RngCore + CryptoRng>(bound: i64, dimension: usize, rng: &mut T) -> Poly {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.36s
[INFO] running `Command { std: "docker" "inspect" "9ee52787bbf64d530c249f53866881271ea8b7b8afa24242d8d9f3e8688d4640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ee52787bbf64d530c249f53866881271ea8b7b8afa24242d8d9f3e8688d4640", kill_on_drop: false }`
[INFO] [stdout] 9ee52787bbf64d530c249f53866881271ea8b7b8afa24242d8d9f3e8688d4640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c104ec829704dff52fe570a923c8677bab1a27443503670d4936927ee091521f
[INFO] running `Command { std: "docker" "start" "-a" "c104ec829704dff52fe570a923c8677bab1a27443503670d4936927ee091521f", kill_on_drop: false }`
[INFO] [stderr]    Compiling fhe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `decrypt` is never used
[INFO] [stdout]   --> src/ciphertext.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ciphertext {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn decrypt(&self, _sk: &SecretKey) -> Plaintext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SecretKey` is never constructed
[INFO] [stdout]   --> src/keygen.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SecretKey {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SecretKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PublicKey` is never constructed
[INFO] [stdout]   --> src/keygen.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PublicKey {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PublicKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate_pk`, `generate_ek_v1`, and `generate_ek_v2` are never used
[INFO] [stdout]   --> src/keygen.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl SecretKey {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 37 |     // degree: the polynomial degree of the secret key
[INFO] [stdout] 38 |     pub fn new<T: RngCore + CryptoRng>(n: usize, rng: &mut T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn generate_pk<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn generate_ek_v1<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn generate_ek_v2<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `new_from_poly`, `generate_random_plaintext`, `m`, and `encrypt` are never used
[INFO] [stdout]   --> src/plaintext.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Plaintext {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn new(m: Vec<i64>, t: i64) -> Plaintext {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub(crate) fn new_from_poly(poly: Poly, t: i64) -> Plaintext {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn generate_random_plaintext<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn m(&self) -> Poly {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn encrypt<T: RngCore + CryptoRng>(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `val` and `norm` are never used
[INFO] [stdout]    --> src/poly.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Poly {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn val(&self) -> Vec<i64> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn norm(&self) -> i64 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_gaussian` is never used
[INFO] [stdout]  --> src/random.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn get_gaussian<T: RngCore + CryptoRng>(std_dev: f64, dimension: usize, rng: &mut T) -> Poly {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_uniform` is never used
[INFO] [stdout]   --> src/random.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn get_uniform<T: RngCore + CryptoRng>(bound: i64, dimension: usize, rng: &mut T) -> Poly {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]    --> src/ciphertext.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |     use crate::plaintext::{self, Plaintext};
[INFO] [stdout]     |                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `val` and `norm` are never used
[INFO] [stdout]    --> src/poly.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Poly {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn val(&self) -> Vec<i64> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn norm(&self) -> i64 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "c104ec829704dff52fe570a923c8677bab1a27443503670d4936927ee091521f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c104ec829704dff52fe570a923c8677bab1a27443503670d4936927ee091521f", kill_on_drop: false }`
[INFO] [stdout] c104ec829704dff52fe570a923c8677bab1a27443503670d4936927ee091521f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f3cb2cca7e4b67bd410ee2b75bfb9abc0d2600aa9a4da2befda6be2e0bab5f88
[INFO] running `Command { std: "docker" "start" "-a" "f3cb2cca7e4b67bd410ee2b75bfb9abc0d2600aa9a4da2befda6be2e0bab5f88", kill_on_drop: false }`
[INFO] [stderr] warning: method `decrypt` is never used
[INFO] [stderr]   --> src/ciphertext.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Ciphertext {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn decrypt(&self, _sk: &SecretKey) -> Plaintext {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SecretKey` is never constructed
[INFO] [stderr]   --> src/keygen.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct SecretKey {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SecretKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PublicKey` is never constructed
[INFO] [stderr]   --> src/keygen.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct PublicKey {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PublicKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `generate_pk`, `generate_ek_v1`, and `generate_ek_v2` are never used
[INFO] [stderr]   --> src/keygen.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl SecretKey {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] 37 |     // degree: the polynomial degree of the secret key
[INFO] [stderr] 38 |     pub fn new<T: RngCore + CryptoRng>(n: usize, rng: &mut T) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn generate_pk<T: RngCore + CryptoRng>(
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub fn generate_ek_v1<T: RngCore + CryptoRng>(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 94 |     pub fn generate_ek_v2<T: RngCore + CryptoRng>(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `new_from_poly`, `generate_random_plaintext`, `m`, and `encrypt` are never used
[INFO] [stderr]   --> src/plaintext.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Plaintext {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub fn new(m: Vec<i64>, t: i64) -> Plaintext {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub(crate) fn new_from_poly(poly: Poly, t: i64) -> Plaintext {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn generate_random_plaintext<T: RngCore + CryptoRng>(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub fn m(&self) -> Poly {
[INFO] [stderr]    |            ^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     pub fn encrypt<T: RngCore + CryptoRng>(
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `val` and `norm` are never used
[INFO] [stderr]    --> src/poly.rs:156:12
[INFO] [stderr]     |
[INFO] [stderr] 147 | impl Poly {
[INFO] [stderr]     | --------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 156 |     pub fn val(&self) -> Vec<i64> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub fn norm(&self) -> i64 {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_gaussian` is never used
[INFO] [stderr]  --> src/random.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn get_gaussian<T: RngCore + CryptoRng>(std_dev: f64, dimension: usize, rng: &mut T) -> Poly {
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_uniform` is never used
[INFO] [stderr]   --> src/random.rs:14:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn get_uniform<T: RngCore + CryptoRng>(bound: i64, dimension: usize, rng: &mut T) -> Poly {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]    --> src/ciphertext.rs:167:28
[INFO] [stderr]     |
[INFO] [stderr] 167 |     use crate::plaintext::{self, Plaintext};
[INFO] [stderr]     |                            ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `val` and `norm` are never used
[INFO] [stderr]    --> src/poly.rs:156:12
[INFO] [stderr]     |
[INFO] [stderr] 147 | impl Poly {
[INFO] [stderr]     | --------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 156 |     pub fn val(&self) -> Vec<i64> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub fn norm(&self) -> i64 {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `fhe` (lib) generated 8 warnings
[INFO] [stderr] warning: `fhe` (lib test) generated 2 warnings (run `cargo fix --lib -p fhe --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fhe-f4f04b62d5829870)
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test ciphertext::tests::test_basic_mul ... ok
[INFO] [stdout] test poly::tests::test_poly_coeff_modulo ... ok
[INFO] [stdout] test poly::tests::test_poly_add ... ok
[INFO] [stdout] test poly::tests::test_poly_decomposition ... ok
[INFO] [stdout] test poly::tests::test_poly_modulo ... ok
[INFO] [stdout] test poly::tests::test_poly_modulo_x ... ok
[INFO] [stdout] test poly::tests::test_poly_mul ... ok
[INFO] [stdout] test ciphertext::tests::test_homomorphic_mul_v2 ... ok
[INFO] [stdout] test ciphertext::tests::test_homomorphic_mul_v1 ... ok
[INFO] [stdout] test tests::tests::end_to_end_test_v2 ... FAILED
[INFO] [stdout] test tests::tests::end_to_end_test_v1 ... ok
[INFO] [stdout] test ciphertext::tests::test_homomorphic_sub ... ok
[INFO] [stdout] test ciphertext::tests::test_homomorphic_add ... ok
[INFO] [stdout] test ciphertext::tests::test_encryption has been running for over 60 seconds
[INFO] [stdout] test ciphertext::tests::test_encryption ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::tests::end_to_end_test_v2 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::tests::end_to_end_test_v2' panicked at src/tests.rs:68:13:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Poly([10, 15, 4, 0])
[INFO] [stdout]  right: Poly([2, 6, 0, 11])
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e3f9d0a673a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5e3f9d0a673a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5e3f9d0a673a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5e3f9d0a673a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5e3f9d0ce3e3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5e3f9d0ce3e3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x5e3f9d0a3293 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x5e3f9d0a6582 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5e3f9d0a7b5f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x5e3f9d0a7978 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x5e3f9d03e843 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x5e3f9d03e843 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x5e3f9d0a8653 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x5e3f9d0a8653 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x5e3f9d0a830a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x5e3f9d0a6c39 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x5e3f9d0a7f9d - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x5e3f9d0ccdc0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5e3f9d0cd1b2 - core::panicking::assert_failed_inner::h538bec7c1374cd9c
[INFO] [stdout]   19:     0x5e3f9cffaa33 - core::panicking::assert_failed::ha92be6e303c8bcc2
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:364:5
[INFO] [stdout]   20:     0x5e3f9cffe80a - fhe::tests::tests::end_to_end_test_v2::hd6b5bf822051c251
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:68:13
[INFO] [stdout]   21:     0x5e3f9cffde57 - fhe::tests::tests::end_to_end_test_v2::{{closure}}::h67378eed6c184de0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:40:28
[INFO] [stdout]   22:     0x5e3f9cfff3e6 - core::ops::function::FnOnce::call_once::h752fedc4e6ad7467
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5e3f9d043f9b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5e3f9d043f9b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x5e3f9d042ed3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x5e3f9d042ed3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5e3f9d042ed3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x5e3f9d042ed3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x5e3f9d042ed3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x5e3f9d042ed3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x5e3f9d042ed3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x5e3f9d005fb5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x5e3f9d005fb5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x5e3f9d00989a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5e3f9d00989a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5e3f9d00989a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   37:     0x5e3f9d00989a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   38:     0x5e3f9d00989a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x5e3f9d00989a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5e3f9d00989a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5e3f9d0ac58b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   42:     0x5e3f9d0ac58b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x5e3f9d0ac58b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   44:     0x732677d64ac3 - <unknown>
[INFO] [stdout]   45:     0x732677df5a04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::tests::end_to_end_test_v2
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 354.89s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "f3cb2cca7e4b67bd410ee2b75bfb9abc0d2600aa9a4da2befda6be2e0bab5f88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3cb2cca7e4b67bd410ee2b75bfb9abc0d2600aa9a4da2befda6be2e0bab5f88", kill_on_drop: false }`
[INFO] [stdout] f3cb2cca7e4b67bd410ee2b75bfb9abc0d2600aa9a4da2befda6be2e0bab5f88
