[INFO] fetching crate for-mqtt-client 0.3.5... [INFO] checking for-mqtt-client-0.3.5 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate for-mqtt-client 0.3.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate for-mqtt-client 0.3.5 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 crates.io crate for-mqtt-client 0.3.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate for-mqtt-client 0.3.5 [INFO] tweaked toml for crates.io crate for-mqtt-client 0.3.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate for-mqtt-client 0.3.5 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.44 [INFO] [stderr] Downloaded thiserror v1.0.44 [INFO] [stderr] Downloaded webpki v0.22.0 [INFO] [stderr] Downloaded notify-debouncer-mini v0.2.1 [INFO] [stderr] Downloaded rustls-pemfile v1.0.3 [INFO] [stderr] Downloaded ringbuf v0.3.3 [INFO] [stderr] Downloaded for-event-bus-derive v0.1.1 [INFO] [stderr] Downloaded custom-utils v0.10.14 [INFO] [stderr] Downloaded for_event_bus v0.1.5 [INFO] [stderr] Downloaded serde v1.0.180 [INFO] [stderr] Downloaded rustls v0.20.8 [INFO] [stderr] Downloaded flexi_logger v0.24.2 [INFO] [stderr] Downloaded serde_derive v1.0.180 [INFO] [stderr] Downloaded rustix v0.38.6 [INFO] [stderr] Downloaded syn v2.0.28 [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] d87a014fc66b8a3afca6ee621854490fe43f7d63cc41803388f7968fd051b207 [INFO] running `Command { std: "docker" "start" "-a" "d87a014fc66b8a3afca6ee621854490fe43f7d63cc41803388f7968fd051b207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87a014fc66b8a3afca6ee621854490fe43f7d63cc41803388f7968fd051b207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87a014fc66b8a3afca6ee621854490fe43f7d63cc41803388f7968fd051b207", kill_on_drop: false }` [INFO] [stdout] d87a014fc66b8a3afca6ee621854490fe43f7d63cc41803388f7968fd051b207 [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] 533c1c8f3e62d7772c9224d81d02fec20c41822511b16ef7624f2f51d492174c [INFO] running `Command { std: "docker" "start" "-a" "533c1c8f3e62d7772c9224d81d02fec20c41822511b16ef7624f2f51d492174c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking notify-debouncer-mini v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking ringbuf v0.3.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling for-event-bus-derive v0.1.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking flexi_logger v0.24.2 [INFO] [stderr] Checking custom-utils v0.10.14 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking for_event_bus v0.1.5 [INFO] [stderr] Checking for-mqtt-client v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/login.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{read_mqtt_string, write_mqtt_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PacketParseError` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/login.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PacketParseError` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{read_mqtt_string, write_mqtt_string}; [INFO] [stdout] 3 | use crate::protocol::PacketParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/properties.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{write_mqtt_bytes, write_mqtt_string, write_remaining_length}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_remaining_length` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/properties.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_remaining_length` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{write_mqtt_bytes, write_mqtt_string, write_remaining_length}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PacketParseError` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/properties.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PacketParseError` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{write_mqtt_bytes, write_mqtt_string, write_remaining_length}; [INFO] [stdout] 3 | use crate::protocol::PacketParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_bytes, read_mqtt_string, write_mqtt_bytes, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_remaining_length` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_remaining_length` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_bytes, read_mqtt_string, write_mqtt_bytes, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `len_len` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `len_len` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::protocol::{len_len, PacketParseError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PacketParseError` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PacketParseError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::protocol::{len_len, PacketParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/ping.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/ping.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `read_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `read_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `read_u16` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `read_u16` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_remaining_length` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_remaining_length` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FixedHeader` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FixedHeader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::protocol::{len_len, property, FixedHeader, PropertyType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/tasks/task_hub/data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | default::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::*` [INFO] [stdout] --> src/tasks/task_publish/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::*` [INFO] [stdout] --> src/tasks/task_subscribe/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HubMsg` [INFO] [stdout] --> src/tasks/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub use task_hub::{HubError, HubMsg, TaskHub}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `webpki` is imported redundantly [INFO] [stdout] --> src/tls/rustls.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_rustls::{webpki, TlsConnector}; [INFO] [stdout] | ^^^^^^ the item `webpki` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/login.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{read_mqtt_string, write_mqtt_string}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PacketParseError` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/login.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PacketParseError` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{read_mqtt_string, write_mqtt_string}; [INFO] [stdout] 3 | use crate::protocol::PacketParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/properties.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{write_mqtt_bytes, write_mqtt_string, write_remaining_length}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_remaining_length` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/properties.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_remaining_length` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{write_mqtt_bytes, write_mqtt_string, write_remaining_length}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PacketParseError` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/properties.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PacketParseError` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{write_mqtt_bytes, write_mqtt_string, write_remaining_length}; [INFO] [stdout] 3 | use crate::protocol::PacketParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_bytes, read_mqtt_string, write_mqtt_bytes, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_remaining_length` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_remaining_length` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_bytes, read_mqtt_string, write_mqtt_bytes, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `len_len` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `len_len` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::protocol::{len_len, PacketParseError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PacketParseError` is imported redundantly [INFO] [stdout] --> src/protocol/packet/connect/will.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `PacketParseError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::protocol::{len_len, PacketParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/disconnect.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/ping.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/ping.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/packet/pubcommon.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `read_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `read_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `read_u16` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `read_u16` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_mqtt_string` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_mqtt_string` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `write_remaining_length` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `write_remaining_length` is already imported here [INFO] [stdout] 2 | use crate::protocol::packet::{ [INFO] [stdout] 3 | read_mqtt_string, read_u16, write_mqtt_string, write_remaining_length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FixedHeader` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `FixedHeader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::protocol::{len_len, property, FixedHeader, PropertyType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/protocol/packet/publish.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/tasks/task_hub/data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | default::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::*` [INFO] [stdout] --> src/tasks/task_publish/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data::*` [INFO] [stdout] --> src/tasks/task_subscribe/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HubMsg` [INFO] [stdout] --> src/tasks/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub use task_hub::{HubError, HubMsg, TaskHub}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `webpki` is imported redundantly [INFO] [stdout] --> src/tls/rustls.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_rustls::{webpki, TlsConnector}; [INFO] [stdout] | ^^^^^^ the item `webpki` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_hub/data.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | NetworkErr(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | NetworkErr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/tasks/task_network/mod.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum Command {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Publish(Publish), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Publish(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | PubAck(PubAck), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | PubAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | PubRec(PubRec), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | PubRec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | PubRel(PubRel), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | PubRel(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | PubComp(PubComp), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | PubComp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_subscribe/data.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | SubAck(SubAck), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | SubAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_subscribe/data.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | UnsubAck(UnsubAck), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | UnsubAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_hub/data.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | NetworkErr(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | NetworkErr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> src/tasks/task_network/mod.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | enum Command {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Publish(Publish), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Publish(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | PubAck(PubAck), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | PubAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | PubRec(PubRec), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | PubRec(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | PubRel(PubRel), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | PubRel(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_publish/data.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | PubComp(PubComp), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | PubComp(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_subscribe/data.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | SubAck(SubAck), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | SubAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tasks/task_subscribe/data.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | UnsubAck(UnsubAck), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | UnsubAck(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Info` [INFO] [stdout] --> examples/v5_client.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | LevelFilter::{Debug, Info}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> examples/v3_rustls.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{io::Read, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.12s [INFO] running `Command { std: "docker" "inspect" "533c1c8f3e62d7772c9224d81d02fec20c41822511b16ef7624f2f51d492174c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533c1c8f3e62d7772c9224d81d02fec20c41822511b16ef7624f2f51d492174c", kill_on_drop: false }` [INFO] [stdout] 533c1c8f3e62d7772c9224d81d02fec20c41822511b16ef7624f2f51d492174c