[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] building redboltz/mqtt-broker-tokio against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredboltz%2Fmqtt-broker-tokio" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-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 strum v0.27.2 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded strum_macros v0.27.2 [INFO] [stderr] Downloaded multi_index_map v0.15.0 [INFO] [stderr] Downloaded mqtt-endpoint-tokio v0.1.0 [INFO] [stderr] Downloaded mqtt-protocol-core v0.2.0 [INFO] [stderr] Downloaded prefix_tree_map v0.2.1 [INFO] [stderr] Downloaded multi_index_map_derive v0.15.0 [INFO] [stderr] Downloaded delegate v0.13.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd29d12ff14d4dca57c14a8225c11e72deec0edea823d87ed7f1b65e516a534 [INFO] running `Command { std: "docker" "start" "-a" "0cd29d12ff14d4dca57c14a8225c11e72deec0edea823d87ed7f1b65e516a534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd29d12ff14d4dca57c14a8225c11e72deec0edea823d87ed7f1b65e516a534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd29d12ff14d4dca57c14a8225c11e72deec0edea823d87ed7f1b65e516a534", kill_on_drop: false }` [INFO] [stdout] 0cd29d12ff14d4dca57c14a8225c11e72deec0edea823d87ed7f1b65e516a534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1ab0e7bc2387130de137944f237d2fab0619d643f821704d28ea9a54d039247 [INFO] running `Command { std: "docker" "start" "-a" "a1ab0e7bc2387130de137944f237d2fab0619d643f821704d28ea9a54d039247", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling prefix_tree_map v0.2.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling multi_index_map_derive v0.15.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling delegate v0.13.4 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling multi_index_map v0.15.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling mqtt-protocol-core v0.2.0 [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 29.77s [INFO] running `Command { std: "docker" "inspect" "a1ab0e7bc2387130de137944f237d2fab0619d643f821704d28ea9a54d039247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ab0e7bc2387130de137944f237d2fab0619d643f821704d28ea9a54d039247", kill_on_drop: false }` [INFO] [stdout] a1ab0e7bc2387130de137944f237d2fab0619d643f821704d28ea9a54d039247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac2f800fefc1edc813f74676a443a5d015aacab4b6ca304ece7d9209634187ee [INFO] running `Command { std: "docker" "start" "-a" "ac2f800fefc1edc813f74676a443a5d015aacab4b6ca304ece7d9209634187ee", 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-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling mqtt-endpoint-tokio v0.1.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [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 14.21s [INFO] running `Command { std: "docker" "inspect" "ac2f800fefc1edc813f74676a443a5d015aacab4b6ca304ece7d9209634187ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2f800fefc1edc813f74676a443a5d015aacab4b6ca304ece7d9209634187ee", kill_on_drop: false }` [INFO] [stdout] ac2f800fefc1edc813f74676a443a5d015aacab4b6ca304ece7d9209634187ee