[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