fix(test): handle serve() Result in live_socket_check (unbreak clippy on main) #78

Merged
clawdie merged 1 commit from fix/serve-result-clippy into main 2026-06-15 17:56:50 +02:00

1 commit

Author SHA1 Message Date
Sam & Claude
a24260edf6 fix(test): handle serve() Result in live_socket_check (Sam & Claude)
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
PR #75 made socket::serve return io::Result (fail-closed on bind), and updated
the daemon test caller, but the four call sites in colibri-client's
live_socket_check.rs were missed — leaving bare `serve(...).await;` on a
#[must_use] Result. That tripped `unused_must_use`, so
`cargo clippy --workspace --all-targets -- -D warnings` was RED on main.

Add `let _ =` (clippy's own suggestion) at the four spots — these are test
harness server tasks that run until shutdown, so the Result is intentionally
ignored.

Checks: cargo clippy --workspace --all-targets -- -D warnings now clean;
cargo fmt --check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 17:41:57 +02:00