[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] building jcc333/blood-sucker against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jcc333/blood-sucker on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc1/source/Cargo.toml
[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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused manifest key: package.repo
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cfg-if v0.1.6
[INFO] [stderr]   Downloaded log v0.4.6
[INFO] [stderr]   Downloaded tokio-uds v0.2.5
[INFO] [stderr]   Downloaded rdrand v0.4.0
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded crossbeam-deque v0.6.3
[INFO] [stderr]   Downloaded tokio-codec v0.1.1
[INFO] [stderr]   Downloaded tokio-tcp v0.1.3
[INFO] [stderr]   Downloaded tokio-timer v0.2.10
[INFO] [stderr]   Downloaded arrayvec v0.4.10
[INFO] [stderr]   Downloaded crossbeam-channel v0.3.8
[INFO] [stderr]   Downloaded mio v0.6.16
[INFO] [stderr]   Downloaded libc v0.2.48
[INFO] [stderr]   Downloaded futures v0.1.25
[INFO] [stderr]   Downloaded rand v0.6.5
[INFO] [stderr]   Downloaded crossbeam-epoch v0.7.1
[INFO] [stderr]   Downloaded rand_isaac v0.1.1
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded lazy_static v1.2.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.6.5
[INFO] [stderr]   Downloaded tokio-udp v0.1.3
[INFO] [stderr]   Downloaded lazycell v1.2.1
[INFO] [stderr]   Downloaded num_cpus v1.10.0
[INFO] [stderr]   Downloaded lock_api v0.1.5
[INFO] [stderr]   Downloaded autocfg v0.1.2
[INFO] [stderr]   Downloaded rand_chacha v0.1.1
[INFO] [stderr]   Downloaded rand_hc v0.1.0
[INFO] [stderr]   Downloaded rand_os v0.1.2
[INFO] [stderr]   Downloaded rand_xorshift v0.1.1
[INFO] [stderr]   Downloaded unreachable v1.0.0
[INFO] [stderr]   Downloaded tokio-executor v0.1.6
[INFO] [stderr]   Downloaded byteorder v1.3.1
[INFO] [stderr]   Downloaded iovec v0.1.2
[INFO] [stderr]   Downloaded nodrop v0.1.13
[INFO] [stderr]   Downloaded stable_deref_trait v1.1.1
[INFO] [stderr]   Downloaded owning_ref v0.4.0
[INFO] [stderr]   Downloaded rand_jitter v0.1.3
[INFO] [stderr]   Downloaded rand_core v0.3.1
[INFO] [stderr]   Downloaded fuchsia-cprng v0.1.1
[INFO] [stderr]   Downloaded void v1.0.2
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded tokio-io v0.1.11
[INFO] [stderr]   Downloaded bytes v0.4.11
[INFO] [stderr]   Downloaded tokio-sync v0.1.1
[INFO] [stderr]   Downloaded crossbeam v0.6.0
[INFO] [stderr]   Downloaded rand_pcg v0.1.1
[INFO] [stderr]   Downloaded tokio v0.1.15
[INFO] [stderr]   Downloaded tokio-current-thread v0.1.4
[INFO] [stderr]   Downloaded tokio-fs v0.1.5
[INFO] [stderr]   Downloaded tokio-reactor v0.1.8
[INFO] [stderr]   Downloaded smallvec v0.6.8
[INFO] [stderr]   Downloaded tokio-threadpool v0.1.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a1f25fc5e47a18197065a61e3afd30b010ab354371fc3991ef64c2bfdd7ac41
[INFO] running `Command { std: "docker" "start" "-a" "5a1f25fc5e47a18197065a61e3afd30b010ab354371fc3991ef64c2bfdd7ac41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a1f25fc5e47a18197065a61e3afd30b010ab354371fc3991ef64c2bfdd7ac41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a1f25fc5e47a18197065a61e3afd30b010ab354371fc3991ef64c2bfdd7ac41", kill_on_drop: false }`
[INFO] [stdout] 5a1f25fc5e47a18197065a61e3afd30b010ab354371fc3991ef64c2bfdd7ac41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40b22801e9e283c89acc12748d1d5706e4e04af699debaca70b105bb98519ddf
[INFO] running `Command { std: "docker" "start" "-a" "40b22801e9e283c89acc12748d1d5706e4e04af699debaca70b105bb98519ddf", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused manifest key: package.repo
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling futures v0.1.25
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling smallvec v0.6.8
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling crossbeam-channel v0.3.8
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling crossbeam-deque v0.6.3
[INFO] [stderr]    Compiling rand_os v0.1.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling bytes v0.4.11
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling tokio-executor v0.1.6
[INFO] [stderr]    Compiling tokio-io v0.1.11
[INFO] [stderr]    Compiling tokio-sync v0.1.1
[INFO] [stderr]    Compiling tokio-current-thread v0.1.4
[INFO] [stderr]    Compiling tokio-timer v0.2.10
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.8
[INFO] [stderr]    Compiling crossbeam v0.6.0
[INFO] [stderr]    Compiling tokio-threadpool v0.1.11
[INFO] [stderr]    Compiling tokio-udp v0.1.3
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-fs v0.1.5
[INFO] [stderr]    Compiling tokio v0.1.15
[INFO] [stderr]    Compiling 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: 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[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/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/nightly/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/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/nightly/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 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/nightly/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/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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)]` 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: `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)]` 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 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.84s
[INFO] running `Command { std: "docker" "inspect" "40b22801e9e283c89acc12748d1d5706e4e04af699debaca70b105bb98519ddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40b22801e9e283c89acc12748d1d5706e4e04af699debaca70b105bb98519ddf", kill_on_drop: false }`
[INFO] [stdout] 40b22801e9e283c89acc12748d1d5706e4e04af699debaca70b105bb98519ddf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d228285de4b2e9e3d627ec4dd42d4663d3f0b8e4a111a446539da0e0b4cfd2d
[INFO] running `Command { std: "docker" "start" "-a" "9d228285de4b2e9e3d627ec4dd42d4663d3f0b8e4a111a446539da0e0b4cfd2d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused manifest key: package.repo
[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/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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[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/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/nightly/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/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/nightly/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 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/nightly/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/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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)]` 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: `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)]` 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] [stderr]    Compiling mqtt v0.1.0 (/opt/rustwide/workdir)
[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)]` 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)]` 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/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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[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/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/nightly/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/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/nightly/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 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/nightly/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/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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)]` 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: `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)]` 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "9d228285de4b2e9e3d627ec4dd42d4663d3f0b8e4a111a446539da0e0b4cfd2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d228285de4b2e9e3d627ec4dd42d4663d3f0b8e4a111a446539da0e0b4cfd2d", kill_on_drop: false }`
[INFO] [stdout] 9d228285de4b2e9e3d627ec4dd42d4663d3f0b8e4a111a446539da0e0b4cfd2d
