[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#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatneit%2Fss-ntru-pke-attack-simulation" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atneit/ss-ntru-pke-attack-simulation on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfea0239bc04129c02316a327117e631af500e3d9242d21821ef38e1b50e5b3d [INFO] running `Command { std: "docker" "start" "-a" "cfea0239bc04129c02316a327117e631af500e3d9242d21821ef38e1b50e5b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfea0239bc04129c02316a327117e631af500e3d9242d21821ef38e1b50e5b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfea0239bc04129c02316a327117e631af500e3d9242d21821ef38e1b50e5b3d", kill_on_drop: false }` [INFO] [stdout] cfea0239bc04129c02316a327117e631af500e3d9242d21821ef38e1b50e5b3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13aa1756ba0a209f90f0712f5b86fe211d3d62e6ecbf23f1ed142eb910e430ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "13aa1756ba0a209f90f0712f5b86fe211d3d62e6ecbf23f1ed142eb910e430ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling svg v0.5.11 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling plotlib v0.3.0 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling syn v0.15.4 [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 ctrlc v3.1.1 [INFO] [stderr] Compiling structopt v0.2.10 [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 `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (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 1m 23s [INFO] running `Command { std: "docker" "inspect" "13aa1756ba0a209f90f0712f5b86fe211d3d62e6ecbf23f1ed142eb910e430ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13aa1756ba0a209f90f0712f5b86fe211d3d62e6ecbf23f1ed142eb910e430ff", kill_on_drop: false }` [INFO] [stdout] 13aa1756ba0a209f90f0712f5b86fe211d3d62e6ecbf23f1ed142eb910e430ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1126af72ce7c51fb7397b1ce109d1cf6deefc8f1b35952bff71f160da94ded7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d1126af72ce7c51fb7397b1ce109d1cf6deefc8f1b35952bff71f160da94ded7", 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 `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 a macro (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 test [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "d1126af72ce7c51fb7397b1ce109d1cf6deefc8f1b35952bff71f160da94ded7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1126af72ce7c51fb7397b1ce109d1cf6deefc8f1b35952bff71f160da94ded7", kill_on_drop: false }` [INFO] [stdout] d1126af72ce7c51fb7397b1ce109d1cf6deefc8f1b35952bff71f160da94ded7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f7066e6884c51a907883b04c785728269b15ed7e25ccd916cb34d0068bd5fb3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f7066e6884c51a907883b04c785728269b15ed7e25ccd916cb34d0068bd5fb3", 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 `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::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 a macro (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.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ss_ntru_pke_attack_simulation-12f420905332cdbe [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test recovkey::findfg::tests::bench_1_trial ... ok [INFO] [stdout] test recovkey::findfg::tests::bench_gen_fg ... ok [INFO] [stdout] test recovkey::findfg::tests::test_gen_fg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f7066e6884c51a907883b04c785728269b15ed7e25ccd916cb34d0068bd5fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7066e6884c51a907883b04c785728269b15ed7e25ccd916cb34d0068bd5fb3", kill_on_drop: false }` [INFO] [stdout] 3f7066e6884c51a907883b04c785728269b15ed7e25ccd916cb34d0068bd5fb3