[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fproove_mqtt" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LevitatingOrange/proove_mqtt on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded sysfs_gpio v0.5.3 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded iovec v0.1.2 [INFO] [stderr] Downloaded bytes v0.4.8 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded serde_derive v1.0.70 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded proc-macro2 v0.4.8 [INFO] [stderr] Downloaded syn v0.14.4 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] [stderr] Downloaded serde v1.0.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40d06a35ac629c93f41965472e7c5497ba577bab647752e353f738cfa6d6f1fa [INFO] running `Command { std: "docker" "start" "-a" "40d06a35ac629c93f41965472e7c5497ba577bab647752e353f738cfa6d6f1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40d06a35ac629c93f41965472e7c5497ba577bab647752e353f738cfa6d6f1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d06a35ac629c93f41965472e7c5497ba577bab647752e353f738cfa6d6f1fa", kill_on_drop: false }` [INFO] [stdout] 40d06a35ac629c93f41965472e7c5497ba577bab647752e353f738cfa6d6f1fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a792dba74ffbe451e57848423ab49ae7554963e0ddbc9101fee38f8880d482c4 [INFO] running `Command { std: "docker" "start" "-a" "a792dba74ffbe451e57848423ab49ae7554963e0ddbc9101fee38f8880d482c4", 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 unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.4.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling syn v0.14.4 [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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | pub fn load_config(path: Option<&str>) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml` is imported redundantly [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [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: if this is an object-safe trait, 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: 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: 10 warnings emitted [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.56s [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" "a792dba74ffbe451e57848423ab49ae7554963e0ddbc9101fee38f8880d482c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a792dba74ffbe451e57848423ab49ae7554963e0ddbc9101fee38f8880d482c4", kill_on_drop: false }` [INFO] [stdout] a792dba74ffbe451e57848423ab49ae7554963e0ddbc9101fee38f8880d482c4