[INFO] fetching crate carbonara 0.1.4... [INFO] checking carbonara-0.1.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate carbonara 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate carbonara 0.1.4 [INFO] finished tweaking crates.io crate carbonara 0.1.4 [INFO] tweaked toml for crates.io crate carbonara 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate carbonara 0.1.4 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 carbonara 0.1.4 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7c05389b524a88e65bb284116cabc899f54e5c1323e2a439f226bce0e258b10a [INFO] running `Command { std: "docker" "start" "-a" "7c05389b524a88e65bb284116cabc899f54e5c1323e2a439f226bce0e258b10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c05389b524a88e65bb284116cabc899f54e5c1323e2a439f226bce0e258b10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c05389b524a88e65bb284116cabc899f54e5c1323e2a439f226bce0e258b10a", kill_on_drop: false }` [INFO] [stdout] 7c05389b524a88e65bb284116cabc899f54e5c1323e2a439f226bce0e258b10a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 77fdcdddaec1af1b83abb2619ef9a6a3a566a9a6f734d8f3c79575cc1131da72 [INFO] running `Command { std: "docker" "start" "-a" "77fdcdddaec1af1b83abb2619ef9a6a3a566a9a6f734d8f3c79575cc1131da72", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking core2 v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking fastvlq v1.1.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crc32_digest v0.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling ok_macros v0.1.10 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking uom v0.36.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking okstd v0.1.10 [INFO] [stderr] Checking carbonara v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `energy_now` is never read [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct AcpiPowerInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | energy_now: Option, // μWh [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcpiPowerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `energy_now` is never read [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct AcpiPowerInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | energy_now: Option, // μWh [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AcpiPowerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (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/energy.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 32 | | match s { [INFO] [stdout] 33 | | "human" => Ok(Format::Human), [INFO] [stdout] 34 | | "json" => Ok(Format::Json), [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbonara` (bin "energy") due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 32 | | match s { [INFO] [stdout] 33 | | "human" => Ok(Format::Human), [INFO] [stdout] 34 | | "json" => Ok(Format::Json), [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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/energy.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / match s { [INFO] [stdout] 33 | | "human" => Ok(Format::Human), [INFO] [stdout] 34 | | "json" => Ok(Format::Json), [INFO] [stdout] 35 | | "csv" => Ok(Format::Csv), [INFO] [stdout] 36 | | _ => unreachable!(), [INFO] [stdout] 37 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `carbonara` (bin "energy" test) due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | "human" => Ok(Format::Human), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | "json" => Ok(Format::Json), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | "csv" => Ok(Format::Csv), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / match s { [INFO] [stdout] 33 | | "human" => Ok(Format::Human), [INFO] [stdout] 34 | | "json" => Ok(Format::Json), [INFO] [stdout] 35 | | "csv" => Ok(Format::Csv), [INFO] [stdout] 36 | | _ => unreachable!(), [INFO] [stdout] 37 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | "human" => Ok(Format::Human), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | "json" => Ok(Format::Json), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/energy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | "csv" => Ok(Format::Csv), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "77fdcdddaec1af1b83abb2619ef9a6a3a566a9a6f734d8f3c79575cc1131da72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77fdcdddaec1af1b83abb2619ef9a6a3a566a9a6f734d8f3c79575cc1131da72", kill_on_drop: false }` [INFO] [stdout] 77fdcdddaec1af1b83abb2619ef9a6a3a566a9a6f734d8f3c79575cc1131da72