[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] checking atneit/ss-ntru-pke-attack-simulation against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatneit%2Fss-ntru-pke-attack-simulation" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atneit/ss-ntru-pke-attack-simulation on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.2.10 [INFO] [stderr] Downloaded quote v0.6.6 [INFO] [stderr] Downloaded serde_derive v1.0.79 [INFO] [stderr] Downloaded proc-macro2 v0.4.13 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded structopt v0.2.10 [INFO] [stderr] Downloaded gag v0.1.10 [INFO] [stderr] Downloaded syn v0.14.8 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded tempfile v3.0.4 [INFO] [stderr] Downloaded svg v0.5.11 [INFO] [stderr] Downloaded plotlib v0.3.0 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded serde v1.0.79 [INFO] [stderr] Downloaded syn v0.15.4 [INFO] [stderr] Downloaded promptly v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 796b3a8281dc3dbf52da9dc97ea5e1d59123759740e28a21e8f4c7b387b52def [INFO] running `Command { std: "docker" "start" "-a" "796b3a8281dc3dbf52da9dc97ea5e1d59123759740e28a21e8f4c7b387b52def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "796b3a8281dc3dbf52da9dc97ea5e1d59123759740e28a21e8f4c7b387b52def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "796b3a8281dc3dbf52da9dc97ea5e1d59123759740e28a21e8f4c7b387b52def", kill_on_drop: false }` [INFO] [stdout] 796b3a8281dc3dbf52da9dc97ea5e1d59123759740e28a21e8f4c7b387b52def [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 466a87be9671a87575dd282b9ca03291b8ea87d507183412d242ab1acd70f730 [INFO] running `Command { std: "docker" "start" "-a" "466a87be9671a87575dd282b9ca03291b8ea87d507183412d242ab1acd70f730", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking svg v0.5.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking plotlib v0.3.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking promptly v0.1.5 [INFO] [stderr] Checking tempfile v3.0.4 [INFO] [stderr] Checking gag v0.1.10 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking ctrlc v3.1.1 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking ss-ntru-pke-attack-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/recovkey/findfg.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ctrlc` is imported redundantly [INFO] [stdout] --> src/recovkey/findfg.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ctrlc; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate ctrlc; [INFO] [stdout] | ------------------- the item `ctrlc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/recovkey/findfg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/recovkey/processfindfg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `structopt` is imported redundantly [INFO] [stdout] --> src/recovkey/processfindfg.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate structopt; [INFO] [stdout] | ----------------------- the item `structopt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/recovkey/findfg.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ctrlc` is imported redundantly [INFO] [stdout] --> src/recovkey/findfg.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ctrlc; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate ctrlc; [INFO] [stdout] | ------------------- the item `ctrlc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/recovkey/findfg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/recovkey/processfindfg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `structopt` is imported redundantly [INFO] [stdout] --> src/recovkey/processfindfg.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use structopt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate structopt; [INFO] [stdout] | ----------------------- the item `structopt` is already imported here [INFO] [stdout] [INFO] [stdout] [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: field `view` is never read [INFO] [stdout] --> src/recovkey/processfindfg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ProcessFindFGOptions { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub view: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessFindFGOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/recovkey/processfindfg.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | let fname = base.clone().join(fname); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 316 - let fname = base.clone().join(fname); [INFO] [stdout] 316 + let fname = base.join(fname); [INFO] [stdout] | [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/recovkey/processfindfg.rs:327:29 [INFO] [stdout] | [INFO] [stdout] 327 | let fname = base.clone().join(fname); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 327 - let fname = base.clone().join(fname); [INFO] [stdout] 327 + let fname = base.join(fname); [INFO] [stdout] | [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/recovkey/processfindfg.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let fname = base.clone().join(fname); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 337 - let fname = base.clone().join(fname); [INFO] [stdout] 337 + let fname = base.join(fname); [INFO] [stdout] | [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: field `view` is never read [INFO] [stdout] --> src/recovkey/processfindfg.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ProcessFindFGOptions { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub view: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessFindFGOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/recovkey/processfindfg.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | let fname = base.clone().join(fname); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 316 - let fname = base.clone().join(fname); [INFO] [stdout] 316 + let fname = base.join(fname); [INFO] [stdout] | [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/recovkey/processfindfg.rs:327:29 [INFO] [stdout] | [INFO] [stdout] 327 | let fname = base.clone().join(fname); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 327 - let fname = base.clone().join(fname); [INFO] [stdout] 327 + let fname = base.join(fname); [INFO] [stdout] | [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/recovkey/processfindfg.rs:337:25 [INFO] [stdout] | [INFO] [stdout] 337 | let fname = base.clone().join(fname); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 337 - let fname = base.clone().join(fname); [INFO] [stdout] 337 + let fname = base.join(fname); [INFO] [stdout] | [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.5.11, syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "466a87be9671a87575dd282b9ca03291b8ea87d507183412d242ab1acd70f730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466a87be9671a87575dd282b9ca03291b8ea87d507183412d242ab1acd70f730", kill_on_drop: false }` [INFO] [stdout] 466a87be9671a87575dd282b9ca03291b8ea87d507183412d242ab1acd70f730