[INFO] cloning repository https://github.com/mudern/rummy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mudern/rummy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmudern%2Frummy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmudern%2Frummy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86a3f60cf10098898f1d962f528046be198559fd [INFO] checking mudern/rummy/86a3f60cf10098898f1d962f528046be198559fd against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for 2025-12-16-next-solver-global [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmudern%2Frummy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mudern/rummy [INFO] finished tweaking git repo https://github.com/mudern/rummy [INFO] tweaked toml for git repo https://github.com/mudern/rummy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mudern/rummy on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mudern/rummy 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" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f1d2fe62ae4c6a783e6e35cbdafc7f515d4a9976f06bcd494c6baf8dee817d9 [INFO] running `Command { std: "docker" "start" "-a" "9f1d2fe62ae4c6a783e6e35cbdafc7f515d4a9976f06bcd494c6baf8dee817d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1d2fe62ae4c6a783e6e35cbdafc7f515d4a9976f06bcd494c6baf8dee817d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1d2fe62ae4c6a783e6e35cbdafc7f515d4a9976f06bcd494c6baf8dee817d9", kill_on_drop: false }` [INFO] [stdout] 9f1d2fe62ae4c6a783e6e35cbdafc7f515d4a9976f06bcd494c6baf8dee817d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e543142743365e03561c6b3ade75585d46eb98bbe234390fc17ffd0f40f758 [INFO] running `Command { std: "docker" "start" "-a" "44e543142743365e03561c6b3ade75585d46eb98bbe234390fc17ffd0f40f758", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-modes v0.9.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking rummy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AuthBody` and `AuthType` [INFO] [stdout] --> src/encrypt/auth.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::encrypt::{AuthType,AuthBody}; [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 imports: `AuthBody` and `AuthType` [INFO] [stdout] --> src/encrypt/auth.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::encrypt::{AuthType,AuthBody}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl ToSocketAddrs` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/transport/tcp_server.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | log::info!("Starting TCP server on {:?}", addr); [INFO] [stdout] | ---- ^^^^ `impl ToSocketAddrs` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__private_api::format_args` which comes from the expansion of the macro `log::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting opaque type `impl ToSocketAddrs` with trait `Debug` [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn new(addr: impl ToSocketAddrs + std::fmt::Debug) -> Result { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl ToSocketAddrs` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> src/transport/tcp_server.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | log::info!("Starting TCP server on {:?}", addr); [INFO] [stdout] | ---- ^^^^ `impl ToSocketAddrs` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::__private_api::format_args` which comes from the expansion of the macro `log::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider restricting opaque type `impl ToSocketAddrs` with trait `Debug` [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn new(addr: impl ToSocketAddrs + std::fmt::Debug) -> Result { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transport/tcp_client.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | let (input_sender, mut output_receiver) = mpsc::channel(100); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `channel` [INFO] [stdout] ... [INFO] [stdout] 28 | if let Err(e) = write_half.write_all(&packet.to_bytes()).await { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 21 | let (input_sender, mut output_receiver) = mpsc::channel::(100); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transport/tcp_client.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | let (input_sender, mut output_receiver) = mpsc::channel(100); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `channel` [INFO] [stdout] ... [INFO] [stdout] 28 | if let Err(e) = write_half.write_all(&packet.to_bytes()).await { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 21 | let (input_sender, mut output_receiver) = mpsc::channel::(100); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transport/tcp_client.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | input_receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Receiver`, found `Receiver<(u64, Packet)>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `tokio::sync::mpsc::Receiver` [INFO] [stdout] found struct `tokio::sync::mpsc::Receiver<(u64, Packet)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transport/tcp_client.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | input_receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Receiver`, found `Receiver<(u64, Packet)>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `tokio::sync::mpsc::Receiver` [INFO] [stdout] found struct `tokio::sync::mpsc::Receiver<(u64, Packet)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>` to be a future that resolves to `Option<(Uuid, Packet)>`, but it resolves to `Option` [INFO] [stdout] --> src/transport/tcp_client.rs:81:79 [INFO] [stdout] | [INFO] [stdout] 81 | async fn receive(&mut self) -> impl Future> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 82 | | self.input_receiver.recv() [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ expected `Option<(Uuid, Packet)>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(Uuid, Packet)>` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>` to be a future that resolves to `Option<(Uuid, Packet)>`, but it resolves to `Option` [INFO] [stdout] --> src/transport/tcp_client.rs:81:79 [INFO] [stdout] | [INFO] [stdout] 81 | async fn receive(&mut self) -> impl Future> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 82 | | self.input_receiver.recv() [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ expected `Option<(Uuid, Packet)>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(Uuid, Packet)>` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>` to be a future that resolves to `Option<(Uuid, Packet)>`, but it resolves to `Option` [INFO] [stdout] --> src/transport/tcp_client.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | async fn receive(&mut self) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<(Uuid, Packet)>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(Uuid, Packet)>` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>` to be a future that resolves to `Option<(Uuid, Packet)>`, but it resolves to `Option` [INFO] [stdout] --> src/transport/tcp_client.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | async fn receive(&mut self) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<(Uuid, Packet)>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(Uuid, Packet)>` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take` exists for struct `tokio::task::JoinHandle<()>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/transport/tcp_client.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | if let Some(handle) = self.main_handle.take() { [INFO] [stdout] | ^^^^ method cannot be called on `tokio::task::JoinHandle<()>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/task/join.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct JoinHandle { [INFO] [stdout] | ------------------------ doesn't satisfy `tokio::task::JoinHandle<()>: AsyncReadExt`, `tokio::task::JoinHandle<()>: AsyncRead` or `tokio::task::JoinHandle<()>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio::task::JoinHandle<()>: AsyncRead` [INFO] [stdout] which is required by `tokio::task::JoinHandle<()>: AsyncReadExt` [INFO] [stdout] `&tokio::task::JoinHandle<()>: AsyncRead` [INFO] [stdout] which is required by `&tokio::task::JoinHandle<()>: AsyncReadExt` [INFO] [stdout] `&mut tokio::task::JoinHandle<()>: AsyncRead` [INFO] [stdout] which is required by `&mut tokio::task::JoinHandle<()>: AsyncReadExt` [INFO] [stdout] `tokio::task::JoinHandle<()>: Iterator` [INFO] [stdout] which is required by `&mut tokio::task::JoinHandle<()>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `take` exists for struct `tokio::task::JoinHandle<()>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/transport/tcp_client.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | if let Some(handle) = self.main_handle.take() { [INFO] [stdout] | ^^^^ method cannot be called on `tokio::task::JoinHandle<()>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/task/join.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct JoinHandle { [INFO] [stdout] | ------------------------ doesn't satisfy `tokio::task::JoinHandle<()>: AsyncReadExt`, `tokio::task::JoinHandle<()>: AsyncRead` or `tokio::task::JoinHandle<()>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio::task::JoinHandle<()>: AsyncRead` [INFO] [stdout] which is required by `tokio::task::JoinHandle<()>: AsyncReadExt` [INFO] [stdout] `&tokio::task::JoinHandle<()>: AsyncRead` [INFO] [stdout] which is required by `&tokio::task::JoinHandle<()>: AsyncReadExt` [INFO] [stdout] `&mut tokio::task::JoinHandle<()>: AsyncRead` [INFO] [stdout] which is required by `&mut tokio::task::JoinHandle<()>: AsyncReadExt` [INFO] [stdout] `tokio::task::JoinHandle<()>: Iterator` [INFO] [stdout] which is required by `&mut tokio::task::JoinHandle<()>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transport/tcp_client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | handle.abort(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/transport/tcp_client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | handle.abort(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transport/tcp_client.rs:87:55 [INFO] [stdout] | [INFO] [stdout] 87 | if let Some(handle) = self.main_handle.take() { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 88 | | handle.abort(); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_________^ expected `Result<(), TransportError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), TransportError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `send` do not match the trait declaration [INFO] [stdout] --> src/transport/tcp_client.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | async fn send(&self, uuid: Uuid, packet: Packet) -> Result<(), TransportError> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/transport/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] 11 | pub trait Transport{ [INFO] [stdout] 12 | async fn send(&self, uuid: Uuid, packet: Packet) -> Result<(), TransportError>; [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `receive` do not match the trait declaration [INFO] [stdout] --> src/transport/tcp_client.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | async fn receive(&mut self) -> impl Future> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/transport/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 13 | async fn receive(&mut self) -> impl Future>; [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transport/tcp_client.rs:87:55 [INFO] [stdout] | [INFO] [stdout] 87 | if let Some(handle) = self.main_handle.take() { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 88 | | handle.abort(); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_________^ expected `Result<(), TransportError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), TransportError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `send` do not match the trait declaration [INFO] [stdout] --> src/transport/tcp_client.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | async fn send(&self, uuid: Uuid, packet: Packet) -> Result<(), TransportError> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/transport/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] 11 | pub trait Transport{ [INFO] [stdout] 12 | async fn send(&self, uuid: Uuid, packet: Packet) -> Result<(), TransportError>; [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `receive` do not match the trait declaration [INFO] [stdout] --> src/transport/tcp_client.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | async fn receive(&mut self) -> impl Future> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/transport/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 13 | async fn receive(&mut self) -> impl Future>; [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `close` do not match the trait declaration [INFO] [stdout] --> src/transport/tcp_client.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | async fn close(&mut self) -> Result<(), TransportError> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/transport/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 14 | async fn close(&mut self) -> Result<(), TransportError>; [INFO] [stdout] | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `close` do not match the trait declaration [INFO] [stdout] --> src/transport/tcp_client.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | async fn close(&mut self) -> Result<(), TransportError> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/transport/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait] [INFO] [stdout] | -------------- this bound might be missing in the impl [INFO] [stdout] ... [INFO] [stdout] 14 | async fn close(&mut self) -> Result<(), TransportError>; [INFO] [stdout] | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | this bound might be missing in the impl [INFO] [stdout] | lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp_server.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut locked = listener.lock().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp_server.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let mut locked = listener.lock().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/transport/tcp_client.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | async fn send(&self, uuid: Uuid, packet: Packet) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/transport/tcp_client.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | async fn send(&self, uuid: Uuid, packet: Packet) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0195, E0271, E0277, E0282, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0195, E0271, E0277, E0282, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rummy` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rummy` (lib) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44e543142743365e03561c6b3ade75585d46eb98bbe234390fc17ffd0f40f758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e543142743365e03561c6b3ade75585d46eb98bbe234390fc17ffd0f40f758", kill_on_drop: false }` [INFO] [stdout] 44e543142743365e03561c6b3ade75585d46eb98bbe234390fc17ffd0f40f758