[INFO] cloning repository https://github.com/hexiot/HexMQ [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hexiot/HexMQ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexiot%2FHexMQ", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexiot%2FHexMQ'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 839e508b643e28cfba4251191edc4d0cd77be130 [INFO] checking hexiot/HexMQ against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhexiot%2FHexMQ" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hexiot/HexMQ [INFO] finished tweaking git repo https://github.com/hexiot/HexMQ [INFO] tweaked toml for git repo https://github.com/hexiot/HexMQ written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hexiot/HexMQ on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hexiot/HexMQ 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-appender v0.2.3 [INFO] [stderr] Downloaded async-tungstenite v0.29.1 [INFO] [stderr] Downloaded ws_stream_tungstenite v0.15.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.8 [INFO] [stderr] Downloaded daemonize v0.5.0 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded toml_parser v1.0.1 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded toml v0.9.2 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded config v0.15.13 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded yaml-rust2 v0.10.2 [INFO] [stderr] Downloaded rustls v0.23.28 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8fe63fe5e3b310c3e1ce4690fa4894ba53b1236e0f9aaa9b256804c21bc5b1 [INFO] running `Command { std: "docker" "start" "-a" "6b8fe63fe5e3b310c3e1ce4690fa4894ba53b1236e0f9aaa9b256804c21bc5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8fe63fe5e3b310c3e1ce4690fa4894ba53b1236e0f9aaa9b256804c21bc5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8fe63fe5e3b310c3e1ce4690fa4894ba53b1236e0f9aaa9b256804c21bc5b1", kill_on_drop: false }` [INFO] [stdout] 6b8fe63fe5e3b310c3e1ce4690fa4894ba53b1236e0f9aaa9b256804c21bc5b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82bcb2a5859329b9571aec0b9f65ade24b75e45a91297869af0cf71edc03ae16 [INFO] running `Command { std: "docker" "start" "-a" "82bcb2a5859329b9571aec0b9f65ade24b75e45a91297869af0cf71edc03ae16", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling pharos v0.5.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling async_io_stream v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling ws_stream_tungstenite v0.15.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Checking yaml-rust2 v0.10.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hexmq v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.9.2 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking async-tungstenite v0.29.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking config v0.15.13 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stdout] warning: unused imports: `Property` and `decode_len` [INFO] [stdout] --> src/protocol/v3/connect.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::protocol::{decode_len, decode_string, Connect, Error, Level, Property, QoS}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connect` [INFO] [stdout] --> src/protocol/v5/codec.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::protocol::{decode_len, Connect, Error, Packet, PacketType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Packet` [INFO] [stdout] --> src/protocol/version.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{decode_len, decode_string, Error, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/protocol/version.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Context` [INFO] [stdout] --> src/session.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Property` and `decode_len` [INFO] [stdout] --> src/protocol/v3/connect.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::protocol::{decode_len, decode_string, Connect, Error, Level, Property, QoS}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connect` [INFO] [stdout] --> src/protocol/v5/codec.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::protocol::{decode_len, Connect, Error, Packet, PacketType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Packet` [INFO] [stdout] --> src/protocol/version.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{decode_len, decode_string, Error, Packet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/protocol/version.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Context` [INFO] [stdout] --> src/session.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mqtt.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | let (stream,addr) = match res { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/protocol/v3/codec.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | fn encode(&mut self, item: Packet, dst: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mqtt.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | let (stream,addr) = match res { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 11 | #[error("{msg}")] [INFO] [stdout] 12 | Error { code: u16, msg: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ok` and `msg` are never used [INFO] [stdout] --> src/api.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl ApiOk<()> { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 55 | fn ok() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn msg>(msg: M) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mqtt` is never read [INFO] [stdout] --> src/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub mqtt: Mqtt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proxy_protocol` and `max_connections` are never read [INFO] [stdout] --> src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Listener { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub proxy_protocol: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[serde(default)] [INFO] [stdout] 43 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Listener` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_clientid_len` and `max_packet_size` are never read [INFO] [stdout] --> src/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Mqtt { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 49 | pub max_clientid_len: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub max_packet_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mqtt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reload` is never used [INFO] [stdout] --> src/config.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn reload() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/mod.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Connect(Connect), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - Connect(Connect), [INFO] [stdout] 65 + Connect(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run_loop` is never used [INFO] [stdout] --> src/session.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 5 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | async fn run_loop() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/protocol/v3/codec.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | fn encode(&mut self, item: Packet, dst: &mut BytesMut) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 11 | #[error("{msg}")] [INFO] [stdout] 12 | Error { code: u16, msg: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ok` and `msg` are never used [INFO] [stdout] --> src/api.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl ApiOk<()> { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 55 | fn ok() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn msg>(msg: M) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mqtt` is never read [INFO] [stdout] --> src/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub mqtt: Mqtt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proxy_protocol` and `max_connections` are never read [INFO] [stdout] --> src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Listener { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub proxy_protocol: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[serde(default)] [INFO] [stdout] 43 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Listener` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_clientid_len` and `max_packet_size` are never read [INFO] [stdout] --> src/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Mqtt { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 49 | pub max_clientid_len: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub max_packet_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mqtt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reload` is never used [INFO] [stdout] --> src/config.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn reload() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/mod.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Connect(Connect), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 65 - Connect(Connect), [INFO] [stdout] 65 + Connect(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run_loop` is never used [INFO] [stdout] --> src/session.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 5 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | async fn run_loop() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "82bcb2a5859329b9571aec0b9f65ade24b75e45a91297869af0cf71edc03ae16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82bcb2a5859329b9571aec0b9f65ade24b75e45a91297869af0cf71edc03ae16", kill_on_drop: false }` [INFO] [stdout] 82bcb2a5859329b9571aec0b9f65ade24b75e45a91297869af0cf71edc03ae16