[INFO] fetching crate shelly 0.3.0... [INFO] checking shelly-0.3.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate shelly 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate shelly 0.3.0 [INFO] finished tweaking crates.io crate shelly 0.3.0 [INFO] tweaked toml for crates.io crate shelly 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shelly 0.3.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 shelly 0.3.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 76990edca9a6e55d30a2105b4430636498ff9275f1c8274b3384c22468aa568a [INFO] running `Command { std: "docker" "start" "-a" "76990edca9a6e55d30a2105b4430636498ff9275f1c8274b3384c22468aa568a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76990edca9a6e55d30a2105b4430636498ff9275f1c8274b3384c22468aa568a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76990edca9a6e55d30a2105b4430636498ff9275f1c8274b3384c22468aa568a", kill_on_drop: false }` [INFO] [stdout] 76990edca9a6e55d30a2105b4430636498ff9275f1c8274b3384c22468aa568a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f81cc002d27910d58cb486ca9a97d04bc358d81b5c7c571bce2774d2fc81ff4e [INFO] running `Command { std: "docker" "start" "-a" "f81cc002d27910d58cb486ca9a97d04bc358d81b5c7c571bce2774d2fc81ff4e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking shelly v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/opts.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Path to create project [INFO] [stdout] 9 | | #[clap(default_value = ".")] [INFO] [stdout] 10 | | path: 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/opts.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// A target is a language and dependencies pairing [INFO] [stdout] 17 | | #[clap(short, long)] [INFO] [stdout] 18 | | target: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/opts.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / #[clap(short, long)] [INFO] [stdout] 21 | | config: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::map_or` that must be used [INFO] [stdout] --> src/target.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | fs::read_to_string(hash_path).map_or(false, |hash| hash == self.hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 303 | let _ = fs::read_to_string(hash_path).map_or(false, |hash| hash == self.hash); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/opts.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Path to create project [INFO] [stdout] 9 | | #[clap(default_value = ".")] [INFO] [stdout] 10 | | path: 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/opts.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// A target is a language and dependencies pairing [INFO] [stdout] 17 | | #[clap(short, long)] [INFO] [stdout] 18 | | target: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/opts.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / #[clap(short, long)] [INFO] [stdout] 21 | | config: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::map_or` that must be used [INFO] [stdout] --> src/target.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | fs::read_to_string(hash_path).map_or(false, |hash| hash == self.hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 303 | let _ = fs::read_to_string(hash_path).map_or(false, |hash| hash == self.hash); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shelly` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shelly` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f81cc002d27910d58cb486ca9a97d04bc358d81b5c7c571bce2774d2fc81ff4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81cc002d27910d58cb486ca9a97d04bc358d81b5c7c571bce2774d2fc81ff4e", kill_on_drop: false }` [INFO] [stdout] f81cc002d27910d58cb486ca9a97d04bc358d81b5c7c571bce2774d2fc81ff4e