[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] checking 0xvon/fhe against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xvon%2Ffhe" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xvon/fhe on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "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-7-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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ec731ca0052dae0085f5b0dff3742f8e0f0b13bd6f1ed3ee5f6c6f14d6755c2
[INFO] running `Command { std: "docker" "start" "-a" "7ec731ca0052dae0085f5b0dff3742f8e0f0b13bd6f1ed3ee5f6c6f14d6755c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ec731ca0052dae0085f5b0dff3742f8e0f0b13bd6f1ed3ee5f6c6f14d6755c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ec731ca0052dae0085f5b0dff3742f8e0f0b13bd6f1ed3ee5f6c6f14d6755c2", kill_on_drop: false }`
[INFO] [stdout] 7ec731ca0052dae0085f5b0dff3742f8e0f0b13bd6f1ed3ee5f6c6f14d6755c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1232745859ccb70fec11059a4965c3e8811bcb0a8750c09232e417166b4f3247
[INFO] running `Command { std: "docker" "start" "-a" "1232745859ccb70fec11059a4965c3e8811bcb0a8750c09232e417166b4f3247", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking random v0.13.2
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking special v0.10.3
[INFO] [stderr]     Checking probability v0.20.3
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking fhe v0.1.0 (/opt/rustwide/workdir)
[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: 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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 3.13s
[INFO] running `Command { std: "docker" "inspect" "1232745859ccb70fec11059a4965c3e8811bcb0a8750c09232e417166b4f3247", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1232745859ccb70fec11059a4965c3e8811bcb0a8750c09232e417166b4f3247", kill_on_drop: false }`
[INFO] [stdout] 1232745859ccb70fec11059a4965c3e8811bcb0a8750c09232e417166b4f3247
