[INFO] cloning repository https://github.com/jcc333/blood-sucker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcc333/blood-sucker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c107a0771f711193919c54fe1d1330c8e39ac4b
[INFO] checking jcc333/blood-sucker against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jcc333/blood-sucker
[INFO] finished tweaking git repo https://github.com/jcc333/blood-sucker
[INFO] tweaked toml for git repo https://github.com/jcc333/blood-sucker written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jcc333/blood-sucker on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jcc333/blood-sucker 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.repo
[INFO] [stderr] warning: `mqtt` (manifest) generated 2 warnings
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe
[INFO] running `Command { std: "docker" "start" "3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.repo
[INFO] [stderr] warning: `mqtt` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking futures v0.1.25
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]     Checking lazycell v1.2.1
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking crossbeam-utils v0.6.5
[INFO] [stderr]     Checking smallvec v0.6.8
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking crossbeam-channel v0.3.8
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking crossbeam-epoch v0.7.1
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking bytes v0.4.11
[INFO] [stderr]     Checking mio v0.6.16
[INFO] [stderr]     Checking crossbeam-deque v0.6.3
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking tokio-executor v0.1.6
[INFO] [stderr]     Checking tokio-io v0.1.11
[INFO] [stderr]     Checking tokio-sync v0.1.1
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking tokio-timer v0.2.10
[INFO] [stderr]     Checking tokio-current-thread v0.1.4
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking tokio-reactor v0.1.8
[INFO] [stderr]     Checking crossbeam v0.6.0
[INFO] [stderr]     Checking tokio-threadpool v0.1.11
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio-fs v0.1.5
[INFO] [stderr]     Checking tokio v0.1.15
[INFO] [stderr]     Checking mqtt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_from)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_from)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/qos.rs:45:30
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/mqtt/serde.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn ser(&self, sink: &mut Write) -> Result<usize>;
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize>;
[INFO] [stdout]   |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/qos.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn de(source: &mut Read) -> Result<(QualityOfService, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn de(source: &mut dyn Read) -> Result<(QualityOfService, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/serde.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn de(source: &mut Read) -> Result<(Self, usize)>;
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)>;
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/remaining_length.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/remaining_length.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/variable_header.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/variable_header.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/payload.rs:87:30
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/payload.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/mqtt/message.rs:198:30
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/mqtt/message.rs:214:24
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/fixed_header.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/fixed_header.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/qos.rs:45:30
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/mqtt/serde.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn ser(&self, sink: &mut Write) -> Result<usize>;
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize>;
[INFO] [stdout]   |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/qos.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn de(source: &mut Read) -> Result<(QualityOfService, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn de(source: &mut dyn Read) -> Result<(QualityOfService, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/serde.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn de(source: &mut Read) -> Result<(Self, usize)>;
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)>;
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/remaining_length.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/remaining_length.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/variable_header.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/variable_header.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/payload.rs:87:30
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/payload.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/mqtt/message.rs:198:30
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/mqtt/message.rs:214:24
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/fixed_header.rs:39:30
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn ser(&self, sink: &mut dyn Write) -> Result<usize> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mqtt/fixed_header.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn de(source: &mut dyn Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> src/mqtt/remaining_length.rs:83:23
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self> {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sink`
[INFO] [stdout]   --> src/mqtt/variable_header.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_sink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/mqtt/variable_header.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sink`
[INFO] [stdout]   --> src/mqtt/payload.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_sink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/mqtt/payload.rs:91:11
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic`
[INFO] [stdout]   --> src/mqtt/message.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } => {
[INFO] [stdout]    |                                                  ^^^^^ help: try ignoring the field: `topic: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/message.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } => {
[INFO] [stdout]    |                                                         ^^^^^^^^^ help: try ignoring the field: `packet_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]   --> src/mqtt/message.rs:90:68
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } => {
[INFO] [stdout]    |                                                                    ^^^^^^^ help: try ignoring the field: `payload: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/message.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 |             Message::Subscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                  ^^^^^^^^^ help: try ignoring the field: `packet_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]   --> src/mqtt/message.rs:95:45
[INFO] [stdout]    |
[INFO] [stdout] 95 |             Message::Subscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/message.rs:96:36
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Message::Unsubscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                    ^^^^^^^^^ help: try ignoring the field: `packet_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]   --> src/mqtt/message.rs:96:47
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Message::Unsubscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_id`
[INFO] [stdout]    --> src/mqtt/message.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 client_id,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `client_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dup`
[INFO] [stdout]    --> src/mqtt/message.rs:145:32
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                ^^^ help: try ignoring the field: `dup: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `qos`
[INFO] [stdout]    --> src/mqtt/message.rs:145:37
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                     ^^^ help: try ignoring the field: `qos: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retain`
[INFO] [stdout]    --> src/mqtt/message.rs:145:42
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                          ^^^^^^ help: try ignoring the field: `retain: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]    --> src/mqtt/message.rs:145:68
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                                                    ^^^^^^^ help: try ignoring the field: `payload: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/message.rs:147:44
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Message::Subscribe{ packet_id, topic_filters } =>
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_codes`
[INFO] [stdout]    --> src/mqtt/message.rs:149:41
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Message::Suback{ packet_id, return_codes } =>
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ help: try ignoring the field: `return_codes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/message.rs:151:47
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Message::Unsubscribe { packet_id, topic_filters } =>
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_id`
[INFO] [stdout]   --> src/mqtt/session.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 76 |                    client_id: &'a str,
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]   --> src/mqtt/remaining_length.rs:83:23
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn from_bytes(bytes: &[u8]) -> Result<Self> {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `username`
[INFO] [stdout]   --> src/mqtt/session.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |                    username: &'a str,
[INFO] [stdout]    |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/mqtt/session.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |                    password: &'a str,
[INFO] [stdout]    |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clean_session`
[INFO] [stdout]   --> src/mqtt/session.rs:80:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |                    clean_session: bool,
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clean_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keep_alive`
[INFO] [stdout]   --> src/mqtt/session.rs:81:20
[INFO] [stdout]    |
[INFO] [stdout] 81 |                    keep_alive: u16
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keep_alive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dup`
[INFO] [stdout]   --> src/mqtt/session.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |                dup: bool,
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_dup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `qos`
[INFO] [stdout]   --> src/mqtt/session.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |                qos: QualityOfService,
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_qos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retain`
[INFO] [stdout]   --> src/mqtt/session.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |                retain: bool,
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_retain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic`
[INFO] [stdout]   --> src/mqtt/session.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |                topic: &'a str,
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_topic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sink`
[INFO] [stdout]   --> src/mqtt/variable_header.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_sink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/session.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |                packet_id: Option<PacketId>,
[INFO] [stdout]    |                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/mqtt/variable_header.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]    --> src/mqtt/session.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |                payload: &'a str) -> Result<()> {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn puback(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn pubrec(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:115:41
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn pubrel(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:120:42
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn pubcomp(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         packet_id: PacketId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/session.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         topic_filters: &'a[(&'a str, QualityOfService)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_filters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         packet_id: PacketId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/session.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         topic_filters: &'a[&'a str]
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_filters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_qos`, `to_qos`, `to_byte`, and `from_byte` are never used
[INFO] [stdout]   --> src/mqtt/payload.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl SubackReturn {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 44 |     fn from_qos(qos: Option<QualityOfService>) -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn to_qos(&self) -> Option<QualityOfService> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn to_byte(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn from_byte(byte: u8) -> Result<Self> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `filters` and `will` are never read
[INFO] [stdout]  --> src/mqtt/session.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Session<'a> {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 7 |     filters: BTreeMap<QualityOfService, BTreeSet<&'a str>>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     will: Option<Will<'a>>
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `subscribe` is never used
[INFO] [stdout]   --> src/mqtt/session.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a> Session<'a> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn subscribe(&mut self, qos: QualityOfService, topic_filter: &'a str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sink`
[INFO] [stdout]   --> src/mqtt/payload.rs:87:19
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn ser(&self, sink: &mut Write) -> Result<usize> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_sink`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/mqtt/payload.rs:91:11
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn de(source: &mut Read) -> Result<(Self, usize)> {
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mqtt/message.rs:163:16
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn payload(&self) -> Option<Payload> {
[INFO] [stdout]     |                ^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                |
[INFO] [stdout]     |                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn payload(&self) -> Option<Payload<'_>> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic`
[INFO] [stdout]   --> src/mqtt/message.rs:90:50
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } => {
[INFO] [stdout]    |                                                  ^^^^^ help: try ignoring the field: `topic: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/message.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } => {
[INFO] [stdout]    |                                                         ^^^^^^^^^ help: try ignoring the field: `packet_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]   --> src/mqtt/message.rs:90:68
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } => {
[INFO] [stdout]    |                                                                    ^^^^^^^ help: try ignoring the field: `payload: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/message.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 |             Message::Subscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                  ^^^^^^^^^ help: try ignoring the field: `packet_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]   --> src/mqtt/message.rs:95:45
[INFO] [stdout]    |
[INFO] [stdout] 95 |             Message::Subscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/message.rs:96:36
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Message::Unsubscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                    ^^^^^^^^^ help: try ignoring the field: `packet_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]   --> src/mqtt/message.rs:96:47
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Message::Unsubscribe { packet_id, topic_filters } => [false, false, true, false],
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_id`
[INFO] [stdout]    --> src/mqtt/message.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 client_id,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `client_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dup`
[INFO] [stdout]    --> src/mqtt/message.rs:145:32
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                ^^^ help: try ignoring the field: `dup: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `qos`
[INFO] [stdout]    --> src/mqtt/message.rs:145:37
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                     ^^^ help: try ignoring the field: `qos: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retain`
[INFO] [stdout]    --> src/mqtt/message.rs:145:42
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                          ^^^^^^ help: try ignoring the field: `retain: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]    --> src/mqtt/message.rs:145:68
[INFO] [stdout]     |
[INFO] [stdout] 145 |             Message::Publish { dup, qos, retain, topic, packet_id, payload } =>
[INFO] [stdout]     |                                                                    ^^^^^^^ help: try ignoring the field: `payload: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/message.rs:147:44
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Message::Subscribe{ packet_id, topic_filters } =>
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_codes`
[INFO] [stdout]    --> src/mqtt/message.rs:149:41
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Message::Suback{ packet_id, return_codes } =>
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ help: try ignoring the field: `return_codes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/message.rs:151:47
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Message::Unsubscribe { packet_id, topic_filters } =>
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client_id`
[INFO] [stdout]   --> src/mqtt/session.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 76 |                    client_id: &'a str,
[INFO] [stdout]    |                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `username`
[INFO] [stdout]   --> src/mqtt/session.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |                    username: &'a str,
[INFO] [stdout]    |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/mqtt/session.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |                    password: &'a str,
[INFO] [stdout]    |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clean_session`
[INFO] [stdout]   --> src/mqtt/session.rs:80:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |                    clean_session: bool,
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clean_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keep_alive`
[INFO] [stdout]   --> src/mqtt/session.rs:81:20
[INFO] [stdout]    |
[INFO] [stdout] 81 |                    keep_alive: u16
[INFO] [stdout]    |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keep_alive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dup`
[INFO] [stdout]   --> src/mqtt/session.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |                dup: bool,
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_dup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `qos`
[INFO] [stdout]   --> src/mqtt/session.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |                qos: QualityOfService,
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_qos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retain`
[INFO] [stdout]   --> src/mqtt/session.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |                retain: bool,
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_retain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic`
[INFO] [stdout]   --> src/mqtt/session.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |                topic: &'a str,
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_topic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]   --> src/mqtt/session.rs:99:16
[INFO] [stdout]    |
[INFO] [stdout] 99 |                packet_id: Option<PacketId>,
[INFO] [stdout]    |                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]    --> src/mqtt/session.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |                payload: &'a str) -> Result<()> {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn puback(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn pubrec(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:115:41
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn pubrel(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:120:42
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn pubcomp(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         packet_id: PacketId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/session.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         topic_filters: &'a[(&'a str, QualityOfService)]
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_filters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet_id`
[INFO] [stdout]    --> src/mqtt/session.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         packet_id: PacketId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `topic_filters`
[INFO] [stdout]    --> src/mqtt/session.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |         topic_filters: &'a[&'a str]
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_filters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_qos`, `to_qos`, `to_byte`, and `from_byte` are never used
[INFO] [stdout]   --> src/mqtt/payload.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl SubackReturn {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 44 |     fn from_qos(qos: Option<QualityOfService>) -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn to_qos(&self) -> Option<QualityOfService> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn to_byte(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn from_byte(byte: u8) -> Result<Self> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `filters` and `will` are never read
[INFO] [stdout]  --> src/mqtt/session.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Session<'a> {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 7 |     filters: BTreeMap<QualityOfService, BTreeSet<&'a str>>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     will: Option<Will<'a>>
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `subscribe` is never used
[INFO] [stdout]   --> src/mqtt/session.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a> Session<'a> {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn subscribe(&mut self, qos: QualityOfService, topic_filter: &'a str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/mqtt/message.rs:163:16
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn payload(&self) -> Option<Payload> {
[INFO] [stdout]     |                ^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                |
[INFO] [stdout]     |                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn payload(&self) -> Option<Payload<'_>> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::net::tcp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWrite`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::AsyncWrite;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::net::TcpStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_from)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sessions`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let sessions = mqtt::Sessions::new();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::net::tcp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWrite`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::AsyncWrite;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::net::TcpStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_from)]
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sessions`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let sessions = mqtt::Sessions::new();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.59s
[INFO] running `Command { std: "docker" "inspect" "3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe", kill_on_drop: false }`
[INFO] [stdout] 3b7513696d2b6f9c2fc7277e598c16865dc9aba5769c7318eee85012f48d46fe
