[INFO] fetching crate tcp_message_io 1.0.4... [INFO] testing tcp_message_io-1.0.4 against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] extracting crate tcp_message_io 1.0.4 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tcp_message_io 1.0.4 on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tcp_message_io 1.0.4 [INFO] finished tweaking crates.io crate tcp_message_io 1.0.4 [INFO] tweaked toml for crates.io crate tcp_message_io 1.0.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing tcp_message_io-1.0.4 against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] extracting crate tcp_message_io 1.0.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tcp_message_io 1.0.4 on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tcp_message_io 1.0.4 [INFO] finished tweaking crates.io crate tcp_message_io 1.0.4 [INFO] tweaked toml for crates.io crate tcp_message_io 1.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing tcp_message_io-1.0.4 against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] extracting crate tcp_message_io 1.0.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tcp_message_io 1.0.4 on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tcp_message_io 1.0.4 [INFO] finished tweaking crates.io crate tcp_message_io 1.0.4 [INFO] tweaked toml for crates.io crate tcp_message_io 1.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing tcp_message_io-1.0.4 against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] extracting crate tcp_message_io 1.0.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tcp_message_io 1.0.4 on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tcp_message_io 1.0.4 [INFO] finished tweaking crates.io crate tcp_message_io 1.0.4 [INFO] tweaked toml for crates.io crate tcp_message_io 1.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.23.0) [INFO] [stderr] Adding embedded-io v0.4.0 (latest: v0.6.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.30.0) [INFO] [stderr] Adding hash32 v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (latest: v0.8.0) [INFO] [stderr] Adding object v0.35.0 (latest: v0.36.0) [INFO] [stderr] Adding serial_test v2.0.0 (latest: v3.1.1) [INFO] [stderr] Adding serial_test_derive v2.0.0 (latest: v3.1.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding zstd v0.12.4 (latest: v0.13.1) [INFO] [stderr] Adding zstd-safe v6.0.6 (latest: v7.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83bb93461aa4f581ac5dfb9a7865dae74d09688e570ed3dac142547f595d2933 [INFO] running `Command { std: "docker" "start" "-a" "83bb93461aa4f581ac5dfb9a7865dae74d09688e570ed3dac142547f595d2933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83bb93461aa4f581ac5dfb9a7865dae74d09688e570ed3dac142547f595d2933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83bb93461aa4f581ac5dfb9a7865dae74d09688e570ed3dac142547f595d2933", kill_on_drop: false }` [INFO] [stdout] 83bb93461aa4f581ac5dfb9a7865dae74d09688e570ed3dac142547f595d2933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd9b18ada7a70e862133f9570ffd917c492ec946073b77e4ee63e92eaf7deff [INFO] running `Command { std: "docker" "start" "-a" "edd9b18ada7a70e862133f9570ffd917c492ec946073b77e4ee63e92eaf7deff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tcp_message_io v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s [INFO] running `Command { std: "docker" "inspect" "edd9b18ada7a70e862133f9570ffd917c492ec946073b77e4ee63e92eaf7deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd9b18ada7a70e862133f9570ffd917c492ec946073b77e4ee63e92eaf7deff", kill_on_drop: false }` [INFO] [stdout] edd9b18ada7a70e862133f9570ffd917c492ec946073b77e4ee63e92eaf7deff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaa7acd6f9f34e3d4089406d542f1f067af3532c5cd0b673525f47e7fd388bc7 [INFO] running `Command { std: "docker" "start" "-a" "eaa7acd6f9f34e3d4089406d542f1f067af3532c5cd0b673525f47e7fd388bc7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling tcp_message_io v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/crate_serde.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 287 | Request::Hello => TCPResponse::Message(Response::World), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse::Message` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse::Message` [INFO] [stdout] ... [INFO] [stdout] 95 | Message(A), [INFO] [stdout] | ------- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:287:31 [INFO] [stdout] | [INFO] [stdout] 287 | Request::Hello => TCPResponse::Message(Response::World), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:288:61 [INFO] [stdout] | [INFO] [stdout] 288 | Request::Double { num } => TCPResponse::Message(Response::Result(2 * num)), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse::Message` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse::Message` [INFO] [stdout] ... [INFO] [stdout] 95 | Message(A), [INFO] [stdout] | ------- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | Request::Double { num } => TCPResponse::Message(Response::Result(2 * num)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:289:59 [INFO] [stdout] | [INFO] [stdout] 289 | Request::Sum { a, b } => TCPResponse::Message(Response::Result(a + b)), [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse::Message` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse::Message` [INFO] [stdout] ... [INFO] [stdout] 95 | Message(A), [INFO] [stdout] | ------- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | Request::Sum { a, b } => TCPResponse::Message(Response::Result(a + b)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 290 | Request::Close => TCPResponse::CloseConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse::CloseConnection` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse::CloseConnection` [INFO] [stdout] ... [INFO] [stdout] 99 | CloseConnection, [INFO] [stdout] | --------------- required by a bound in this unit variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | Request::CauseError => bail!("An error occurred".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:292:30 [INFO] [stdout] | [INFO] [stdout] 292 | Request::Stop => TCPResponse::StopServer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse::StopServer` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse::StopServer` [INFO] [stdout] ... [INFO] [stdout] 103 | StopServer, [INFO] [stdout] | ---------- required by a bound in this unit variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | Ok(match req { [INFO] [stdout] | ^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | / Ok(match req { [INFO] [stdout] 287 | | Request::Hello => TCPResponse::Message(Response::World), [INFO] [stdout] 288 | | Request::Double { num } => TCPResponse::Message(Response::Result(2 * num)), [INFO] [stdout] 289 | | Request::Sum { a, b } => TCPResponse::Message(Response::Result(a + b)), [INFO] [stdout] ... | [INFO] [stdout] 292 | | Request::Stop => TCPResponse::StopServer, [INFO] [stdout] 293 | | }) [INFO] [stdout] | |__________^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | async fn handle_requests(req: Request) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer::::new` [INFO] [stdout] --> src/crate_serde.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer::::new` [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn new(host: impl Into, port: u16, handler: H) -> Arc { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crate_serde::tests::Request: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `crate_serde::tests::Request` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer::::new` [INFO] [stdout] --> src/crate_serde.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer::::new` [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn new(host: impl Into, port: u16, handler: H) -> Arc { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crate_serde::tests::Request: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ the trait `SerializeMessage` is not implemented for `crate_serde::tests::Request` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] 122 | where [INFO] [stdout] 123 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_inactivity_timeout` exists for struct `Arc impl Future {handle_requests}, ...>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 231 | enum Request { [INFO] [stdout] | ------------ doesn't satisfy `crate_serde::tests::Request: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 262 | / TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] 263 | | .with_inactivity_timeout(15) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/tcp_message_io-016a46faf75c9421.long-type-13676097217795361373.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `Response: SerializeMessage` [INFO] [stdout] `crate_serde::tests::Request: SerializeMessage` [INFO] [stdout] --> src/crate_serde.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl TCPServer [INFO] [stdout] | --------------------- [INFO] [stdout] 137 | where [INFO] [stdout] 138 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 139 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer::::new` [INFO] [stdout] --> src/crate_serde.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer::::new` [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn new(host: impl Into, port: u16, handler: H) -> Arc { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crate_serde::tests::Request: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `crate_serde::tests::Request` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer::::new` [INFO] [stdout] --> src/crate_serde.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer::::new` [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn new(host: impl Into, port: u16, handler: H) -> Arc { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crate_serde::tests::Request: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ the trait `SerializeMessage` is not implemented for `crate_serde::tests::Request` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] 122 | where [INFO] [stdout] 123 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_inactivity_timeout` exists for struct `Arc impl Future {handle_requests}, ...>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:275:18 [INFO] [stdout] | [INFO] [stdout] 231 | enum Request { [INFO] [stdout] | ------------ doesn't satisfy `crate_serde::tests::Request: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 274 | / TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] 275 | | .with_inactivity_timeout(15) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/tcp_message_io-016a46faf75c9421.long-type-13676097217795361373.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `Response: SerializeMessage` [INFO] [stdout] `crate_serde::tests::Request: SerializeMessage` [INFO] [stdout] --> src/crate_serde.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl TCPServer [INFO] [stdout] | --------------------- [INFO] [stdout] 137 | where [INFO] [stdout] 138 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 139 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:276:67 [INFO] [stdout] | [INFO] [stdout] 276 | .with_bad_request_handler(|| TCPResponse::Message(Response::World)) [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse::Message` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse::Message` [INFO] [stdout] ... [INFO] [stdout] 95 | Message(A), [INFO] [stdout] | ------- required by a bound in this tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:276:46 [INFO] [stdout] | [INFO] [stdout] 276 | .with_bad_request_handler(|| TCPResponse::Message(Response::World)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPResponse` [INFO] [stdout] --> src/crate_serde.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum TCPResponse [INFO] [stdout] | ----------- required by a bound in this enum [INFO] [stdout] 91 | where [INFO] [stdout] 92 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `connect` exists for struct `TCPClient<_, Response>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:302:56 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | -------------------------- function or associated item `connect` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 302 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `TCPClient<_, Response>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Response: SerializeMessage` was not satisfied [INFO] [stdout] --> src/crate_serde.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TCPClient [INFO] [stdout] | --------------- [INFO] [stdout] ... [INFO] [stdout] 59 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:302:30 [INFO] [stdout] | [INFO] [stdout] 302 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPClient` [INFO] [stdout] --> src/crate_serde.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `connect` exists for struct `TCPClient<_, Response>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:333:56 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | -------------------------- function or associated item `connect` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 333 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `TCPClient<_, Response>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Response: SerializeMessage` was not satisfied [INFO] [stdout] --> src/crate_serde.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TCPClient [INFO] [stdout] | --------------- [INFO] [stdout] ... [INFO] [stdout] 59 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:333:30 [INFO] [stdout] | [INFO] [stdout] 333 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPClient` [INFO] [stdout] --> src/crate_serde.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `connect` exists for struct `TCPClient<_, Response>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:348:56 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | -------------------------- function or associated item `connect` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 348 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `TCPClient<_, Response>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Response: SerializeMessage` was not satisfied [INFO] [stdout] --> src/crate_serde.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TCPClient [INFO] [stdout] | --------------- [INFO] [stdout] ... [INFO] [stdout] 59 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPClient` [INFO] [stdout] --> src/crate_serde.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `connect` exists for struct `TCPClient<_, Response>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:365:56 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | -------------------------- function or associated item `connect` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 365 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `TCPClient<_, Response>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Response: SerializeMessage` was not satisfied [INFO] [stdout] --> src/crate_serde.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TCPClient [INFO] [stdout] | --------------- [INFO] [stdout] ... [INFO] [stdout] 59 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:365:30 [INFO] [stdout] | [INFO] [stdout] 365 | let mut client = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPClient` [INFO] [stdout] --> src/crate_serde.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `connect` exists for struct `TCPClient<_, Response>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:384:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | -------------------------- function or associated item `connect` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 384 | let mut client1 = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `TCPClient<_, Response>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Response: SerializeMessage` was not satisfied [INFO] [stdout] --> src/crate_serde.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TCPClient [INFO] [stdout] | --------------- [INFO] [stdout] ... [INFO] [stdout] 59 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:384:31 [INFO] [stdout] | [INFO] [stdout] 384 | let mut client1 = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPClient` [INFO] [stdout] --> src/crate_serde.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `connect` exists for struct `TCPClient<_, Response>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:385:57 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | -------------------------- function or associated item `connect` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 385 | let mut client2 = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `TCPClient<_, Response>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Response: SerializeMessage` was not satisfied [INFO] [stdout] --> src/crate_serde.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl TCPClient [INFO] [stdout] | --------------- [INFO] [stdout] ... [INFO] [stdout] 59 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:385:31 [INFO] [stdout] | [INFO] [stdout] 385 | let mut client2 = TCPClient::<_, Response>::connect(HOST, PORT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPClient` [INFO] [stdout] --> src/crate_serde.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct TCPClient [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer::::new` [INFO] [stdout] --> src/crate_serde.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer::::new` [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn new(host: impl Into, port: u16, handler: H) -> Arc { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crate_serde::tests::Request: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SerializeMessage` is not implemented for `crate_serde::tests::Request` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer::::new` [INFO] [stdout] --> src/crate_serde.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer::::new` [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn new(host: impl Into, port: u16, handler: H) -> Arc { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crate_serde::tests::Request: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ the trait `SerializeMessage` is not implemented for `crate_serde::tests::Request` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] 122 | where [INFO] [stdout] 123 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Response: SerializeMessage` is not satisfied [INFO] [stdout] --> src/crate_serde.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] | ^^^^^^^^^ the trait `SerializeMessage` is not implemented for `Response` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `crate_serde::TCPServer` [INFO] [stdout] --> src/crate_serde.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct TCPServer [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TCPServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_inactivity_timeout` exists for struct `Arc impl Future {handle_requests}, ...>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/crate_serde.rs:411:18 [INFO] [stdout] | [INFO] [stdout] 231 | enum Request { [INFO] [stdout] | ------------ doesn't satisfy `crate_serde::tests::Request: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 255 | enum Response { [INFO] [stdout] | ------------- doesn't satisfy `Response: SerializeMessage` [INFO] [stdout] ... [INFO] [stdout] 410 | / TCPServer::new(HOST, PORT, handle_requests) [INFO] [stdout] 411 | | .with_inactivity_timeout(15) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/tcp_message_io-016a46faf75c9421.long-type-13676097217795361373.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `Response: SerializeMessage` [INFO] [stdout] `crate_serde::tests::Request: SerializeMessage` [INFO] [stdout] --> src/crate_serde.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl TCPServer [INFO] [stdout] | --------------------- [INFO] [stdout] 137 | where [INFO] [stdout] 138 | A: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 139 | Q: SerializeMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `SerializeMessage` must be implemented [INFO] [stdout] --> src/crate_serde.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait SerializeMessage: Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp_message_io` (lib test) due to 43 previous errors [INFO] running `Command { std: "docker" "inspect" "eaa7acd6f9f34e3d4089406d542f1f067af3532c5cd0b673525f47e7fd388bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa7acd6f9f34e3d4089406d542f1f067af3532c5cd0b673525f47e7fd388bc7", kill_on_drop: false }` [INFO] [stdout] eaa7acd6f9f34e3d4089406d542f1f067af3532c5cd0b673525f47e7fd388bc7