[INFO] fetching crate metric_daemon 0.2.0... [INFO] checking metric_daemon-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate metric_daemon 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate metric_daemon 0.2.0 [INFO] finished tweaking crates.io crate metric_daemon 0.2.0 [INFO] tweaked toml for crates.io crate metric_daemon 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metric_daemon 0.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 metric_daemon 0.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c54581bcf144f7153fdfb4d060a85dd00ed15163cc5a55e6984668aeaef3b358 [INFO] running `Command { std: "docker" "start" "-a" "c54581bcf144f7153fdfb4d060a85dd00ed15163cc5a55e6984668aeaef3b358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c54581bcf144f7153fdfb4d060a85dd00ed15163cc5a55e6984668aeaef3b358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c54581bcf144f7153fdfb4d060a85dd00ed15163cc5a55e6984668aeaef3b358", kill_on_drop: false }` [INFO] [stdout] c54581bcf144f7153fdfb4d060a85dd00ed15163cc5a55e6984668aeaef3b358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2f0e0a1643310fdeb5626f01a9ecc2d0182c2ce29d59eba14a3e1091ef0896fb [INFO] running `Command { std: "docker" "start" "-a" "2f0e0a1643310fdeb5626f01a9ecc2d0182c2ce29d59eba14a3e1091ef0896fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.12.19+1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking regex v1.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.58 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking retry v1.2.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking ureq v2.1.1 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking git2 v0.13.18 [INFO] [stderr] Checking shadow-rs v0.5.25 [INFO] [stderr] Compiling metric_daemon v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `assert_eq` and `assert_ne` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use pretty_assertions::{assert_eq, assert_ne}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[structopt(long, env = "METRIC_NAME")] [INFO] [stdout] 14 | | name: 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/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[structopt(long, env = "METRIC_PROPERTIES")] [INFO] [stdout] 16 | | properties: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[structopt(long, env = "METRIC_SERVER_URL")] [INFO] [stdout] 18 | | server_url: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(long, env = "METRIC_COMMAND")] [INFO] [stdout] 20 | | command: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metric_daemon` (bin "metric_daemon-cli" test) due to 4 previous errors; 1 warning emitted [INFO] [stdout] warning: unused imports: `assert_eq` and `assert_ne` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use pretty_assertions::{assert_eq, assert_ne}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[structopt(long, env = "METRIC_NAME")] [INFO] [stdout] 14 | | name: 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/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[structopt(long, env = "METRIC_PROPERTIES")] [INFO] [stdout] 16 | | properties: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[structopt(long, env = "METRIC_SERVER_URL")] [INFO] [stdout] 18 | | server_url: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[structopt(long, env = "METRIC_COMMAND")] [INFO] [stdout] 20 | | command: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metric_daemon` (bin "metric_daemon-cli") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2f0e0a1643310fdeb5626f01a9ecc2d0182c2ce29d59eba14a3e1091ef0896fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0e0a1643310fdeb5626f01a9ecc2d0182c2ce29d59eba14a3e1091ef0896fb", kill_on_drop: false }` [INFO] [stdout] 2f0e0a1643310fdeb5626f01a9ecc2d0182c2ce29d59eba14a3e1091ef0896fb