[INFO] cloning repository https://github.com/LevitatingOrange/proove_mqtt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LevitatingOrange/proove_mqtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fproove_mqtt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fproove_mqtt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28882206f98f1e6e1406e5092ffc36f1b7953049 [INFO] checking LevitatingOrange/proove_mqtt against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fproove_mqtt" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LevitatingOrange/proove_mqtt on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LevitatingOrange/proove_mqtt [INFO] finished tweaking git repo https://github.com/LevitatingOrange/proove_mqtt [INFO] tweaked toml for git repo https://github.com/LevitatingOrange/proove_mqtt written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LevitatingOrange/proove_mqtt 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded syn v0.14.4 [INFO] [stderr] Downloaded serde v1.0.70 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.8 [INFO] [stderr] Downloaded bytes v0.4.8 [INFO] [stderr] Downloaded sysfs_gpio v0.5.3 [INFO] [stderr] Downloaded serde_derive v1.0.70 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4fa4ffacd9e5a9a8a445aad9c58f202c4238ab0e017f6777579df5cfb9df132 [INFO] running `Command { std: "docker" "start" "-a" "c4fa4ffacd9e5a9a8a445aad9c58f202c4238ab0e017f6777579df5cfb9df132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4fa4ffacd9e5a9a8a445aad9c58f202c4238ab0e017f6777579df5cfb9df132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4fa4ffacd9e5a9a8a445aad9c58f202c4238ab0e017f6777579df5cfb9df132", kill_on_drop: false }` [INFO] [stdout] c4fa4ffacd9e5a9a8a445aad9c58f202c4238ab0e017f6777579df5cfb9df132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 202f4bc818fe141f137cc2ef3da7f8594303a3af1012bc5a47975effc6591781 [INFO] running `Command { std: "docker" "start" "-a" "202f4bc818fe141f137cc2ef3da7f8594303a3af1012bc5a47975effc6591781", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.8 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking sysfs_gpio v0.5.3 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking proove_mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broker` and `root_topic` are never read [INFO] [stdout] --> src/config.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | broker: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | #[serde(default = "default_topic")] [INFO] [stdout] 61 | root_topic: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_OFFSET` is never used [INFO] [stdout] --> src/devices.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const GROUP_SWITCH_OFFSET: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_MASK` is never used [INFO] [stdout] --> src/devices.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const GROUP_SWITCH_MASK: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `house_id`, `group_id`, and `tries` are never read [INFO] [stdout] --> src/devices.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | house_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | devices: HashMap, [INFO] [stdout] 36 | tries: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_proove_packet` is never used [INFO] [stdout] --> src/devices.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_proove_packet(&self, status: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inconsistency` is never constructed [INFO] [stdout] --> src/devices.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum ManagementError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Inconsistency, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_group_state` is never used [INFO] [stdout] --> src/devices.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl DeviceManager { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_group_state(&mut self, group_name: String, state: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broker` and `root_topic` are never read [INFO] [stdout] --> src/config.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | broker: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | #[serde(default = "default_topic")] [INFO] [stdout] 61 | root_topic: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_OFFSET` is never used [INFO] [stdout] --> src/devices.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const GROUP_SWITCH_OFFSET: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_MASK` is never used [INFO] [stdout] --> src/devices.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const GROUP_SWITCH_MASK: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `house_id`, `group_id`, and `tries` are never read [INFO] [stdout] --> src/devices.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | house_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | devices: HashMap, [INFO] [stdout] 36 | tries: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_proove_packet` is never used [INFO] [stdout] --> src/devices.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_proove_packet(&self, status: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inconsistency` is never constructed [INFO] [stdout] --> src/devices.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum ManagementError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Inconsistency, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_group_state` is never used [INFO] [stdout] --> src/devices.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl DeviceManager { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_group_state(&mut self, group_name: String, state: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "202f4bc818fe141f137cc2ef3da7f8594303a3af1012bc5a47975effc6591781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202f4bc818fe141f137cc2ef3da7f8594303a3af1012bc5a47975effc6591781", kill_on_drop: false }` [INFO] [stdout] 202f4bc818fe141f137cc2ef3da7f8594303a3af1012bc5a47975effc6591781 [INFO] checking LevitatingOrange/proove_mqtt against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fproove_mqtt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LevitatingOrange/proove_mqtt on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LevitatingOrange/proove_mqtt [INFO] finished tweaking git repo https://github.com/LevitatingOrange/proove_mqtt [INFO] tweaked toml for git repo https://github.com/LevitatingOrange/proove_mqtt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LevitatingOrange/proove_mqtt 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fbf98d7ea703d4b0af9b9eed7f8685ac6039450d7bd16f36503941b24781198 [INFO] running `Command { std: "docker" "start" "-a" "0fbf98d7ea703d4b0af9b9eed7f8685ac6039450d7bd16f36503941b24781198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fbf98d7ea703d4b0af9b9eed7f8685ac6039450d7bd16f36503941b24781198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fbf98d7ea703d4b0af9b9eed7f8685ac6039450d7bd16f36503941b24781198", kill_on_drop: false }` [INFO] [stdout] 0fbf98d7ea703d4b0af9b9eed7f8685ac6039450d7bd16f36503941b24781198 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2f04dcf060f32cdf10937e58f88345aad4a620cda0c3bba28c62e0fe8dc9879 [INFO] running `Command { std: "docker" "start" "-a" "b2f04dcf060f32cdf10937e58f88345aad4a620cda0c3bba28c62e0fe8dc9879", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.8 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking sysfs_gpio v0.5.3 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking proove_mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broker` and `root_topic` are never read [INFO] [stdout] --> src/config.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | broker: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | #[serde(default = "default_topic")] [INFO] [stdout] 61 | root_topic: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_OFFSET` is never used [INFO] [stdout] --> src/devices.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const GROUP_SWITCH_OFFSET: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_MASK` is never used [INFO] [stdout] --> src/devices.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const GROUP_SWITCH_MASK: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `house_id`, `group_id`, and `tries` are never read [INFO] [stdout] --> src/devices.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | house_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | devices: HashMap, [INFO] [stdout] 36 | tries: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_proove_packet` is never used [INFO] [stdout] --> src/devices.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_proove_packet(&self, status: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inconsistency` is never constructed [INFO] [stdout] --> src/devices.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum ManagementError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Inconsistency, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_group_state` is never used [INFO] [stdout] --> src/devices.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl DeviceManager { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_group_state(&mut self, group_name: String, state: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GroupConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DeviceConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broker` and `root_topic` are never read [INFO] [stdout] --> src/config.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | broker: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | #[serde(default = "default_topic")] [INFO] [stdout] 61 | root_topic: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_OFFSET` is never used [INFO] [stdout] --> src/devices.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const GROUP_SWITCH_OFFSET: u32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUP_SWITCH_MASK` is never used [INFO] [stdout] --> src/devices.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const GROUP_SWITCH_MASK: u32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `house_id`, `group_id`, and `tries` are never read [INFO] [stdout] --> src/devices.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Group { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | house_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | devices: HashMap, [INFO] [stdout] 36 | tries: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_proove_packet` is never used [INFO] [stdout] --> src/devices.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_proove_packet(&self, status: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inconsistency` is never constructed [INFO] [stdout] --> src/devices.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum ManagementError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Inconsistency, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_group_state` is never used [INFO] [stdout] --> src/devices.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl DeviceManager { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_group_state(&mut self, group_name: String, state: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proove_mqtt` (bin "proove_mqtt") due to 4 previous errors; 8 warnings emitted [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GroupConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DeviceConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proove_mqtt` (bin "proove_mqtt" test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b2f04dcf060f32cdf10937e58f88345aad4a620cda0c3bba28c62e0fe8dc9879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f04dcf060f32cdf10937e58f88345aad4a620cda0c3bba28c62e0fe8dc9879", kill_on_drop: false }` [INFO] [stdout] b2f04dcf060f32cdf10937e58f88345aad4a620cda0c3bba28c62e0fe8dc9879