[INFO] fetching crate chlue 0.1.0... [INFO] checking chlue-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate chlue 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate chlue 0.1.0 [INFO] finished tweaking crates.io crate chlue 0.1.0 [INFO] tweaked toml for crates.io crate chlue 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate chlue 0.1.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 chlue 0.1.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dbf1e5e1f7c0e4b0a7c2760a3e2079c76975b408c8275820539e6620f9db8cb1 [INFO] running `Command { std: "docker" "start" "-a" "dbf1e5e1f7c0e4b0a7c2760a3e2079c76975b408c8275820539e6620f9db8cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbf1e5e1f7c0e4b0a7c2760a3e2079c76975b408c8275820539e6620f9db8cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf1e5e1f7c0e4b0a7c2760a3e2079c76975b408c8275820539e6620f9db8cb1", kill_on_drop: false }` [INFO] [stdout] dbf1e5e1f7c0e4b0a7c2760a3e2079c76975b408c8275820539e6620f9db8cb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fbd186cc11b1fe015a5b7ad99da6bf5d6472034216e0ce355e93b91acfbf8a4b [INFO] running `Command { std: "docker" "start" "-a" "fbd186cc11b1fe015a5b7ad99da6bf5d6472034216e0ce355e93b91acfbf8a4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking chunked_transfer v1.1.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling time v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking thiserror v1.0.16 [INFO] [stderr] Checking cookie v0.13.3 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking ureq v0.12.1 [INFO] [stderr] Checking huelib v0.6.0 [INFO] [stderr] Checking chlue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | let on = select("Set the scene", &choices, |x| x.clone(), Select::Horizontal)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | let on = select("Set the light", &choices, |x| x.clone(), Select::Horizontal)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:264:3 [INFO] [stdout] | [INFO] [stdout] 264 | / #[structopt( [INFO] [stdout] 265 | | short, [INFO] [stdout] 266 | | long, [INFO] [stdout] 267 | | help = "bridge username, if not supplied you have to click on the bridge and a new user will be created and outputed" [INFO] [stdout] 268 | | )] [INFO] [stdout] 269 | | username: Option, [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 `chlue` (bin "chlue") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | let on = select("Set the scene", &choices, |x| x.clone(), Select::Horizontal)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:92:53 [INFO] [stdout] | [INFO] [stdout] 92 | let on = select("Set the light", &choices, |x| x.clone(), Select::Horizontal)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:264:3 [INFO] [stdout] | [INFO] [stdout] 264 | / #[structopt( [INFO] [stdout] 265 | | short, [INFO] [stdout] 266 | | long, [INFO] [stdout] 267 | | help = "bridge username, if not supplied you have to click on the bridge and a new user will be created and outputed" [INFO] [stdout] 268 | | )] [INFO] [stdout] 269 | | username: Option, [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 `chlue` (bin "chlue" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fbd186cc11b1fe015a5b7ad99da6bf5d6472034216e0ce355e93b91acfbf8a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd186cc11b1fe015a5b7ad99da6bf5d6472034216e0ce355e93b91acfbf8a4b", kill_on_drop: false }` [INFO] [stdout] fbd186cc11b1fe015a5b7ad99da6bf5d6472034216e0ce355e93b91acfbf8a4b