[INFO] fetching crate pingkeeper 3.2.0... [INFO] checking pingkeeper-3.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pingkeeper 3.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate pingkeeper 3.2.0 [INFO] finished tweaking crates.io crate pingkeeper 3.2.0 [INFO] tweaked toml for crates.io crate pingkeeper 3.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pingkeeper 3.2.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pingkeeper 3.2.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa82eba99922992479dea82dfbf8ba50bffd74c322e87a923b36a6b5e8f7bfeb [INFO] running `Command { std: "docker" "start" "-a" "fa82eba99922992479dea82dfbf8ba50bffd74c322e87a923b36a6b5e8f7bfeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa82eba99922992479dea82dfbf8ba50bffd74c322e87a923b36a6b5e8f7bfeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa82eba99922992479dea82dfbf8ba50bffd74c322e87a923b36a6b5e8f7bfeb", kill_on_drop: false }` [INFO] [stdout] fa82eba99922992479dea82dfbf8ba50bffd74c322e87a923b36a6b5e8f7bfeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6db4b6df52da743466df611fdfeee12230bebbf281c040fc288efea6b848615 [INFO] running `Command { std: "docker" "start" "-a" "f6db4b6df52da743466df611fdfeee12230bebbf281c040fc288efea6b848615", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking pipeliner v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.6 [INFO] [stderr] Checking structopt v0.3.13 [INFO] [stderr] Checking pingkeeper v3.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Command to run. [INFO] [stdout] 31 | | #[structopt(name = "COMMAND")] [INFO] [stdout] 32 | | pub command: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// Space separated list of addresses or hosts (ping). [INFO] [stdout] 34 | | /// [INFO] [stdout] 35 | | /// For direct connection: List of IPv4 and IPv6, with or without port. [INFO] [stdout] 36 | | /// [INFO] [stdout] ... | [INFO] [stdout] 40 | | #[structopt(short = "H", long, default_value = "8.8.8.8 8.8.6.6 1.1.1.1 1.0.0.1")] [INFO] [stdout] 41 | | pub hosts: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Options for `ping` command, requires `--use-ping`. [INFO] [stdout] 57 | | #[structopt(long, name = "opts", default_value = "-c1")] [INFO] [stdout] 58 | | pub ping_opt: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Use a custom command to check. [INFO] [stdout] 61 | | /// [INFO] [stdout] 62 | | /// Check network or something else. This will trigger the execution / kill flow as if it was a network check. [INFO] [stdout] 63 | | /// Example: `--check-cmd "cat canary.txt"` [INFO] [stdout] 64 | | #[structopt(long)] [INFO] [stdout] 65 | | pub check_cmd: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / /// Signal to kill . [INFO] [stdout] 82 | | /// [INFO] [stdout] 83 | | /// Could be any unix signal: `SIGINT`, `SIGTERM`, etc. [INFO] [stdout] 84 | | #[structopt(short, long, default_value = "SIGINT")] [INFO] [stdout] 85 | | pub signal: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / /// Use a custom command to kill. [INFO] [stdout] 87 | | /// [INFO] [stdout] 88 | | /// Example: `--kill-cmd "echo \"My baby shot me down\" >> bang_bang.log"` [INFO] [stdout] 89 | | #[structopt(long)] [INFO] [stdout] 90 | | pub kill_cmd: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pingkeeper.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | res => panic!(format!("Invalid result {:?}", res)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 268 - res => panic!(format!("Invalid result {:?}", res)), [INFO] [stdout] 268 + res => panic!("Invalid result {:?}", res), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pingkeeper.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | res => panic!(format!("Invalid result {:?}", res)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 273 - res => panic!(format!("Invalid result {:?}", res)), [INFO] [stdout] 273 + res => panic!("Invalid result {:?}", res), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pingkeeper.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | res => panic!(format!("Invalid result {:?}", res)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 278 - res => panic!(format!("Invalid result {:?}", res)), [INFO] [stdout] 278 + res => panic!("Invalid result {:?}", res), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pingkeeper` (bin "pingkeeper" test) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Command to run. [INFO] [stdout] 31 | | #[structopt(name = "COMMAND")] [INFO] [stdout] 32 | | pub command: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// Space separated list of addresses or hosts (ping). [INFO] [stdout] 34 | | /// [INFO] [stdout] 35 | | /// For direct connection: List of IPv4 and IPv6, with or without port. [INFO] [stdout] 36 | | /// [INFO] [stdout] ... | [INFO] [stdout] 40 | | #[structopt(short = "H", long, default_value = "8.8.8.8 8.8.6.6 1.1.1.1 1.0.0.1")] [INFO] [stdout] 41 | | pub hosts: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Options for `ping` command, requires `--use-ping`. [INFO] [stdout] 57 | | #[structopt(long, name = "opts", default_value = "-c1")] [INFO] [stdout] 58 | | pub ping_opt: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Use a custom command to check. [INFO] [stdout] 61 | | /// [INFO] [stdout] 62 | | /// Check network or something else. This will trigger the execution / kill flow as if it was a network check. [INFO] [stdout] 63 | | /// Example: `--check-cmd "cat canary.txt"` [INFO] [stdout] 64 | | #[structopt(long)] [INFO] [stdout] 65 | | pub check_cmd: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / /// Signal to kill . [INFO] [stdout] 82 | | /// [INFO] [stdout] 83 | | /// Could be any unix signal: `SIGINT`, `SIGTERM`, etc. [INFO] [stdout] 84 | | #[structopt(short, long, default_value = "SIGINT")] [INFO] [stdout] 85 | | pub signal: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/pingkeeper/opt.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / /// Use a custom command to kill. [INFO] [stdout] 87 | | /// [INFO] [stdout] 88 | | /// Example: `--kill-cmd "echo \"My baby shot me down\" >> bang_bang.log"` [INFO] [stdout] 89 | | #[structopt(long)] [INFO] [stdout] 90 | | pub kill_cmd: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pingkeeper` (bin "pingkeeper") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "f6db4b6df52da743466df611fdfeee12230bebbf281c040fc288efea6b848615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6db4b6df52da743466df611fdfeee12230bebbf281c040fc288efea6b848615", kill_on_drop: false }` [INFO] [stdout] f6db4b6df52da743466df611fdfeee12230bebbf281c040fc288efea6b848615