[INFO] cloning repository https://github.com/redboltz/mqtt-broker-tokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redboltz/mqtt-broker-tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredboltz%2Fmqtt-broker-tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredboltz%2Fmqtt-broker-tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 434874f7c2006b9f3e085b20676fc54841f05b3e [INFO] testing redboltz/mqtt-broker-tokio against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredboltz%2Fmqtt-broker-tokio" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/redboltz/mqtt-broker-tokio [INFO] finished tweaking git repo https://github.com/redboltz/mqtt-broker-tokio [INFO] tweaked toml for git repo https://github.com/redboltz/mqtt-broker-tokio written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/redboltz/mqtt-broker-tokio on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/redboltz/mqtt-broker-tokio 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multi_index_map v0.15.0 [INFO] [stderr] Downloaded delegate v0.13.4 [INFO] [stderr] Downloaded strum_macros v0.27.2 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded multi_index_map_derive v0.15.0 [INFO] [stderr] Downloaded mqtt-endpoint-tokio v0.1.0 [INFO] [stderr] Downloaded strum v0.27.2 [INFO] [stderr] Downloaded prefix_tree_map v0.2.1 [INFO] [stderr] Downloaded mqtt-protocol-core v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18fbdcfeb8a02ef85a2fb269cfdf54c9feb51ea6e1793b01377720639b269c77 [INFO] running `Command { std: "docker" "start" "-a" "18fbdcfeb8a02ef85a2fb269cfdf54c9feb51ea6e1793b01377720639b269c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18fbdcfeb8a02ef85a2fb269cfdf54c9feb51ea6e1793b01377720639b269c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fbdcfeb8a02ef85a2fb269cfdf54c9feb51ea6e1793b01377720639b269c77", kill_on_drop: false }` [INFO] [stdout] 18fbdcfeb8a02ef85a2fb269cfdf54c9feb51ea6e1793b01377720639b269c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e9fad67c4a68e6809eda7fb37d222b77b3897417af9d4a4ee6c5fe0e1e2423e [INFO] running `Command { std: "docker" "start" "-a" "8e9fad67c4a68e6809eda7fb37d222b77b3897417af9d4a4ee6c5fe0e1e2423e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling delegate v0.13.4 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling prefix_tree_map v0.2.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling multi_index_map_derive v0.15.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling multi_index_map v0.15.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling mqtt-protocol-core v0.2.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling mqtt-endpoint-tokio v0.1.0 [INFO] [stderr] Compiling mqtt-broker-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SubscriptionMessage` [INFO] [stdout] --> src/main.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | use broker::{BrokerManager, SubscriptionMessage}; [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 alias `ClientId` is never used [INFO] [stdout] --> src/subscription_store.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub type ClientId = String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `topic_filter` is never read [INFO] [stdout] --> src/subscription_store.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Subscription { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub topic_filter: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscription` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_arc` is never used [INFO] [stdout] --> src/subscription_store.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl EndpointRef { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn into_arc(self) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_subscribed`, `check_subscription`, `get_endpoint_subscriptions`, and `collect_endpoint_subscriptions` are never used [INFO] [stdout] --> src/subscription_store.rs:440:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl SubscriptionStore { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 440 | pub async fn is_subscribed(&self, endpoint: &EndpointRef, topic_filter: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | fn check_subscription( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub async fn get_endpoint_subscriptions(&self, endpoint: &EndpointRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn collect_endpoint_subscriptions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.94s [INFO] running `Command { std: "docker" "inspect" "8e9fad67c4a68e6809eda7fb37d222b77b3897417af9d4a4ee6c5fe0e1e2423e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9fad67c4a68e6809eda7fb37d222b77b3897417af9d4a4ee6c5fe0e1e2423e", kill_on_drop: false }` [INFO] [stdout] 8e9fad67c4a68e6809eda7fb37d222b77b3897417af9d4a4ee6c5fe0e1e2423e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96efddf1023561697aae1d51e164d9384c9c82c3b3475ce76e174cfc09bee55b [INFO] running `Command { std: "docker" "start" "-a" "96efddf1023561697aae1d51e164d9384c9c82c3b3475ce76e174cfc09bee55b", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling mqtt-endpoint-tokio v0.1.0 [INFO] [stderr] Compiling mqtt-broker-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SubscriptionMessage` [INFO] [stdout] --> src/main.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | use broker::{BrokerManager, SubscriptionMessage}; [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 alias `ClientId` is never used [INFO] [stdout] --> src/subscription_store.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub type ClientId = String; [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 `into_arc` is never used [INFO] [stdout] --> src/subscription_store.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl EndpointRef { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn into_arc(self) -> Arc> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_subscribed`, `check_subscription`, `get_endpoint_subscriptions`, and `collect_endpoint_subscriptions` are never used [INFO] [stdout] --> src/subscription_store.rs:440:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl SubscriptionStore { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 440 | pub async fn is_subscribed(&self, endpoint: &EndpointRef, topic_filter: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | fn check_subscription( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub async fn get_endpoint_subscriptions(&self, endpoint: &EndpointRef) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn collect_endpoint_subscriptions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.16s [INFO] running `Command { std: "docker" "inspect" "96efddf1023561697aae1d51e164d9384c9c82c3b3475ce76e174cfc09bee55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96efddf1023561697aae1d51e164d9384c9c82c3b3475ce76e174cfc09bee55b", kill_on_drop: false }` [INFO] [stdout] 96efddf1023561697aae1d51e164d9384c9c82c3b3475ce76e174cfc09bee55b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29312ac69d5a06e82143d14b09cc171118febaf8862685745ef0a5180d623ab8 [INFO] running `Command { std: "docker" "start" "-a" "29312ac69d5a06e82143d14b09cc171118febaf8862685745ef0a5180d623ab8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `SubscriptionMessage` [INFO] [stderr] --> src/main.rs:28:29 [INFO] [stderr] | [INFO] [stderr] 28 | use broker::{BrokerManager, SubscriptionMessage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `ClientId` is never used [INFO] [stderr] --> src/subscription_store.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | pub type ClientId = String; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `into_arc` is never used [INFO] [stderr] --> src/subscription_store.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 63 | impl EndpointRef { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn into_arc(self) -> Arc> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `is_subscribed`, `check_subscription`, `get_endpoint_subscriptions`, and `collect_endpoint_subscriptions` are never used [INFO] [stderr] --> src/subscription_store.rs:440:18 [INFO] [stderr] | [INFO] [stderr] 141 | impl SubscriptionStore { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 440 | pub async fn is_subscribed(&self, endpoint: &EndpointRef, topic_filter: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | fn check_subscription( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 493 | pub async fn get_endpoint_subscriptions(&self, endpoint: &EndpointRef) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 509 | fn collect_endpoint_subscriptions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mqtt-broker-tokio` (bin "mqtt-broker" test) generated 4 warnings (run `cargo fix --bin "mqtt-broker" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mqtt_broker-e22e67b2b47b46e0) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test subscription_store::tests::test_empty_segment_handling ... ok [INFO] [stdout] test subscription_store::tests::test_mixed_wildcard_pattern ... ok [INFO] [stdout] test subscription_store::tests::test_complex_wildcard_patterns ... ok [INFO] [stdout] test subscription_store::tests::test_partial_unsubscribe ... ok [INFO] [stdout] test subscription_store::tests::test_qos_and_sub_id_overwrite ... ok [INFO] [stdout] test subscription_store::tests::test_root_multilevel_wildcard ... ok [INFO] [stdout] test subscription_store::tests::test_subscription_with_none_sub_id ... ok [INFO] [stdout] test subscription_store::tests::test_multiple_endpoints_same_pattern ... ok [INFO] [stdout] test subscription_store::tests::test_same_endpoint_multiple_subscriptions ... ok [INFO] [stdout] test subscription_store::tests::test_unsubscribe_nonexistent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29312ac69d5a06e82143d14b09cc171118febaf8862685745ef0a5180d623ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29312ac69d5a06e82143d14b09cc171118febaf8862685745ef0a5180d623ab8", kill_on_drop: false }` [INFO] [stdout] 29312ac69d5a06e82143d14b09cc171118febaf8862685745ef0a5180d623ab8