[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] 9109b7fc2a4a68229011c05aca83ff02f03da6d0 [INFO] building heya-naohiro/aqua against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheya-naohiro%2Faqua" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/heya-naohiro/aqua on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-tc1/source/mqtt_coder/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded random-number-macro-impl v0.1.8 [INFO] [stderr] Downloaded matchers v0.0.1 [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] [stderr] Downloaded random-number v0.1.9 [INFO] [stderr] Downloaded tracing-futures v0.2.5 [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded mini-redis v0.4.1 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded paho-mqtt v0.13.3 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded windows-core v0.61.1 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded proc-macro-crate v3.3.0 [INFO] [stderr] Downloaded event-listener v2.5.3 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded tracing-log v0.1.4 [INFO] [stderr] Downloaded async-channel v1.9.0 [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded num_enum_derive v0.7.3 [INFO] [stderr] Downloaded num_enum v0.7.3 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded windows-strings v0.4.1 [INFO] [stderr] Downloaded tracing-serde v0.1.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded paho-mqtt-sys v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5ef8fb360accc7578384637fb536ae1eff2a2c6b9f812f6f21a0b9461e99dfc [INFO] running `Command { std: "docker" "start" "-a" "b5ef8fb360accc7578384637fb536ae1eff2a2c6b9f812f6f21a0b9461e99dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5ef8fb360accc7578384637fb536ae1eff2a2c6b9f812f6f21a0b9461e99dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ef8fb360accc7578384637fb536ae1eff2a2c6b9f812f6f21a0b9461e99dfc", kill_on_drop: false }` [INFO] [stdout] b5ef8fb360accc7578384637fb536ae1eff2a2c6b9f812f6f21a0b9461e99dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57b49a9db529d74a5264ac6efaefc90fed0a27f18d0e303134761357e921ab4d [INFO] running `Command { std: "docker" "start" "-a" "57b49a9db529d74a5264ac6efaefc90fed0a27f18d0e303134761357e921ab4d", 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.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling random-number-macro-impl v0.1.8 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling random-number v0.1.9 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling mqtt_coder v0.1.0 (/opt/rustwide/workdir/mqtt_coder) [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> mqtt_coder/src/decoder.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `PubackProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | pub user_properties: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PubackProperties::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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `PubrelProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | pub user_properties: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PubrelProperties::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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RetainAsPublished` is more private than the item `SubscribeOption::retain_as_published` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1197:5 [INFO] [stdout] | [INFO] [stdout] 1197 | pub retain_as_published: RetainAsPublished, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SubscribeOption::retain_as_published` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RetainAsPublished` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1240:1 [INFO] [stdout] | [INFO] [stdout] 1240 | struct RetainAsPublished(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NoLocal` is more private than the item `SubscribeOption::no_local` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub no_local: NoLocal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `SubscribeOption::no_local` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `NoLocal` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1243:1 [INFO] [stdout] | [INFO] [stdout] 1243 | struct NoLocal(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `SubackProperty::UserProperty::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1370:18 [INFO] [stdout] | [INFO] [stdout] 1370 | UserProperty(UserProperty), [INFO] [stdout] | ^^^^^^^^^^^^ field `SubackProperty::UserProperty::0` 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MessageExpiryInterval` is more private than the item `PublishProperty::MessageExpiryInterval::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1641:27 [INFO] [stdout] | [INFO] [stdout] 1641 | MessageExpiryInterval(MessageExpiryInterval), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `PublishProperty::MessageExpiryInterval::0` 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:1671:1 [INFO] [stdout] | [INFO] [stdout] 1671 | struct MessageExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TopicAlias` is more private than the item `PublishProperty::TopicAlias::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1642:16 [INFO] [stdout] | [INFO] [stdout] 1642 | TopicAlias(TopicAlias), [INFO] [stdout] | ^^^^^^^^^^ field `PublishProperty::TopicAlias::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TopicAlias` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1688:1 [INFO] [stdout] | [INFO] [stdout] 1688 | struct TopicAlias(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ResponseTopic` is more private than the item `PublishProperty::ResponseTopic::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1643:19 [INFO] [stdout] | [INFO] [stdout] 1643 | ResponseTopic(ResponseTopic), [INFO] [stdout] | ^^^^^^^^^^^^^ field `PublishProperty::ResponseTopic::0` 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:1706:1 [INFO] [stdout] | [INFO] [stdout] 1706 | struct ResponseTopic(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CorrelationData` is more private than the item `PublishProperty::CorrelationData::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1644:21 [INFO] [stdout] | [INFO] [stdout] 1644 | CorrelationData(CorrelationData), [INFO] [stdout] | ^^^^^^^^^^^^^^^ field `PublishProperty::CorrelationData::0` 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:1718:1 [INFO] [stdout] | [INFO] [stdout] 1718 | struct CorrelationData(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `PublishProperty::UserProperty::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1645:18 [INFO] [stdout] | [INFO] [stdout] 1645 | UserProperty(UserProperty), [INFO] [stdout] | ^^^^^^^^^^^^ field `PublishProperty::UserProperty::0` 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubscriptionIdentifier` is more private than the item `PublishProperty::SubscriptionIdentifier::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1646:28 [INFO] [stdout] | [INFO] [stdout] 1646 | SubscriptionIdentifier(SubscriptionIdentifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `PublishProperty::SubscriptionIdentifier::0` 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:1753:1 [INFO] [stdout] | [INFO] [stdout] 1753 | struct SubscriptionIdentifier(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentType` is more private than the item `PublishProperty::ContentType::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1647:17 [INFO] [stdout] | [INFO] [stdout] 1647 | ContentType(ContentType), [INFO] [stdout] | ^^^^^^^^^^^ field `PublishProperty::ContentType::0` 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:1765:1 [INFO] [stdout] | [INFO] [stdout] 1765 | struct ContentType(String); [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:1800:5 [INFO] [stdout] | [INFO] [stdout] 1800 | 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:1853:1 [INFO] [stdout] | [INFO] [stdout] 1853 | 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:1801:5 [INFO] [stdout] | [INFO] [stdout] 1801 | 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:1894:1 [INFO] [stdout] | [INFO] [stdout] 1894 | struct KeepAlive(u16); [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:1804:5 [INFO] [stdout] | [INFO] [stdout] 1804 | 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:2115:1 [INFO] [stdout] | [INFO] [stdout] 2115 | 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:1805:5 [INFO] [stdout] | [INFO] [stdout] 1805 | 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:2131:1 [INFO] [stdout] | [INFO] [stdout] 2131 | struct Password(bytes::Bytes); [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:1808:5 [INFO] [stdout] | [INFO] [stdout] 1808 | 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:2092:1 [INFO] [stdout] | [INFO] [stdout] 2092 | 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:2154:5 [INFO] [stdout] | [INFO] [stdout] 2154 | 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:1913:1 [INFO] [stdout] | [INFO] [stdout] 1913 | 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:2155:5 [INFO] [stdout] | [INFO] [stdout] 2155 | 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:1932:1 [INFO] [stdout] | [INFO] [stdout] 1932 | 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:2156:5 [INFO] [stdout] | [INFO] [stdout] 2156 | 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:1951:1 [INFO] [stdout] | [INFO] [stdout] 1951 | 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:2157:5 [INFO] [stdout] | [INFO] [stdout] 2157 | 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:1973:1 [INFO] [stdout] | [INFO] [stdout] 1973 | 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:2158:5 [INFO] [stdout] | [INFO] [stdout] 2158 | 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:1992:1 [INFO] [stdout] | [INFO] [stdout] 1992 | 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:2159:5 [INFO] [stdout] | [INFO] [stdout] 2159 | 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:2013:1 [INFO] [stdout] | [INFO] [stdout] 2013 | 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:2160:5 [INFO] [stdout] | [INFO] [stdout] 2160 | 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | 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:2161:5 [INFO] [stdout] | [INFO] [stdout] 2161 | 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:2034:1 [INFO] [stdout] | [INFO] [stdout] 2034 | 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:2162:5 [INFO] [stdout] | [INFO] [stdout] 2162 | 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:2049:1 [INFO] [stdout] | [INFO] [stdout] 2049 | 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:2166:5 [INFO] [stdout] | [INFO] [stdout] 2166 | 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:2072:1 [INFO] [stdout] | [INFO] [stdout] 2072 | struct WillDelayInterval(u32); [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:2168:5 [INFO] [stdout] | [INFO] [stdout] 2168 | 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:1671:1 [INFO] [stdout] | [INFO] [stdout] 1671 | 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:2169:5 [INFO] [stdout] | [INFO] [stdout] 2169 | 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:1765:1 [INFO] [stdout] | [INFO] [stdout] 1765 | 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:2170:5 [INFO] [stdout] | [INFO] [stdout] 2170 | 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:1706:1 [INFO] [stdout] | [INFO] [stdout] 1706 | 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:2171:5 [INFO] [stdout] | [INFO] [stdout] 2171 | 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:1718:1 [INFO] [stdout] | [INFO] [stdout] 1718 | 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:2172:5 [INFO] [stdout] | [INFO] [stdout] 2172 | 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | 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:2173:5 [INFO] [stdout] | [INFO] [stdout] 2173 | 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:1753:1 [INFO] [stdout] | [INFO] [stdout] 1753 | struct SubscriptionIdentifier(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SessionExpiryInterval` is more private than the item `DisconnectProperties::session_expiry_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:2178:5 [INFO] [stdout] | [INFO] [stdout] 2178 | pub session_expiry_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DisconnectProperties::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:1913:1 [INFO] [stdout] | [INFO] [stdout] 1913 | struct SessionExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `DisconnectProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:2180:5 [INFO] [stdout] | [INFO] [stdout] 2180 | pub user_properties: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DisconnectProperties::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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ServerReference` is more private than the item `DisconnectProperties::server_reference` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:2181:5 [INFO] [stdout] | [INFO] [stdout] 2181 | pub server_reference: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DisconnectProperties::server_reference` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ServerReference` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1389:1 [INFO] [stdout] | [INFO] [stdout] 1389 | struct ServerReference(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 763 | impl PubrelProperties { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 770 | fn push(&mut self, prop: UserProperty) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1015:8 [INFO] [stdout] | [INFO] [stdout] 1008 | impl PubcompProperties { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1015 | fn push(&mut self, prop: UserProperty) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_from` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1050:8 [INFO] [stdout] | [INFO] [stdout] 1049 | impl PubcompReasonCode { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 1050 | fn try_from( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1358:8 [INFO] [stdout] | [INFO] [stdout] 1357 | impl SubackProperties { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1358 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1398:8 [INFO] [stdout] | [INFO] [stdout] 1390 | impl ServerReference { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1398 | 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:1905:8 [INFO] [stdout] | [INFO] [stdout] 1895 | impl KeepAlive { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1905 | 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:1926:8 [INFO] [stdout] | [INFO] [stdout] 1914 | impl SessionExpiryInterval { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1926 | 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:1945:8 [INFO] [stdout] | [INFO] [stdout] 1933 | impl ReceiveMaximum { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1945 | 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:1967:8 [INFO] [stdout] | [INFO] [stdout] 1952 | impl MaximumPacketSize { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1967 | 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:1986:8 [INFO] [stdout] | [INFO] [stdout] 1974 | impl TopicAliasMaximum { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1986 | 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:2007:8 [INFO] [stdout] | [INFO] [stdout] 1993 | impl RequestResponseInformation { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2007 | 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:2028:8 [INFO] [stdout] | [INFO] [stdout] 2014 | impl RequestProblemInformation { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2028 | 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:2043:8 [INFO] [stdout] | [INFO] [stdout] 2035 | impl AuthenticationMethod { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2043 | 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:2065:8 [INFO] [stdout] | [INFO] [stdout] 2050 | impl AuthenticationData { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2065 | 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:2085:8 [INFO] [stdout] | [INFO] [stdout] 2073 | impl WillDelayInterval { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2085 | 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:2108:8 [INFO] [stdout] | [INFO] [stdout] 2093 | impl WillPayload { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2108 | 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:2124:8 [INFO] [stdout] | [INFO] [stdout] 2116 | impl UserName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2124 | 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:2147:8 [INFO] [stdout] | [INFO] [stdout] 2132 | impl Password { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2147 | 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:2187:4 [INFO] [stdout] | [INFO] [stdout] 2187 | fn byte_pair_to_u16(b_msb: u8, b_lsb: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aqua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/aqua.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use mqtt_coder::mqtt::{self, ControlPacket}; [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: `uuid::Uuid` [INFO] [stdout] --> src/aqua/connection/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aqua::connection::response::Response` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::aqua::connection::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientId` and `MqttPacket` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | self, ClientId, ControlPacket, MqttError, MqttPacket, PacketId, Publish, QoS, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/aqua/connection.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(n)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(_n)) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHANNEL_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 333 - Poll::Ready(Ok(n)) => { [INFO] [stdout] 333 + Poll::Ready(Ok(aqua::connection::CHANNEL_CAPACITY)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Puback` and `Pubrec` [INFO] [stdout] --> src/main.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | self, ControlPacket, Pingresp, ProtocolVersion, Puback, Pubrec, QoS, Suback, SubackReasonCode, [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: `self` [INFO] [stdout] --> src/aqua.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use mqtt_coder::mqtt::{self, ControlPacket}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/aqua/connection/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aqua::connection::response::Response` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::aqua::connection::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientId` and `MqttPacket` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | self, ClientId, ControlPacket, MqttError, MqttPacket, PacketId, Publish, QoS, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/aqua/connection.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(n)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(_n)) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHANNEL_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 333 - Poll::Ready(Ok(n)) => { [INFO] [stdout] 333 + Poll::Ready(Ok(aqua::connection::CHANNEL_CAPACITY)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/main.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | |incoming: aqua::connection::request::IncomingStream| async move { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_stream`, `client_id`, and `mqtt_id` are never read [INFO] [stdout] --> src/aqua/connection/request.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IncomingStream { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub tcp_stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub addr: SocketAddr, [INFO] [stdout] 22 | pub client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub mqtt_id: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingMqtt` is never constructed [INFO] [stdout] --> src/aqua/connection/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct IncomingMqtt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_packets` is never used [INFO] [stdout] --> src/aqua/connection/response.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new_packets(packets: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RETAIN_STORE` is never used [INFO] [stdout] --> src/aqua/connection/retain_store.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static RETAIN_STORE: Lazy = Lazy::new(|| RetainStore::new()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetainStore` is never constructed [INFO] [stdout] --> src/aqua/connection/retain_store.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RetainStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_retain`, `remove_retain`, `check_retain`, and `is_match` are never used [INFO] [stdout] --> src/aqua/connection/retain_store.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RetainStore { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn update_retain(&self, topic: String, pkt: Publish) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn remove_retain(&self, topic: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn check_retain(&self, topic_filter: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_match(&self, topic_filter: &String, topic: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/aqua/connection/session_manager.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Outbound { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | tx: mpsc::Sender, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outbound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/aqua/connection/session_manager.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Outbound { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn send(&self, pkt: ControlPacket) -> Result<(), TrySendError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `by_mqtt_id`, `by_client_mqtt`, `qos_tmp`, and `mqtt_version` are never read [INFO] [stdout] --> src/aqua/connection/session_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SessionManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | by_mqtt_id: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | by_client_mqtt: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | qos_tmp: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | mqtt_version: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/aqua/connection/session_manager.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_staging_packet(&self, pkt: Publish, qos: QoS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn fetch_packet(&self, pid: PacketId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn commit_packet(&self, pid: PacketId) -> Result<(), MqttError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn unregister_client_id(&self, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn send_by_client_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn send_by_mqtt_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn register_mqtt_id(&self, mqtt_id: String, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn unregister_mqtt_id(&self, mqtt_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_mqtt_id(&self, client_id: &Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_protocol_version(&self, mqtt_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_protocol_version(&self, mqtt_id: &str, version: mqtt::ProtocolVersion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "57b49a9db529d74a5264ac6efaefc90fed0a27f18d0e303134761357e921ab4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b49a9db529d74a5264ac6efaefc90fed0a27f18d0e303134761357e921ab4d", kill_on_drop: false }` [INFO] [stdout] 57b49a9db529d74a5264ac6efaefc90fed0a27f18d0e303134761357e921ab4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 768101fd2efa097a463bbc42423207132a306f913be13c12d09e4a38e078e217 [INFO] running `Command { std: "docker" "start" "-a" "768101fd2efa097a463bbc42423207132a306f913be13c12d09e4a38e078e217", 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 futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling paho-mqtt-sys v0.10.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling paho-mqtt v0.13.3 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling mqtt_coder v0.1.0 (/opt/rustwide/workdir/mqtt_coder) [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> mqtt_coder/src/decoder.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `PubackProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | pub user_properties: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PubackProperties::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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `PubrelProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | pub user_properties: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PubrelProperties::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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RetainAsPublished` is more private than the item `SubscribeOption::retain_as_published` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1197:5 [INFO] [stdout] | [INFO] [stdout] 1197 | pub retain_as_published: RetainAsPublished, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SubscribeOption::retain_as_published` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `RetainAsPublished` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1240:1 [INFO] [stdout] | [INFO] [stdout] 1240 | struct RetainAsPublished(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NoLocal` is more private than the item `SubscribeOption::no_local` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub no_local: NoLocal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `SubscribeOption::no_local` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `NoLocal` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1243:1 [INFO] [stdout] | [INFO] [stdout] 1243 | struct NoLocal(bool); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `SubackProperty::UserProperty::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1370:18 [INFO] [stdout] | [INFO] [stdout] 1370 | UserProperty(UserProperty), [INFO] [stdout] | ^^^^^^^^^^^^ field `SubackProperty::UserProperty::0` 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MessageExpiryInterval` is more private than the item `PublishProperty::MessageExpiryInterval::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1641:27 [INFO] [stdout] | [INFO] [stdout] 1641 | MessageExpiryInterval(MessageExpiryInterval), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ field `PublishProperty::MessageExpiryInterval::0` 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:1671:1 [INFO] [stdout] | [INFO] [stdout] 1671 | struct MessageExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TopicAlias` is more private than the item `PublishProperty::TopicAlias::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1642:16 [INFO] [stdout] | [INFO] [stdout] 1642 | TopicAlias(TopicAlias), [INFO] [stdout] | ^^^^^^^^^^ field `PublishProperty::TopicAlias::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TopicAlias` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1688:1 [INFO] [stdout] | [INFO] [stdout] 1688 | struct TopicAlias(u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ResponseTopic` is more private than the item `PublishProperty::ResponseTopic::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1643:19 [INFO] [stdout] | [INFO] [stdout] 1643 | ResponseTopic(ResponseTopic), [INFO] [stdout] | ^^^^^^^^^^^^^ field `PublishProperty::ResponseTopic::0` 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:1706:1 [INFO] [stdout] | [INFO] [stdout] 1706 | struct ResponseTopic(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CorrelationData` is more private than the item `PublishProperty::CorrelationData::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1644:21 [INFO] [stdout] | [INFO] [stdout] 1644 | CorrelationData(CorrelationData), [INFO] [stdout] | ^^^^^^^^^^^^^^^ field `PublishProperty::CorrelationData::0` 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:1718:1 [INFO] [stdout] | [INFO] [stdout] 1718 | struct CorrelationData(bytes::Bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `PublishProperty::UserProperty::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1645:18 [INFO] [stdout] | [INFO] [stdout] 1645 | UserProperty(UserProperty), [INFO] [stdout] | ^^^^^^^^^^^^ field `PublishProperty::UserProperty::0` 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubscriptionIdentifier` is more private than the item `PublishProperty::SubscriptionIdentifier::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1646:28 [INFO] [stdout] | [INFO] [stdout] 1646 | SubscriptionIdentifier(SubscriptionIdentifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `PublishProperty::SubscriptionIdentifier::0` 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:1753:1 [INFO] [stdout] | [INFO] [stdout] 1753 | struct SubscriptionIdentifier(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentType` is more private than the item `PublishProperty::ContentType::0` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1647:17 [INFO] [stdout] | [INFO] [stdout] 1647 | ContentType(ContentType), [INFO] [stdout] | ^^^^^^^^^^^ field `PublishProperty::ContentType::0` 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:1765:1 [INFO] [stdout] | [INFO] [stdout] 1765 | struct ContentType(String); [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:1800:5 [INFO] [stdout] | [INFO] [stdout] 1800 | 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:1853:1 [INFO] [stdout] | [INFO] [stdout] 1853 | 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:1801:5 [INFO] [stdout] | [INFO] [stdout] 1801 | 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:1894:1 [INFO] [stdout] | [INFO] [stdout] 1894 | struct KeepAlive(u16); [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:1804:5 [INFO] [stdout] | [INFO] [stdout] 1804 | 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:2115:1 [INFO] [stdout] | [INFO] [stdout] 2115 | 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:1805:5 [INFO] [stdout] | [INFO] [stdout] 1805 | 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:2131:1 [INFO] [stdout] | [INFO] [stdout] 2131 | struct Password(bytes::Bytes); [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:1808:5 [INFO] [stdout] | [INFO] [stdout] 1808 | 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:2092:1 [INFO] [stdout] | [INFO] [stdout] 2092 | 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:2154:5 [INFO] [stdout] | [INFO] [stdout] 2154 | 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:1913:1 [INFO] [stdout] | [INFO] [stdout] 1913 | 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:2155:5 [INFO] [stdout] | [INFO] [stdout] 2155 | 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:1932:1 [INFO] [stdout] | [INFO] [stdout] 1932 | 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:2156:5 [INFO] [stdout] | [INFO] [stdout] 2156 | 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:1951:1 [INFO] [stdout] | [INFO] [stdout] 1951 | 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:2157:5 [INFO] [stdout] | [INFO] [stdout] 2157 | 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:1973:1 [INFO] [stdout] | [INFO] [stdout] 1973 | 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:2158:5 [INFO] [stdout] | [INFO] [stdout] 2158 | 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:1992:1 [INFO] [stdout] | [INFO] [stdout] 1992 | 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:2159:5 [INFO] [stdout] | [INFO] [stdout] 2159 | 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:2013:1 [INFO] [stdout] | [INFO] [stdout] 2013 | 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:2160:5 [INFO] [stdout] | [INFO] [stdout] 2160 | 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | 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:2161:5 [INFO] [stdout] | [INFO] [stdout] 2161 | 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:2034:1 [INFO] [stdout] | [INFO] [stdout] 2034 | 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:2162:5 [INFO] [stdout] | [INFO] [stdout] 2162 | 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:2049:1 [INFO] [stdout] | [INFO] [stdout] 2049 | 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:2166:5 [INFO] [stdout] | [INFO] [stdout] 2166 | 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:2072:1 [INFO] [stdout] | [INFO] [stdout] 2072 | struct WillDelayInterval(u32); [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:2168:5 [INFO] [stdout] | [INFO] [stdout] 2168 | 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:1671:1 [INFO] [stdout] | [INFO] [stdout] 1671 | 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:2169:5 [INFO] [stdout] | [INFO] [stdout] 2169 | 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:1765:1 [INFO] [stdout] | [INFO] [stdout] 1765 | 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:2170:5 [INFO] [stdout] | [INFO] [stdout] 2170 | 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:1706:1 [INFO] [stdout] | [INFO] [stdout] 1706 | 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:2171:5 [INFO] [stdout] | [INFO] [stdout] 2171 | 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:1718:1 [INFO] [stdout] | [INFO] [stdout] 1718 | 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:2172:5 [INFO] [stdout] | [INFO] [stdout] 2172 | 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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | 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:2173:5 [INFO] [stdout] | [INFO] [stdout] 2173 | 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:1753:1 [INFO] [stdout] | [INFO] [stdout] 1753 | struct SubscriptionIdentifier(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SessionExpiryInterval` is more private than the item `DisconnectProperties::session_expiry_interval` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:2178:5 [INFO] [stdout] | [INFO] [stdout] 2178 | pub session_expiry_interval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DisconnectProperties::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:1913:1 [INFO] [stdout] | [INFO] [stdout] 1913 | struct SessionExpiryInterval(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserProperty` is more private than the item `DisconnectProperties::user_properties` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:2180:5 [INFO] [stdout] | [INFO] [stdout] 2180 | pub user_properties: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DisconnectProperties::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:1737:1 [INFO] [stdout] | [INFO] [stdout] 1737 | struct UserProperty((String, String)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ServerReference` is more private than the item `DisconnectProperties::server_reference` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:2181:5 [INFO] [stdout] | [INFO] [stdout] 2181 | pub server_reference: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DisconnectProperties::server_reference` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ServerReference` is only usable at visibility `pub(self)` [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1389:1 [INFO] [stdout] | [INFO] [stdout] 1389 | struct ServerReference(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 763 | impl PubrelProperties { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 770 | fn push(&mut self, prop: UserProperty) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1015:8 [INFO] [stdout] | [INFO] [stdout] 1008 | impl PubcompProperties { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1015 | fn push(&mut self, prop: UserProperty) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_from` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1050:8 [INFO] [stdout] | [INFO] [stdout] 1049 | impl PubcompReasonCode { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 1050 | fn try_from( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1358:8 [INFO] [stdout] | [INFO] [stdout] 1357 | impl SubackProperties { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1358 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> mqtt_coder/src/mqtt.rs:1398:8 [INFO] [stdout] | [INFO] [stdout] 1390 | impl ServerReference { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1398 | 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:1905:8 [INFO] [stdout] | [INFO] [stdout] 1895 | impl KeepAlive { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1905 | 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:1926:8 [INFO] [stdout] | [INFO] [stdout] 1914 | impl SessionExpiryInterval { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1926 | 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:1945:8 [INFO] [stdout] | [INFO] [stdout] 1933 | impl ReceiveMaximum { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1945 | 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:1967:8 [INFO] [stdout] | [INFO] [stdout] 1952 | impl MaximumPacketSize { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1967 | 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:1986:8 [INFO] [stdout] | [INFO] [stdout] 1974 | impl TopicAliasMaximum { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1986 | 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:2007:8 [INFO] [stdout] | [INFO] [stdout] 1993 | impl RequestResponseInformation { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2007 | 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:2028:8 [INFO] [stdout] | [INFO] [stdout] 2014 | impl RequestProblemInformation { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2028 | 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:2043:8 [INFO] [stdout] | [INFO] [stdout] 2035 | impl AuthenticationMethod { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2043 | 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:2065:8 [INFO] [stdout] | [INFO] [stdout] 2050 | impl AuthenticationData { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2065 | 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:2085:8 [INFO] [stdout] | [INFO] [stdout] 2073 | impl WillDelayInterval { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2085 | 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:2108:8 [INFO] [stdout] | [INFO] [stdout] 2093 | impl WillPayload { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2108 | 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:2124:8 [INFO] [stdout] | [INFO] [stdout] 2116 | impl UserName { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2124 | 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:2147:8 [INFO] [stdout] | [INFO] [stdout] 2132 | impl Password { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2147 | 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:2187:4 [INFO] [stdout] | [INFO] [stdout] 2187 | fn byte_pair_to_u16(b_msb: u8, b_lsb: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aqua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/aqua.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use mqtt_coder::mqtt::{self, ControlPacket}; [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: `uuid::Uuid` [INFO] [stdout] --> src/aqua/connection/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aqua::connection::response::Response` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::aqua::connection::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientId` and `MqttPacket` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | self, ClientId, ControlPacket, MqttError, MqttPacket, PacketId, Publish, QoS, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/aqua/connection.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(n)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(_n)) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHANNEL_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 333 - Poll::Ready(Ok(n)) => { [INFO] [stdout] 333 + Poll::Ready(Ok(aqua::connection::CHANNEL_CAPACITY)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aqua::session_manager` [INFO] [stdout] --> examples/broker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aqua::session_manager; [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: `aqua::RetainStore` [INFO] [stdout] --> examples/broker.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use aqua::RetainStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::connect` [INFO] [stdout] --> examples/broker.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::connect; [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnackError` [INFO] [stdout] --> tests/conack_test.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use aqua::{ConnackError, ConnackResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> tests/conack_test.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{instrument, trace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Puback` and `Pubrec` [INFO] [stdout] --> src/main.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | self, ControlPacket, Pingresp, ProtocolVersion, Puback, Pubrec, QoS, Suback, SubackReasonCode, [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: `self` [INFO] [stdout] --> src/aqua.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use mqtt_coder::mqtt::{self, ControlPacket}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/aqua/connection/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aqua::connection::response::Response` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::aqua::connection::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientId` and `MqttPacket` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | self, ClientId, ControlPacket, MqttError, MqttPacket, PacketId, Publish, QoS, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Puback` and `Pubrec` [INFO] [stdout] --> src/main.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | self, ControlPacket, Pingresp, ProtocolVersion, Puback, Pubrec, QoS, Suback, SubackReasonCode, [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: `self` [INFO] [stdout] --> src/aqua.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use mqtt_coder::mqtt::{self, ControlPacket}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/aqua/connection/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aqua::connection::response::Response` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::aqua::connection::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientId` and `MqttPacket` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | self, ClientId, ControlPacket, MqttError, MqttPacket, PacketId, Publish, QoS, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/aqua.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use mqtt_coder::mqtt::{self, ControlPacket}; [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: `uuid::Uuid` [INFO] [stdout] --> src/aqua/connection/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aqua::connection::response::Response` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::aqua::connection::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientId` and `MqttPacket` [INFO] [stdout] --> src/aqua/connection/session_manager.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | self, ClientId, ControlPacket, MqttError, MqttPacket, PacketId, Publish, QoS, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/aqua/connection.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(n)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(_n)) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHANNEL_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 333 - Poll::Ready(Ok(n)) => { [INFO] [stdout] 333 + Poll::Ready(Ok(aqua::connection::CHANNEL_CAPACITY)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/main.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | |incoming: aqua::connection::request::IncomingStream| async move { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/aqua/connection.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(n)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(_n)) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHANNEL_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 333 - Poll::Ready(Ok(n)) => { [INFO] [stdout] 333 + Poll::Ready(Ok(aqua::connection::CHANNEL_CAPACITY)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_stream`, `client_id`, and `mqtt_id` are never read [INFO] [stdout] --> src/aqua/connection/request.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IncomingStream { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub tcp_stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub addr: SocketAddr, [INFO] [stdout] 22 | pub client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub mqtt_id: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingMqtt` is never constructed [INFO] [stdout] --> src/aqua/connection/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct IncomingMqtt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_packets` is never used [INFO] [stdout] --> src/aqua/connection/response.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new_packets(packets: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RETAIN_STORE` is never used [INFO] [stdout] --> src/aqua/connection/retain_store.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static RETAIN_STORE: Lazy = Lazy::new(|| RetainStore::new()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetainStore` is never constructed [INFO] [stdout] --> src/aqua/connection/retain_store.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RetainStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_retain`, `remove_retain`, `check_retain`, and `is_match` are never used [INFO] [stdout] --> src/aqua/connection/retain_store.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RetainStore { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn update_retain(&self, topic: String, pkt: Publish) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn remove_retain(&self, topic: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn check_retain(&self, topic_filter: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_match(&self, topic_filter: &String, topic: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/aqua/connection/session_manager.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Outbound { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | tx: mpsc::Sender, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outbound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/aqua/connection/session_manager.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Outbound { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn send(&self, pkt: ControlPacket) -> Result<(), TrySendError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `by_mqtt_id`, `by_client_mqtt`, `qos_tmp`, and `mqtt_version` are never read [INFO] [stdout] --> src/aqua/connection/session_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SessionManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | by_mqtt_id: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | by_client_mqtt: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | qos_tmp: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | mqtt_version: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/aqua/connection/session_manager.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_staging_packet(&self, pkt: Publish, qos: QoS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn fetch_packet(&self, pid: PacketId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn commit_packet(&self, pid: PacketId) -> Result<(), MqttError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn unregister_client_id(&self, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn send_by_client_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn send_by_mqtt_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn register_mqtt_id(&self, mqtt_id: String, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn unregister_mqtt_id(&self, mqtt_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_mqtt_id(&self, client_id: &Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_protocol_version(&self, mqtt_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_protocol_version(&self, mqtt_id: &str, version: mqtt::ProtocolVersion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/main.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | |incoming: aqua::connection::request::IncomingStream| async move { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tcp_stream`, `client_id`, and `mqtt_id` are never read [INFO] [stdout] --> src/aqua/connection/request.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IncomingStream { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 20 | pub tcp_stream: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub addr: SocketAddr, [INFO] [stdout] 22 | pub client_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub mqtt_id: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncomingMqtt` is never constructed [INFO] [stdout] --> src/aqua/connection/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct IncomingMqtt { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_packets` is never used [INFO] [stdout] --> src/aqua/connection/response.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new_packets(packets: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RETAIN_STORE` is never used [INFO] [stdout] --> src/aqua/connection/retain_store.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static RETAIN_STORE: Lazy = Lazy::new(|| RetainStore::new()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetainStore` is never constructed [INFO] [stdout] --> src/aqua/connection/retain_store.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RetainStore { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_retain`, `remove_retain`, `check_retain`, and `is_match` are never used [INFO] [stdout] --> src/aqua/connection/retain_store.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RetainStore { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn update_retain(&self, topic: String, pkt: Publish) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn remove_retain(&self, topic: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn check_retain(&self, topic_filter: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_match(&self, topic_filter: &String, topic: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/aqua/connection/session_manager.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Outbound { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | tx: mpsc::Sender, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Outbound` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/aqua/connection/session_manager.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Outbound { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn send(&self, pkt: ControlPacket) -> Result<(), TrySendError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `by_mqtt_id`, `by_client_mqtt`, `qos_tmp`, and `mqtt_version` are never read [INFO] [stdout] --> src/aqua/connection/session_manager.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SessionManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | by_mqtt_id: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | by_client_mqtt: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | qos_tmp: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | mqtt_version: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/aqua/connection/session_manager.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_staging_packet(&self, pkt: Publish, qos: QoS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn fetch_packet(&self, pid: PacketId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn commit_packet(&self, pid: PacketId) -> Result<(), MqttError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn unregister_client_id(&self, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn send_by_client_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn send_by_mqtt_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn register_mqtt_id(&self, mqtt_id: String, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn unregister_mqtt_id(&self, mqtt_id: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_mqtt_id(&self, client_id: &Uuid) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_protocol_version(&self, mqtt_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_protocol_version(&self, mqtt_id: &str, version: mqtt::ProtocolVersion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/aqua/connection.rs:333:28 [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(n)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 333 | Poll::Ready(Ok(_n)) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHANNEL_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 333 - Poll::Ready(Ok(n)) => { [INFO] [stdout] 333 + Poll::Ready(Ok(aqua::connection::CHANNEL_CAPACITY)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttPacketBody` is never constructed [INFO] [stdout] --> src/aqua.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MqttPacketBody { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/aqua.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MqttPacketBody { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(_body: B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 47.00s [INFO] running `Command { std: "docker" "inspect" "768101fd2efa097a463bbc42423207132a306f913be13c12d09e4a38e078e217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768101fd2efa097a463bbc42423207132a306f913be13c12d09e4a38e078e217", kill_on_drop: false }` [INFO] [stdout] 768101fd2efa097a463bbc42423207132a306f913be13c12d09e4a38e078e217