[INFO] cloning repository https://github.com/heya-naohiro/aqua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heya-naohiro/aqua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheya-naohiro%2Faqua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheya-naohiro%2Faqua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3818d327d9d6f985dc648ca3e6523381aef0c71 [INFO] checking heya-naohiro/aqua against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheya-naohiro%2Faqua" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heya-naohiro/aqua on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/heya-naohiro/aqua [INFO] finished tweaking git repo https://github.com/heya-naohiro/aqua [INFO] tweaked toml for git repo https://github.com/heya-naohiro/aqua written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/heya-naohiro/aqua 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc2/source/mqtt_coder/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11b4032b2121018057c9993291289f7d7129ea58c69ca3b2acc96f843d6f2f9d [INFO] running `Command { std: "docker" "start" "-a" "11b4032b2121018057c9993291289f7d7129ea58c69ca3b2acc96f843d6f2f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11b4032b2121018057c9993291289f7d7129ea58c69ca3b2acc96f843d6f2f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b4032b2121018057c9993291289f7d7129ea58c69ca3b2acc96f843d6f2f9d", kill_on_drop: false }` [INFO] [stdout] 11b4032b2121018057c9993291289f7d7129ea58c69ca3b2acc96f843d6f2f9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad251ea3261dc7f05e58b688a7fee899f8a00e22e4a6a6daa5ca1b4d8d0b632 [INFO] running `Command { std: "docker" "start" "-a" "2ad251ea3261dc7f05e58b688a7fee899f8a00e22e4a6a6daa5ca1b4d8d0b632", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/mqtt_coder/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling paho-mqtt-sys v0.10.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking uuid v1.15.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.44.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking paho-mqtt v0.13.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking mqtt_coder v0.1.0 (/opt/rustwide/workdir/mqtt_coder) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MqttPacket` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1478:20 [INFO] [stdout] | [INFO] [stdout] 1478 | MqttError, MqttPacket, Publish, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MqttPacket` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1478:20 [INFO] [stdout] | [INFO] [stdout] 1478 | MqttError, MqttPacket, Publish, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> mqtt_coder/src/encoder.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> mqtt_coder/src/encoder.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | cx: &mut Context<'_>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1173:9 [INFO] [stdout] | [INFO] [stdout] 1173 | buf: &bytes::BytesMut, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1174:9 [INFO] [stdout] | [INFO] [stdout] 1174 | start_pos: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Dup` is more private than the item `Publish::dup` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub dup: Dup, [INFO] [stdout] | ^^^^^^^^^^^^ field `Publish::dup` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Dup` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | struct Dup(bool); // fixed header [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QoS` is more private than the item `Publish::qos` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub qos: QoS, [INFO] [stdout] | ^^^^^^^^^^^^ field `Publish::qos` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QoS` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:554:1 [INFO] [stdout] | [INFO] [stdout] 554 | enum QoS { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Retain` is more private than the item `Publish::retain` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub retain: Retain, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `Publish::retain` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Retain` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | struct Retain(bool); // fixed header [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TopicName` is more private than the item `Publish::topic_name` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub topic_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Publish::topic_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TopicName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | struct TopicName(String); // variable header [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PublishProperties` is more private than the item `Publish::pub_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | pub pub_properties: PublishProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Publish::pub_properties` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PublishProperties` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | struct PublishProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PacketId` is more private than the item `Publish::packet_id` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | pub packet_id: Option, /* 2byte integer */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Publish::packet_id` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PacketId` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | struct PacketId(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolName` is more private than the item `Connect::protocol_name` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | pub protocol_name: ProtocolName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::protocol_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | struct ProtocolName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolVersion` is more private than the item `Connect::protocol_ver` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | pub protocol_ver: ProtocolVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::protocol_ver` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolVersion` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | struct ProtocolVersion(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConnectFlags` is more private than the item `Connect::connect_flags` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub connect_flags: ConnectFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::connect_flags` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConnectFlags` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | struct ConnectFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `KeepAlive` is more private than the item `Connect::keepalive` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | pub keepalive: KeepAlive, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::keepalive` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `KeepAlive` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:660:1 [INFO] [stdout] | [INFO] [stdout] 660 | struct KeepAlive(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ClientId` is more private than the item `Connect::client_id` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | pub client_id: ClientId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::client_id` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ClientId` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1039:1 [INFO] [stdout] | [INFO] [stdout] 1039 | struct ClientId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserName` is more private than the item `Connect::username` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | pub username: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::username` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UserName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:881:1 [INFO] [stdout] | [INFO] [stdout] 881 | struct UserName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Password` is more private than the item `Connect::password` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | pub password: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::password` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Password` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:897:1 [INFO] [stdout] | [INFO] [stdout] 897 | struct Password(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TopicName` is more private than the item `Connect::will_topic` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | pub will_topic: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::will_topic` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TopicName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | struct TopicName(String); // variable header [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WillPayload` is more private than the item `Connect::will_payload` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | pub will_payload: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::will_payload` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WillPayload` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:858:1 [INFO] [stdout] | [INFO] [stdout] 858 | struct WillPayload(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SessionExpiryInterval` is more private than the item `ConnectProperties::session_expiry_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | pub session_expiry_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::session_expiry_interval` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SessionExpiryInterval` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | struct SessionExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReceiveMaximum` is more private than the item `ConnectProperties::receive_maximum` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 921 | pub receive_maximum: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::receive_maximum` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ReceiveMaximum` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | struct ReceiveMaximum(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MaximumPacketSize` is more private than the item `ConnectProperties::maximum_packet_size` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | pub maximum_packet_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::maximum_packet_size` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MaximumPacketSize` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:717:1 [INFO] [stdout] | [INFO] [stdout] 717 | struct MaximumPacketSize(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TopicAliasMaximum` is more private than the item `ConnectProperties::topic_alias_maximum` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:923:5 [INFO] [stdout] | [INFO] [stdout] 923 | pub topic_alias_maximum: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::topic_alias_maximum` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TopicAliasMaximum` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:739:1 [INFO] [stdout] | [INFO] [stdout] 739 | struct TopicAliasMaximum(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RequestResponseInformation` is more private than the item `ConnectProperties::request_response_information` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | pub request_response_information: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::request_response_information` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RequestResponseInformation` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | struct RequestResponseInformation(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RequestProblemInformation` is more private than the item `ConnectProperties::request_problem_information` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:925:5 [INFO] [stdout] | [INFO] [stdout] 925 | pub request_problem_information: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::request_problem_information` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RequestProblemInformation` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:779:1 [INFO] [stdout] | [INFO] [stdout] 779 | struct RequestProblemInformation(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `ConnectProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | pub user_properties: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::user_properties` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UserProperty` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AuthenticationMethod` is more private than the item `ConnectProperties::authentication_method` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | pub authentication_method: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::authentication_method` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthenticationMethod` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:800:1 [INFO] [stdout] | [INFO] [stdout] 800 | struct AuthenticationMethod(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AuthenticationData` is more private than the item `ConnectProperties::authentication_data` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:928:5 [INFO] [stdout] | [INFO] [stdout] 928 | pub authentication_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::authentication_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AuthenticationData` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:815:1 [INFO] [stdout] | [INFO] [stdout] 815 | struct AuthenticationData(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WillDelayInterval` is more private than the item `WillProperties::will_delay_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub will_delay_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::will_delay_interval` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WillDelayInterval` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:838:1 [INFO] [stdout] | [INFO] [stdout] 838 | struct WillDelayInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PayloadFormatIndicator` is more private than the item `WillProperties::payload_format_indicator` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:933:5 [INFO] [stdout] | [INFO] [stdout] 933 | pub payload_format_indicator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::payload_format_indicator` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PayloadFormatIndicator` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 429 | enum PayloadFormatIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MessageExpiryInterval` is more private than the item `WillProperties::message_expiry_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 934 | pub message_expiry_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::message_expiry_interval` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MessageExpiryInterval` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 448 | struct MessageExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentType` is more private than the item `WillProperties::content_type` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | pub content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::content_type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentType` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:542:1 [INFO] [stdout] | [INFO] [stdout] 542 | struct ContentType(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ResponseTopic` is more private than the item `WillProperties::response_topic` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 936 | pub response_topic: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::response_topic` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ResponseTopic` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:482:1 [INFO] [stdout] | [INFO] [stdout] 482 | struct ResponseTopic(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CorrelationData` is more private than the item `WillProperties::correlation_data` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 937 | pub correlation_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::correlation_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CorrelationData` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | struct CorrelationData(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `WillProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 938 | pub user_properties: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::user_properties` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UserProperty` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubscriptionIdentifier` is more private than the item `WillProperties::subscription_identifier` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 939 | pub subscription_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::subscription_identifier` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubscriptionIdentifier` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | struct SubscriptionIdentifier(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PublishProperty` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:417:6 [INFO] [stdout] | [INFO] [stdout] 417 | enum PublishProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 661 | impl KeepAlive { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 671 | fn into_inner(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 680 | impl SessionExpiryInterval { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 692 | fn into_inner(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:711:8 [INFO] [stdout] | [INFO] [stdout] 699 | impl ReceiveMaximum { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 711 | fn into_inner(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:733:8 [INFO] [stdout] | [INFO] [stdout] 718 | impl MaximumPacketSize { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 733 | fn into_inner(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 740 | impl TopicAliasMaximum { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 752 | fn into_inner(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:773:8 [INFO] [stdout] | [INFO] [stdout] 759 | impl RequestResponseInformation { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 773 | fn into_inner(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:794:8 [INFO] [stdout] | [INFO] [stdout] 780 | impl RequestProblemInformation { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 794 | fn into_inner(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 801 | impl AuthenticationMethod { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 809 | fn into_inner(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:831:8 [INFO] [stdout] | [INFO] [stdout] 816 | impl AuthenticationData { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 831 | fn into_inner(self) -> bytes::Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:851:8 [INFO] [stdout] | [INFO] [stdout] 839 | impl WillDelayInterval { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 851 | fn into_inner(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:874:8 [INFO] [stdout] | [INFO] [stdout] 859 | impl WillPayload { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 874 | fn into_inner(self) -> bytes::Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:890:8 [INFO] [stdout] | [INFO] [stdout] 882 | impl UserName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 890 | fn into_inner(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 898 | impl Password { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 913 | fn into_inner(self) -> bytes::Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_pair_to_u16` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:943:4 [INFO] [stdout] | [INFO] [stdout] 943 | fn byte_pair_to_u16(b_msb: u8, b_lsb: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1053:8 [INFO] [stdout] | [INFO] [stdout] 1040 | impl ClientId { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1053 | fn into_inner(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `remain_length` is never read [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1464:5 [INFO] [stdout] | [INFO] [stdout] 1463 | pub struct Disconnect { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 1464 | remain_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disconnect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1173:9 [INFO] [stdout] | [INFO] [stdout] 1173 | buf: &bytes::BytesMut, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1174:9 [INFO] [stdout] | [INFO] [stdout] 1174 | start_pos: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1615:17 [INFO] [stdout] | [INFO] [stdout] 1615 | let res = publish.decode_payload(&b, 0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1689:17 [INFO] [stdout] | [INFO] [stdout] 1689 | let res = publish.decode_payload(&b, 0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aqua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Dup` is more private than the item `Publish::dup` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub dup: Dup, [INFO] [stdout] | ^^^^^^^^^^^^ field `Publish::dup` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Dup` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | struct Dup(bool); // fixed header [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::QoS` is more private than the item `Publish::qos` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | pub qos: QoS, [INFO] [stdout] | ^^^^^^^^^^^^ field `Publish::qos` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::QoS` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:554:1 [INFO] [stdout] | [INFO] [stdout] 554 | enum QoS { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::Retain` is more private than the item `Publish::retain` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub retain: Retain, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `Publish::retain` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::Retain` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | struct Retain(bool); // fixed header [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::TopicName` is more private than the item `Publish::topic_name` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub topic_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Publish::topic_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::TopicName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | struct TopicName(String); // variable header [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PublishProperties` is more private than the item `Publish::pub_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | pub pub_properties: PublishProperties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Publish::pub_properties` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PublishProperties` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | struct PublishProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PacketId` is more private than the item `Publish::packet_id` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | pub packet_id: Option, /* 2byte integer */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Publish::packet_id` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PacketId` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | struct PacketId(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolName` is more private than the item `Connect::protocol_name` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | pub protocol_name: ProtocolName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::protocol_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | struct ProtocolName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolVersion` is more private than the item `Connect::protocol_ver` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | pub protocol_ver: ProtocolVersion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::protocol_ver` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolVersion` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | struct ProtocolVersion(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConnectFlags` is more private than the item `Connect::connect_flags` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | pub connect_flags: ConnectFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::connect_flags` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConnectFlags` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | struct ConnectFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `KeepAlive` is more private than the item `Connect::keepalive` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | pub keepalive: KeepAlive, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::keepalive` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `KeepAlive` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:660:1 [INFO] [stdout] | [INFO] [stdout] 660 | struct KeepAlive(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ClientId` is more private than the item `Connect::client_id` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | pub client_id: ClientId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::client_id` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ClientId` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1039:1 [INFO] [stdout] | [INFO] [stdout] 1039 | struct ClientId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserName` is more private than the item `Connect::username` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | pub username: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::username` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `UserName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:881:1 [INFO] [stdout] | [INFO] [stdout] 881 | struct UserName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Password` is more private than the item `Connect::password` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | pub password: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::password` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Password` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:897:1 [INFO] [stdout] | [INFO] [stdout] 897 | struct Password(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::TopicName` is more private than the item `Connect::will_topic` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | pub will_topic: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::will_topic` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::TopicName` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | struct TopicName(String); // variable header [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WillPayload` is more private than the item `Connect::will_payload` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | pub will_payload: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Connect::will_payload` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WillPayload` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:858:1 [INFO] [stdout] | [INFO] [stdout] 858 | struct WillPayload(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::SessionExpiryInterval` is more private than the item `ConnectProperties::session_expiry_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | pub session_expiry_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::session_expiry_interval` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::SessionExpiryInterval` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | struct SessionExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::ReceiveMaximum` is more private than the item `ConnectProperties::receive_maximum` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 921 | pub receive_maximum: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::receive_maximum` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::ReceiveMaximum` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | struct ReceiveMaximum(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::MaximumPacketSize` is more private than the item `ConnectProperties::maximum_packet_size` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | pub maximum_packet_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::maximum_packet_size` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::MaximumPacketSize` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:717:1 [INFO] [stdout] | [INFO] [stdout] 717 | struct MaximumPacketSize(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::TopicAliasMaximum` is more private than the item `ConnectProperties::topic_alias_maximum` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:923:5 [INFO] [stdout] | [INFO] [stdout] 923 | pub topic_alias_maximum: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::topic_alias_maximum` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::TopicAliasMaximum` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:739:1 [INFO] [stdout] | [INFO] [stdout] 739 | struct TopicAliasMaximum(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::RequestResponseInformation` is more private than the item `ConnectProperties::request_response_information` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 924 | pub request_response_information: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::request_response_information` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::RequestResponseInformation` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:758:1 [INFO] [stdout] | [INFO] [stdout] 758 | struct RequestResponseInformation(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::RequestProblemInformation` is more private than the item `ConnectProperties::request_problem_information` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:925:5 [INFO] [stdout] | [INFO] [stdout] 925 | pub request_problem_information: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::request_problem_information` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::RequestProblemInformation` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:779:1 [INFO] [stdout] | [INFO] [stdout] 779 | struct RequestProblemInformation(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::UserProperty` is more private than the item `ConnectProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 926 | pub user_properties: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::user_properties` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::UserProperty` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::AuthenticationMethod` is more private than the item `ConnectProperties::authentication_method` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | pub authentication_method: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::authentication_method` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::AuthenticationMethod` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:800:1 [INFO] [stdout] | [INFO] [stdout] 800 | struct AuthenticationMethod(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::AuthenticationData` is more private than the item `ConnectProperties::authentication_data` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:928:5 [INFO] [stdout] | [INFO] [stdout] 928 | pub authentication_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ConnectProperties::authentication_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::AuthenticationData` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:815:1 [INFO] [stdout] | [INFO] [stdout] 815 | struct AuthenticationData(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::WillDelayInterval` is more private than the item `WillProperties::will_delay_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub will_delay_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::will_delay_interval` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::WillDelayInterval` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:838:1 [INFO] [stdout] | [INFO] [stdout] 838 | struct WillDelayInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::PayloadFormatIndicator` is more private than the item `WillProperties::payload_format_indicator` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:933:5 [INFO] [stdout] | [INFO] [stdout] 933 | pub payload_format_indicator: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::payload_format_indicator` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::PayloadFormatIndicator` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 429 | enum PayloadFormatIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::MessageExpiryInterval` is more private than the item `WillProperties::message_expiry_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 934 | pub message_expiry_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::message_expiry_interval` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::MessageExpiryInterval` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 448 | struct MessageExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::ContentType` is more private than the item `WillProperties::content_type` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | pub content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::content_type` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::ContentType` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:542:1 [INFO] [stdout] | [INFO] [stdout] 542 | struct ContentType(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::ResponseTopic` is more private than the item `WillProperties::response_topic` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 936 | pub response_topic: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::response_topic` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::ResponseTopic` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:482:1 [INFO] [stdout] | [INFO] [stdout] 482 | struct ResponseTopic(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::CorrelationData` is more private than the item `WillProperties::correlation_data` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 937 | pub correlation_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::correlation_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::CorrelationData` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | struct CorrelationData(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mqtt::UserProperty` is more private than the item `WillProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 938 | pub user_properties: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::user_properties` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `mqtt::UserProperty` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubscriptionIdentifier` is more private than the item `WillProperties::subscription_identifier` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:939:5 [INFO] [stdout] | [INFO] [stdout] 939 | pub subscription_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WillProperties::subscription_identifier` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubscriptionIdentifier` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | struct SubscriptionIdentifier(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PublishProperty` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:417:6 [INFO] [stdout] | [INFO] [stdout] 417 | enum PublishProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 680 | impl SessionExpiryInterval { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 692 | fn into_inner(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:711:8 [INFO] [stdout] | [INFO] [stdout] 699 | impl ReceiveMaximum { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 711 | fn into_inner(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:733:8 [INFO] [stdout] | [INFO] [stdout] 718 | impl MaximumPacketSize { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 733 | fn into_inner(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 740 | impl TopicAliasMaximum { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 752 | fn into_inner(self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:773:8 [INFO] [stdout] | [INFO] [stdout] 759 | impl RequestResponseInformation { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 773 | fn into_inner(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:794:8 [INFO] [stdout] | [INFO] [stdout] 780 | impl RequestProblemInformation { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 794 | fn into_inner(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 801 | impl AuthenticationMethod { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 809 | fn into_inner(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:831:8 [INFO] [stdout] | [INFO] [stdout] 816 | impl AuthenticationData { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 831 | fn into_inner(self) -> bytes::Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:851:8 [INFO] [stdout] | [INFO] [stdout] 839 | impl WillDelayInterval { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 851 | fn into_inner(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:874:8 [INFO] [stdout] | [INFO] [stdout] 859 | impl WillPayload { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 874 | fn into_inner(self) -> bytes::Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:890:8 [INFO] [stdout] | [INFO] [stdout] 882 | impl UserName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 890 | fn into_inner(self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 898 | impl Password { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 913 | fn into_inner(self) -> bytes::Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_pair_to_u16` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:943:4 [INFO] [stdout] | [INFO] [stdout] 943 | fn byte_pair_to_u16(b_msb: u8, b_lsb: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `remain_length` is never read [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1464:5 [INFO] [stdout] | [INFO] [stdout] 1463 | pub struct Disconnect { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 1464 | remain_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disconnect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/aqua/connection/connack_response.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | fn from(err: std::io::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_connect_service` [INFO] [stdout] --> src/aqua.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | make_connect_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `make_connect_service: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/aqua/connection.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum ConnectionState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_id` is never read [INFO] [stdout] --> src/aqua/connection/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub packet: ControlPacket, [INFO] [stdout] 7 | client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aqua::Connection` [INFO] [stdout] --> tests/conack_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aqua::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mqtt_coder::mqtt::ControlPacket` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mqtt_coder::mqtt::ControlPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::service_fn` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower::service_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mqtt_coder::mqtt::ControlPacket` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mqtt_coder::mqtt::ControlPacket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::service_fn` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower::service_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> tests/conack_test.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | Ok::<_, Infallible>(service_fn(|req: request::Request| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_data` [INFO] [stdout] --> tests/conack_test.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | ControlPacket::CONNECT(connect_data) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/aqua/connection/connack_response.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | fn from(err: std::io::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_connect_service` [INFO] [stdout] --> src/aqua.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | make_connect_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `make_connect_service: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve` is never used [INFO] [stdout] --> src/aqua.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn serve( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/aqua/connection.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum ConnectionState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_stream` and `addr` are never read [INFO] [stdout] --> src/aqua/connection/request.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct IncomingStream { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | pub tcp_stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | pub addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingMqtt` is never constructed [INFO] [stdout] --> src/aqua/connection/request.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct IncomingMqtt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_id` is never read [INFO] [stdout] --> src/aqua/connection/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub packet: ControlPacket, [INFO] [stdout] 7 | client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/aqua/connection/connack_response.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | fn from(err: std::io::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_connect_service` [INFO] [stdout] --> src/aqua.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | make_connect_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `make_connect_service: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/aqua/connection/connack_response.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | fn from(err: std::io::Error) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_connect_service` [INFO] [stdout] --> src/aqua.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | make_connect_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `make_connect_service: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve` is never used [INFO] [stdout] --> src/aqua.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn serve( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/aqua/connection.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum ConnectionState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_stream` and `addr` are never read [INFO] [stdout] --> src/aqua/connection/request.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct IncomingStream { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | pub tcp_stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | pub addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingMqtt` is never constructed [INFO] [stdout] --> src/aqua/connection/request.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct IncomingMqtt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_id` is never read [INFO] [stdout] --> src/aqua/connection/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub packet: ControlPacket, [INFO] [stdout] 7 | client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/aqua/connection.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum ConnectionState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_id` is never read [INFO] [stdout] --> src/aqua/connection/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | pub packet: ControlPacket, [INFO] [stdout] 7 | client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.46s [INFO] running `Command { std: "docker" "inspect" "2ad251ea3261dc7f05e58b688a7fee899f8a00e22e4a6a6daa5ca1b4d8d0b632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad251ea3261dc7f05e58b688a7fee899f8a00e22e4a6a6daa5ca1b4d8d0b632", kill_on_drop: false }` [INFO] [stdout] 2ad251ea3261dc7f05e58b688a7fee899f8a00e22e4a6a6daa5ca1b4d8d0b632