[INFO] cloning repository https://github.com/AlexsJones/tackboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexsJones/tackboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexsJones%2Ftackboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexsJones%2Ftackboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c46beadaa9c78de9360fec9fc93a22ea929b07bb [INFO] building AlexsJones/tackboard against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexsJones%2Ftackboard" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlexsJones/tackboard [INFO] finished tweaking git repo https://github.com/AlexsJones/tackboard [INFO] tweaked toml for git repo https://github.com/AlexsJones/tackboard written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlexsJones/tackboard on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlexsJones/tackboard 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d888895215eaa184d2e89e6246d9b8419aa70b81c288a71cc8b0e88f3260f28 [INFO] running `Command { std: "docker" "start" "-a" "7d888895215eaa184d2e89e6246d9b8419aa70b81c288a71cc8b0e88f3260f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d888895215eaa184d2e89e6246d9b8419aa70b81c288a71cc8b0e88f3260f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d888895215eaa184d2e89e6246d9b8419aa70b81c288a71cc8b0e88f3260f28", kill_on_drop: false }` [INFO] [stdout] 7d888895215eaa184d2e89e6246d9b8419aa70b81c288a71cc8b0e88f3260f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6914de308e1be095080b04701d9cf8b49f27208fa16deb324a7ff1dc38e84c49 [INFO] running `Command { std: "docker" "start" "-a" "6914de308e1be095080b04701d9cf8b49f27208fa16deb324a7ff1dc38e84c49", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio-serde v0.9.0 [INFO] [stderr] Compiling tackboardlib v0.1.0 (/opt/rustwide/workdir/tackboardlib) [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{ClientRequest, ServerResponse, Topic}; [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: `debug` [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "tackboardlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn send_sync(&self, request: ClientRequest) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn send_sync(&self, request: ClientRequest) -> Result; [INFO] [stdout] 36 + fn send_sync(&self, request: ClientRequest) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn send_async(&self, request: ClientRequest, callback: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn send_async(&self, request: ClientRequest, callback: F) [INFO] [stdout] 57 + fn send_async(&self, request: ClientRequest, callback: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | async fn accept_connections(&mut self, callback: F) -> Result<(), TackboardError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 79 - async fn accept_connections(&mut self, callback: F) -> Result<(), TackboardError> [INFO] [stdout] 79 + fn accept_connections(&mut self, callback: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | async fn get_connected_clients( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 99 ~ fn get_connected_clients( [INFO] [stdout] 100| &self, [INFO] [stdout] 101~ ) -> impl std::future::Future>>>>>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 141 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tackboardsrv v0.1.0 (/opt/rustwide/workdir/tackboardsrv) [INFO] [stderr] Compiling tackboardctl v0.1.0 (/opt/rustwide/workdir/tackboardctl) [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> tackboardctl/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::SinkExt; [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 variable: `topic_id` [INFO] [stdout] --> tackboardctl/src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let topic_id = "topic-1".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_id` [INFO] [stdout] --> tackboardctl/src/main.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | ServerResponse::TopicListenUpdate { topic_id, messages } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `topic_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> tackboardsrv/src/main.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | ... let response = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tackboardsrv/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let result = connection_manager.accept_connections({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.12s [INFO] running `Command { std: "docker" "inspect" "6914de308e1be095080b04701d9cf8b49f27208fa16deb324a7ff1dc38e84c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6914de308e1be095080b04701d9cf8b49f27208fa16deb324a7ff1dc38e84c49", kill_on_drop: false }` [INFO] [stdout] 6914de308e1be095080b04701d9cf8b49f27208fa16deb324a7ff1dc38e84c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca11f2e3e1c9174c38e9f83318f21c48c34fe71f8695a7329d89e21d8ce10676 [INFO] running `Command { std: "docker" "start" "-a" "ca11f2e3e1c9174c38e9f83318f21c48c34fe71f8695a7329d89e21d8ce10676", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling tackboardlib v0.1.0 (/opt/rustwide/workdir/tackboardlib) [INFO] [stderr] Compiling tackboardctl v0.1.0 (/opt/rustwide/workdir/tackboardctl) [INFO] [stderr] Compiling tackboardsrv v0.1.0 (/opt/rustwide/workdir/tackboardsrv) [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{ClientRequest, ServerResponse, Topic}; [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: `debug` [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "tackboardlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn send_sync(&self, request: ClientRequest) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn send_sync(&self, request: ClientRequest) -> Result; [INFO] [stdout] 36 + fn send_sync(&self, request: ClientRequest) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn send_async(&self, request: ClientRequest, callback: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn send_async(&self, request: ClientRequest, callback: F) [INFO] [stdout] 57 + fn send_async(&self, request: ClientRequest, callback: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | async fn accept_connections(&mut self, callback: F) -> Result<(), TackboardError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 79 - async fn accept_connections(&mut self, callback: F) -> Result<(), TackboardError> [INFO] [stdout] 79 + fn accept_connections(&mut self, callback: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | async fn get_connected_clients( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 99 ~ fn get_connected_clients( [INFO] [stdout] 100| &self, [INFO] [stdout] 101~ ) -> impl std::future::Future>>>>>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 141 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Topic` [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{ClientRequest, ServerResponse, Topic}; [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: `debug` [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> tackboardsrv/src/main.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | ... let response = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tackboardsrv/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let result = connection_manager.accept_connections({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> tackboardctl/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "tackboardlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_id` [INFO] [stdout] --> tackboardctl/src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let topic_id = "topic-1".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_id` [INFO] [stdout] --> tackboardctl/src/main.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | ServerResponse::TopicListenUpdate { topic_id, messages } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `topic_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn send_sync(&self, request: ClientRequest) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn send_sync(&self, request: ClientRequest) -> Result; [INFO] [stdout] 36 + fn send_sync(&self, request: ClientRequest) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn send_async(&self, request: ClientRequest, callback: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn send_async(&self, request: ClientRequest, callback: F) [INFO] [stdout] 57 + fn send_async(&self, request: ClientRequest, callback: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | async fn accept_connections(&mut self, callback: F) -> Result<(), TackboardError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 79 - async fn accept_connections(&mut self, callback: F) -> Result<(), TackboardError> [INFO] [stdout] 79 + fn accept_connections(&mut self, callback: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | async fn get_connected_clients( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 99 ~ fn get_connected_clients( [INFO] [stdout] 100| &self, [INFO] [stdout] 101~ ) -> impl std::future::Future>>>>>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> tackboardlib/src/connection_manager/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct ConnectionManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 141 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "ca11f2e3e1c9174c38e9f83318f21c48c34fe71f8695a7329d89e21d8ce10676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca11f2e3e1c9174c38e9f83318f21c48c34fe71f8695a7329d89e21d8ce10676", kill_on_drop: false }` [INFO] [stdout] ca11f2e3e1c9174c38e9f83318f21c48c34fe71f8695a7329d89e21d8ce10676