[INFO] cloning repository https://github.com/jamespharaoh/homebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamespharaoh/homebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespharaoh%2Fhomebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespharaoh%2Fhomebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 225ddb460808ff86259f968cab94ed6bae0c195f [INFO] checking jamespharaoh/homebot against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespharaoh%2Fhomebot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamespharaoh/homebot on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamespharaoh/homebot [INFO] finished tweaking git repo https://github.com/jamespharaoh/homebot [INFO] tweaked toml for git repo https://github.com/jamespharaoh/homebot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jamespharaoh/homebot 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded sunrise v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c57d37410cb854f4bee555a9020e27edfd91e19f3fdcb8f500f043903701ca9 [INFO] running `Command { std: "docker" "start" "-a" "1c57d37410cb854f4bee555a9020e27edfd91e19f3fdcb8f500f043903701ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c57d37410cb854f4bee555a9020e27edfd91e19f3fdcb8f500f043903701ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c57d37410cb854f4bee555a9020e27edfd91e19f3fdcb8f500f043903701ca9", kill_on_drop: false }` [INFO] [stdout] 1c57d37410cb854f4bee555a9020e27edfd91e19f3fdcb8f500f043903701ca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef50c01c7d6578c068da143ac1756d414ee31cf558a92112105935cad1cd9559 [INFO] running `Command { std: "docker" "start" "-a" "ef50c01c7d6578c068da143ac1756d414ee31cf558a92112105935cad1cd9559", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking sunrise v1.0.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking homebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/hue.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | let response = self.client.put (& url).json (light_state).send ().await ?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/hue.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | let response = self.client.put (& url).json (light_state).send ().await ?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/dailyroutine.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DailyRoutineLightGroup { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 48 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/dailyroutine.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | impl DailyRoutineProgramme { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 55 | [INFO] [stdout] 56 | fn clone (& self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_light` is never used [INFO] [stdout] --> src/hue.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl HueClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn get_light ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `groups` is never read [INFO] [stdout] --> src/hue.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct HueAll { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 128 | pub lights: HashMap >, [INFO] [stdout] 129 | pub groups: HashMap >, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HueAll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/programme.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 16 | struct ProgrammeManagerInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 17 | programmes: HashMap >, [INFO] [stdout] 18 | state: Mutex , [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone`, `activate`, and `deactivate` are never used [INFO] [stdout] --> src/programme.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Programme { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 77 | [INFO] [stdout] 78 | fn clone (& self) -> Box ; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | [INFO] [stdout] 80 | async fn activate ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn deactivate ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/dailyroutine.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DailyRoutineLightGroup { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 48 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/dailyroutine.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | impl DailyRoutineProgramme { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 55 | [INFO] [stdout] 56 | fn clone (& self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_light` is never used [INFO] [stdout] --> src/hue.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl HueClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn get_light ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `groups` is never read [INFO] [stdout] --> src/hue.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct HueAll { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 128 | pub lights: HashMap >, [INFO] [stdout] 129 | pub groups: HashMap >, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HueAll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/programme.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 16 | struct ProgrammeManagerInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 17 | programmes: HashMap >, [INFO] [stdout] 18 | state: Mutex , [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone`, `activate`, and `deactivate` are never used [INFO] [stdout] --> src/programme.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Programme { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 77 | [INFO] [stdout] 78 | fn clone (& self) -> Box ; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | [INFO] [stdout] 80 | async fn activate ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn deactivate ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.82s [INFO] running `Command { std: "docker" "inspect" "ef50c01c7d6578c068da143ac1756d414ee31cf558a92112105935cad1cd9559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef50c01c7d6578c068da143ac1756d414ee31cf558a92112105935cad1cd9559", kill_on_drop: false }` [INFO] [stdout] ef50c01c7d6578c068da143ac1756d414ee31cf558a92112105935cad1cd9559 [INFO] checking jamespharaoh/homebot against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespharaoh%2Fhomebot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamespharaoh/homebot on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamespharaoh/homebot [INFO] finished tweaking git repo https://github.com/jamespharaoh/homebot [INFO] tweaked toml for git repo https://github.com/jamespharaoh/homebot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jamespharaoh/homebot 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a918cec6ae657c6b5464589ad11f180668ad15ae07ef7b19d1112e3cbd688f9 [INFO] running `Command { std: "docker" "start" "-a" "5a918cec6ae657c6b5464589ad11f180668ad15ae07ef7b19d1112e3cbd688f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a918cec6ae657c6b5464589ad11f180668ad15ae07ef7b19d1112e3cbd688f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a918cec6ae657c6b5464589ad11f180668ad15ae07ef7b19d1112e3cbd688f9", kill_on_drop: false }` [INFO] [stdout] 5a918cec6ae657c6b5464589ad11f180668ad15ae07ef7b19d1112e3cbd688f9 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 665e2fc7fa1a8c53eea4e91f4ef2b57d68f2b58aaba4be54b629bfe323795404 [INFO] running `Command { std: "docker" "start" "-a" "665e2fc7fa1a8c53eea4e91f4ef2b57d68f2b58aaba4be54b629bfe323795404", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking sunrise v1.0.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking homebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/hue.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | let response = self.client.put (& url).json (light_state).send ().await ?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/hue.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | let response = self.client.put (& url).json (light_state).send ().await ?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/dailyroutine.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DailyRoutineLightGroup { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 48 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/dailyroutine.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | impl DailyRoutineProgramme { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 55 | [INFO] [stdout] 56 | fn clone (& self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_light` is never used [INFO] [stdout] --> src/hue.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl HueClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn get_light ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `groups` is never read [INFO] [stdout] --> src/hue.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct HueAll { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 128 | pub lights: HashMap >, [INFO] [stdout] 129 | pub groups: HashMap >, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HueAll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/programme.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 16 | struct ProgrammeManagerInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 17 | programmes: HashMap >, [INFO] [stdout] 18 | state: Mutex , [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/dailyroutine.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct DailyRoutineLightGroup { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 48 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone`, `activate`, and `deactivate` are never used [INFO] [stdout] --> src/programme.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Programme { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 77 | [INFO] [stdout] 78 | fn clone (& self) -> Box ; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | [INFO] [stdout] 80 | async fn activate ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn deactivate ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/dailyroutine.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | impl DailyRoutineProgramme { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 55 | [INFO] [stdout] 56 | fn clone (& self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_light` is never used [INFO] [stdout] --> src/hue.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl HueClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn get_light ( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `groups` is never read [INFO] [stdout] --> src/hue.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct HueAll { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 128 | pub lights: HashMap >, [INFO] [stdout] 129 | pub groups: HashMap >, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HueAll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/programme.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 16 | struct ProgrammeManagerInner { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 17 | programmes: HashMap >, [INFO] [stdout] 18 | state: Mutex , [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone`, `activate`, and `deactivate` are never used [INFO] [stdout] --> src/programme.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Programme { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 77 | [INFO] [stdout] 78 | fn clone (& self) -> Box ; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | [INFO] [stdout] 80 | async fn activate ( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn deactivate ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/colourful.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | Ok (Box::new (ColourfulProgramme { [INFO] [stdout] | _____________^ [INFO] [stdout] 59 | | inner: Arc::new (ColourfulInner { [INFO] [stdout] 60 | | name, [INFO] [stdout] 61 | | light_ids: config.lights.iter ().map ( [INFO] [stdout] ... | [INFO] [stdout] 70 | | }), [INFO] [stdout] 71 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/colourful.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | Ok (Box::new (ColourfulProgramme { [INFO] [stdout] | _____________^ [INFO] [stdout] 59 | | inner: Arc::new (ColourfulInner { [INFO] [stdout] 60 | | name, [INFO] [stdout] 61 | | light_ids: config.lights.iter ().map ( [INFO] [stdout] ... | [INFO] [stdout] 70 | | }), [INFO] [stdout] 71 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dailyroutine.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | Ok (Box::new (DailyRoutineProgramme { [INFO] [stdout] | _____________^ [INFO] [stdout] 131 | | inner: Arc::new (DailyRoutineInner { [INFO] [stdout] 132 | | name, [INFO] [stdout] 133 | | transition_times, [INFO] [stdout] 134 | | light_groups, [INFO] [stdout] 135 | | }), [INFO] [stdout] 136 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dailyroutine.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | Ok (Box::new (DailyRoutineProgramme { [INFO] [stdout] | _____________^ [INFO] [stdout] 131 | | inner: Arc::new (DailyRoutineInner { [INFO] [stdout] 132 | | name, [INFO] [stdout] 133 | | transition_times, [INFO] [stdout] 134 | | light_groups, [INFO] [stdout] 135 | | }), [INFO] [stdout] 136 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/programme.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 38 | let programmes = config.programmes.iter ().map ( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok (ProgrammeManager { [INFO] [stdout] | _____________^ [INFO] [stdout] 50 | | inner: Arc::new (ProgrammeManagerInner { [INFO] [stdout] 51 | | programmes, [INFO] [stdout] 52 | | state: Mutex::new (ProgrammeManagerState { [INFO] [stdout] 53 | | }), [INFO] [stdout] 54 | | }), [INFO] [stdout] 55 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/programme.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | |(programme_name, programme_config)| Ok (( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 40 | | programme_name.clone (), [INFO] [stdout] 41 | | match programme_config.r#type.as_str () { [INFO] [stdout] 42 | | "colourful" => ColourfulProgramme::build (& light_ids_by_name, programme_name.clone (), & programme_config.config) ?, [INFO] [stdout] ... | [INFO] [stdout] 45 | | }, [INFO] [stdout] 46 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/programme.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 38 | let programmes = config.programmes.iter ().map ( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok (ProgrammeManager { [INFO] [stdout] | _____________^ [INFO] [stdout] 50 | | inner: Arc::new (ProgrammeManagerInner { [INFO] [stdout] 51 | | programmes, [INFO] [stdout] 52 | | state: Mutex::new (ProgrammeManagerState { [INFO] [stdout] 53 | | }), [INFO] [stdout] 54 | | }), [INFO] [stdout] 55 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/programme.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | |(programme_name, programme_config)| Ok (( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 40 | | programme_name.clone (), [INFO] [stdout] 41 | | match programme_config.r#type.as_str () { [INFO] [stdout] 42 | | "colourful" => ColourfulProgramme::build (& light_ids_by_name, programme_name.clone (), & programme_config.config) ?, [INFO] [stdout] ... | [INFO] [stdout] 45 | | }, [INFO] [stdout] 46 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `homebot` (bin "homebot" test) due to 5 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `homebot` (bin "homebot") due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "665e2fc7fa1a8c53eea4e91f4ef2b57d68f2b58aaba4be54b629bfe323795404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665e2fc7fa1a8c53eea4e91f4ef2b57d68f2b58aaba4be54b629bfe323795404", kill_on_drop: false }` [INFO] [stdout] 665e2fc7fa1a8c53eea4e91f4ef2b57d68f2b58aaba4be54b629bfe323795404