[INFO] fetching crate rumqttc 0.23.0... [INFO] checking rumqttc-0.23.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rumqttc 0.23.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rumqttc 0.23.0 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 rumqttc 0.23.0 [INFO] finished tweaking crates.io crate rumqttc 0.23.0 [INFO] tweaked toml for crates.io crate rumqttc 0.23.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate rumqttc 0.23.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.5.0 [INFO] [stderr] Downloaded async_io_stream v0.3.3 [INFO] [stderr] Downloaded async-http-proxy v1.2.5 [INFO] [stderr] Downloaded color-backtrace v0.6.0 [INFO] [stderr] Downloaded pharos v0.5.3 [INFO] [stderr] Downloaded semver v1.0.19 [INFO] [stderr] Downloaded rustix v0.38.17 [INFO] [stderr] Downloaded rustls-webpki v0.101.6 [INFO] [stderr] Downloaded ws_stream_tungstenite v0.11.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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] debc395b5dabb8e828a0a9eaa83748ac26da6e05923e30a656e42b35223ad7e0 [INFO] running `Command { std: "docker" "start" "-a" "debc395b5dabb8e828a0a9eaa83748ac26da6e05923e30a656e42b35223ad7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "debc395b5dabb8e828a0a9eaa83748ac26da6e05923e30a656e42b35223ad7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debc395b5dabb8e828a0a9eaa83748ac26da6e05923e30a656e42b35223ad7e0", kill_on_drop: false }` [INFO] [stdout] debc395b5dabb8e828a0a9eaa83748ac26da6e05923e30a656e42b35223ad7e0 [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9c9d2a4bf56a008120ef2cf2ed3968f6663b9ee213b929a36ecee362ce1b10 [INFO] running `Command { std: "docker" "start" "-a" "ca9c9d2a4bf56a008120ef2cf2ed3968f6663b9ee213b929a36ecee362ce1b10", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking rustls-webpki v0.101.6 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking color-backtrace v0.6.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rumqttc v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> src/eventloop.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Incoming, MqttState, NetworkOptions, Packet, Request, StateError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::mqttbytes::v4::*; [INFO] [stdout] | ----------------------- the item `Packet` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/disconnect.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/mqttbytes/v4/disconnect.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 `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/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/mqttbytes/v4/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/mqttbytes/v4/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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/mqttbytes/v4/suback.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | 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 `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::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 `ConnectReturnCode` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mqttbytes::v5::*; [INFO] [stdout] | ----------------------- the item `ConnectReturnCode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use super::mqttbytes::v5::ConnectReturnCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/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/v5/mqttbytes/v5/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/v5/mqttbytes/v5/disconnect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `property` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `property` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyType` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `PropertyType` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/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/v5/mqttbytes/v5/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/v5/mqttbytes/v5/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::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 `TryFrom` is imported redundantly [INFO] [stdout] --> src/tls.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::convert::TryFrom; [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: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> examples/serde.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/async_manual_acks.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, Event, EventLoop, Incoming, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/syncrecv.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::{self, Client, LastWill, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/syncpubsub.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::{self, Client, LastWill, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/asyncpubsub.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> tests/broker.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::mqttbytes::v4::*; [INFO] [stdout] | ------------------------- the item `Packet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> tests/broker.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::mqttbytes::v4::*; [INFO] [stdout] | ------------------------- the item `Packet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, Packet}; [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] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> src/eventloop.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Incoming, MqttState, NetworkOptions, Packet, Request, StateError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::mqttbytes::v4::*; [INFO] [stdout] | ----------------------- the item `Packet` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 82 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 272 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/disconnect.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/mqttbytes/v4/disconnect.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 `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/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/mqttbytes/v4/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/mqttbytes/v4/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 59 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 128 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 129 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 128 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 129 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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/mqttbytes/v4/suback.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | 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 `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 90 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 150 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::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 `ConnectReturnCode` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mqttbytes::v5::*; [INFO] [stdout] | ----------------------- the item `ConnectReturnCode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use super::mqttbytes::v5::ConnectReturnCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 488 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 489 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 664 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 665 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/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/v5/mqttbytes/v5/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/v5/mqttbytes/v5/disconnect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `property` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `property` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyType` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `PropertyType` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/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/v5/mqttbytes/v5/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/v5/mqttbytes/v5/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 236 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 237 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 215 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 307 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 231 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 216 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 214 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 279 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 280 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 202 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 155 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::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 `rustls` is imported redundantly [INFO] [stdout] --> src/tls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_rustls::rustls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the item `rustls` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tls.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::convert::TryFrom; [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.19s [INFO] running `Command { std: "docker" "inspect" "ca9c9d2a4bf56a008120ef2cf2ed3968f6663b9ee213b929a36ecee362ce1b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9c9d2a4bf56a008120ef2cf2ed3968f6663b9ee213b929a36ecee362ce1b10", kill_on_drop: false }` [INFO] [stdout] ca9c9d2a4bf56a008120ef2cf2ed3968f6663b9ee213b929a36ecee362ce1b10 [INFO] checking rumqttc-0.23.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rumqttc 0.23.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rumqttc 0.23.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rumqttc 0.23.0 [INFO] finished tweaking crates.io crate rumqttc 0.23.0 [INFO] tweaked toml for crates.io crate rumqttc 0.23.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate rumqttc 0.23.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4104f158ef05e5515562bfbabfe40c198b1aca8503c40cf5867342b01ed92e4 [INFO] running `Command { std: "docker" "start" "-a" "a4104f158ef05e5515562bfbabfe40c198b1aca8503c40cf5867342b01ed92e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4104f158ef05e5515562bfbabfe40c198b1aca8503c40cf5867342b01ed92e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4104f158ef05e5515562bfbabfe40c198b1aca8503c40cf5867342b01ed92e4", kill_on_drop: false }` [INFO] [stdout] a4104f158ef05e5515562bfbabfe40c198b1aca8503c40cf5867342b01ed92e4 [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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7b18e3d03b4572ee2a9b8f48838745cd7c16b9e937791b3c4815c8ac0d9a209 [INFO] running `Command { std: "docker" "start" "-a" "e7b18e3d03b4572ee2a9b8f48838745cd7c16b9e937791b3c4815c8ac0d9a209", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking regex-automata v0.3.9 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.9.6 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking rustls-webpki v0.101.6 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking color-backtrace v0.6.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rumqttc v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> src/eventloop.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Incoming, MqttState, NetworkOptions, Packet, Request, StateError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::mqttbytes::v4::*; [INFO] [stdout] | ----------------------- the item `Packet` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/disconnect.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/mqttbytes/v4/disconnect.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 `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/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/mqttbytes/v4/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/mqttbytes/v4/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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/mqttbytes/v4/suback.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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 `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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 `ConnectReturnCode` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mqttbytes::v5::*; [INFO] [stdout] | ----------------------- the item `ConnectReturnCode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use super::mqttbytes::v5::ConnectReturnCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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/v5/mqttbytes/v5/disconnect.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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/v5/mqttbytes/v5/disconnect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `property` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `property` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyType` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `PropertyType` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/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/v5/mqttbytes/v5/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/v5/mqttbytes/v5/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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 `TryFrom` is imported redundantly [INFO] [stdout] --> src/tls.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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] [stderr] Checking bincode v1.3.3 [INFO] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> src/eventloop.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Incoming, MqttState, NetworkOptions, Packet, Request, StateError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::mqttbytes::v4::*; [INFO] [stdout] | ----------------------- the item `Packet` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connack.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 82 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/connect.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 272 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/disconnect.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/mqttbytes/v4/disconnect.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 `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/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/mqttbytes/v4/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/mqttbytes/v4/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/puback.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 59 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 128 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 129 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/publish.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 128 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 129 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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/mqttbytes/v4/suback.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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 `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/suback.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 90 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/subscribe.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 150 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/mqttbytes/v4/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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 `ConnectReturnCode` is imported redundantly [INFO] [stdout] --> src/v5/eventloop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mqttbytes::v5::*; [INFO] [stdout] | ----------------------- the item `ConnectReturnCode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use super::mqttbytes::v5::ConnectReturnCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connack.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 488 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 489 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/connect.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 664 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 665 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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/v5/mqttbytes/v5/disconnect.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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/v5/mqttbytes/v5/disconnect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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/v5/mqttbytes/v5/disconnect.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `property` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `property` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PropertyType` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/disconnect.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `PropertyType` is already imported here [INFO] [stdout] 6 | [INFO] [stdout] 7 | use super::{property, PropertyType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/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/v5/mqttbytes/v5/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/v5/mqttbytes/v5/puback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/puback.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 236 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 237 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubcomp.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 215 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/publish.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 307 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrec.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 231 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/pubrel.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 216 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/suback.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 214 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/subscribe.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 279 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 280 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BufMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsuback.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 202 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Buf` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Buf` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 2 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/v5/mqttbytes/v5/unsubscribe.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] 155 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/v5/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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 `rustls` is imported redundantly [INFO] [stdout] --> src/tls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_rustls::rustls; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the item `rustls` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tls.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/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: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/asyncpubsub.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> tests/broker.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::mqttbytes::v4::*; [INFO] [stdout] | ------------------------- the item `Packet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> examples/serde.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/syncrecv.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::{self, Client, LastWill, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [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: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/syncpubsub.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::{self, Client, LastWill, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [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] [stdout] warning: the item `rumqttc` is imported redundantly [INFO] [stdout] --> examples/async_manual_acks.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use rumqttc::{self, AsyncClient, Event, EventLoop, Incoming, MqttOptions, QoS}; [INFO] [stdout] | ^^^^ the item `rumqttc` is already defined by prelude [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] [stdout] warning: the item `Packet` is imported redundantly [INFO] [stdout] --> tests/broker.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 1 | use rumqttc::mqttbytes::v4::*; [INFO] [stdout] | ------------------------- the item `Packet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use rumqttc::{Event, Incoming, Outgoing, Packet}; [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] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.67s [INFO] running `Command { std: "docker" "inspect" "e7b18e3d03b4572ee2a9b8f48838745cd7c16b9e937791b3c4815c8ac0d9a209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b18e3d03b4572ee2a9b8f48838745cd7c16b9e937791b3c4815c8ac0d9a209", kill_on_drop: false }` [INFO] [stdout] e7b18e3d03b4572ee2a9b8f48838745cd7c16b9e937791b3c4815c8ac0d9a209