[INFO] cloning repository https://github.com/atneit/ss-ntru-pke-attack-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atneit/ss-ntru-pke-attack-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatneit%2Fss-ntru-pke-attack-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatneit%2Fss-ntru-pke-attack-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75b11a4f87b20f5b7b013a28bed5f72fd7a9ebff [INFO] testing atneit/ss-ntru-pke-attack-simulation against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatneit%2Fss-ntru-pke-attack-simulation" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atneit/ss-ntru-pke-attack-simulation on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atneit/ss-ntru-pke-attack-simulation [INFO] finished tweaking git repo https://github.com/atneit/ss-ntru-pke-attack-simulation [INFO] tweaked toml for git repo https://github.com/atneit/ss-ntru-pke-attack-simulation written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/atneit/ss-ntru-pke-attack-simulation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d47c35711452c5de043540d33fa5aac00c77371891a9aa0d6088c9c6b8d9d9a6 [INFO] running `Command { std: "docker" "start" "-a" "d47c35711452c5de043540d33fa5aac00c77371891a9aa0d6088c9c6b8d9d9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d47c35711452c5de043540d33fa5aac00c77371891a9aa0d6088c9c6b8d9d9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47c35711452c5de043540d33fa5aac00c77371891a9aa0d6088c9c6b8d9d9a6", kill_on_drop: false }` [INFO] [stdout] d47c35711452c5de043540d33fa5aac00c77371891a9aa0d6088c9c6b8d9d9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e8b0bf23af6689ceae4ac5225a3184df84d67c757af6563084a66ad7095096f [INFO] running `Command { std: "docker" "start" "-a" "1e8b0bf23af6689ceae4ac5225a3184df84d67c757af6563084a66ad7095096f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling svg v0.5.11 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling plotlib v0.3.0 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling gag v0.1.10 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling promptly v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling structopt v0.2.10 [INFO] [stderr] Compiling ctrlc v3.1.1 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling ss-ntru-pke-attack-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | BenchCommand::FindFG(mut opt) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | writeln!(file, " {} {}", s, rate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | writeln!(file, " {} {}", neg_log2(failure_rate), rates[i].1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | writeln!(file, " {} {} {}", lograte, s, rate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | writeln!(file, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.35s [INFO] running `Command { std: "docker" "inspect" "1e8b0bf23af6689ceae4ac5225a3184df84d67c757af6563084a66ad7095096f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8b0bf23af6689ceae4ac5225a3184df84d67c757af6563084a66ad7095096f", kill_on_drop: false }` [INFO] [stdout] 1e8b0bf23af6689ceae4ac5225a3184df84d67c757af6563084a66ad7095096f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 483c10a3bce22737e0f3451af9e8a6618eb9fc3f6088db224c255e21ab8861e0 [INFO] running `Command { std: "docker" "start" "-a" "483c10a3bce22737e0f3451af9e8a6618eb9fc3f6088db224c255e21ab8861e0", kill_on_drop: false }` [INFO] [stderr] Compiling ss-ntru-pke-attack-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | BenchCommand::FindFG(mut opt) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | writeln!(file, " {} {}", s, rate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | writeln!(file, " {} {}", neg_log2(failure_rate), rates[i].1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | writeln!(file, " {} {} {}", lograte, s, rate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/recovkey/processfindfg.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | writeln!(file, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.27s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "483c10a3bce22737e0f3451af9e8a6618eb9fc3f6088db224c255e21ab8861e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483c10a3bce22737e0f3451af9e8a6618eb9fc3f6088db224c255e21ab8861e0", kill_on_drop: false }` [INFO] [stdout] 483c10a3bce22737e0f3451af9e8a6618eb9fc3f6088db224c255e21ab8861e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa31ea7ee37856756351bd0450bc0af01c06c9d0504ff4b750a76a89f1a42b4e [INFO] running `Command { std: "docker" "start" "-a" "aa31ea7ee37856756351bd0450bc0af01c06c9d0504ff4b750a76a89f1a42b4e", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:39:34 [INFO] [stderr] | [INFO] [stderr] 39 | BenchCommand::FindFG(mut opt) => { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/recovkey/processfindfg.rs:320:17 [INFO] [stderr] | [INFO] [stderr] 320 | writeln!(file, " {} {}", s, rate); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/recovkey/processfindfg.rs:331:17 [INFO] [stderr] | [INFO] [stderr] 331 | writeln!(file, " {} {}", neg_log2(failure_rate), rates[i].1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/recovkey/processfindfg.rs:343:17 [INFO] [stderr] | [INFO] [stderr] 343 | writeln!(file, " {} {} {}", lograte, s, rate); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/recovkey/processfindfg.rs:345:13 [INFO] [stderr] | [INFO] [stderr] 345 | writeln!(file, ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ss_ntru_pke_attack_simulation-ad89acc299a6ebaf) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test recovkey::findfg::tests::test_gen_fg ... ok [INFO] [stdout] test recovkey::findfg::tests::bench_gen_fg ... ok [INFO] [stdout] test recovkey::findfg::tests::bench_1_trial ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aa31ea7ee37856756351bd0450bc0af01c06c9d0504ff4b750a76a89f1a42b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa31ea7ee37856756351bd0450bc0af01c06c9d0504ff4b750a76a89f1a42b4e", kill_on_drop: false }` [INFO] [stdout] aa31ea7ee37856756351bd0450bc0af01c06c9d0504ff4b750a76a89f1a42b4e