[INFO] fetching crate channels 0.13.0... [INFO] testing channels-0.13.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate channels 0.13.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate channels 0.13.0 [INFO] finished tweaking crates.io crate channels 0.13.0 [INFO] tweaked toml for crates.io crate channels 0.13.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate channels 0.13.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 119 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04a42a9739dc9a2757195c208ac12bfc3aad54f31046a303a5cc1c6dafab7219 [INFO] running `Command { std: "docker" "start" "-a" "04a42a9739dc9a2757195c208ac12bfc3aad54f31046a303a5cc1c6dafab7219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04a42a9739dc9a2757195c208ac12bfc3aad54f31046a303a5cc1c6dafab7219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a42a9739dc9a2757195c208ac12bfc3aad54f31046a303a5cc1c6dafab7219", kill_on_drop: false }` [INFO] [stdout] 04a42a9739dc9a2757195c208ac12bfc3aad54f31046a303a5cc1c6dafab7219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17d7cefa24e13345f4e5cceeafea4d1200d7eb4809c5c7aba71e2c3c9df734f7 [INFO] running `Command { std: "docker" "start" "-a" "17d7cefa24e13345f4e5cceeafea4d1200d7eb4809c5c7aba71e2c3c9df734f7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling channels-io v0.3.0 [INFO] [stderr] Compiling channels-macros v0.1.0 [INFO] [stderr] Compiling channels-packet v0.2.0 [INFO] [stderr] Compiling channels v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling channels-serdes v0.2.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stdout] warning: unused import: `Statistics` [INFO] [stdout] --> src/receiver/mod.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::statistics::{StatIO, Statistics}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statistics` [INFO] [stdout] --> src/sender/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::statistics::{StatIO, Statistics}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.60s [INFO] running `Command { std: "docker" "inspect" "17d7cefa24e13345f4e5cceeafea4d1200d7eb4809c5c7aba71e2c3c9df734f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d7cefa24e13345f4e5cceeafea4d1200d7eb4809c5c7aba71e2c3c9df734f7", kill_on_drop: false }` [INFO] [stdout] 17d7cefa24e13345f4e5cceeafea4d1200d7eb4809c5c7aba71e2c3c9df734f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad829405812f938bffc5be5f0caa7e26a129e0882e2ec83a8ea2af2b7efe850d [INFO] running `Command { std: "docker" "start" "-a" "ad829405812f938bffc5be5f0caa7e26a129e0882e2ec83a8ea2af2b7efe850d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling channels-io v0.3.0 [INFO] [stderr] Compiling channels-packet v0.2.0 [INFO] [stderr] Compiling channels v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Statistics` [INFO] [stdout] --> src/receiver/mod.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::statistics::{StatIO, Statistics}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statistics` [INFO] [stdout] --> src/sender/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::statistics::{StatIO, Statistics}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] warning: unused import: `Statistics` [INFO] [stdout] --> src/receiver/mod.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::statistics::{StatIO, Statistics}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statistics` [INFO] [stdout] --> src/sender/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::statistics::{StatIO, Statistics}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.11s [INFO] running `Command { std: "docker" "inspect" "ad829405812f938bffc5be5f0caa7e26a129e0882e2ec83a8ea2af2b7efe850d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad829405812f938bffc5be5f0caa7e26a129e0882e2ec83a8ea2af2b7efe850d", kill_on_drop: false }` [INFO] [stdout] ad829405812f938bffc5be5f0caa7e26a129e0882e2ec83a8ea2af2b7efe850d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4da91d80d2fdd41ce28a56a1ce34a5ff157a03631a545f6f6e8d98fd75c955df [INFO] running `Command { std: "docker" "start" "-a" "4da91d80d2fdd41ce28a56a1ce34a5ff157a03631a545f6f6e8d98fd75c955df", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Statistics` [INFO] [stderr] --> src/receiver/mod.rs:11:33 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::statistics::{StatIO, Statistics}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Statistics` [INFO] [stderr] --> src/sender/mod.rs:14:33 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::statistics::{StatIO, Statistics}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `channels` (lib) generated 2 warnings (run `cargo fix --lib -p channels` to apply 2 suggestions) [INFO] [stderr] warning: `channels` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/channels-ec11ff0e2d7e695b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests channels [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/lib.rs - channel (line 39) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Builder::reader (line 416) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::with_deserializer (line 90) - compile ... ok [INFO] [stdout] test src/lib.rs - channel (line 51) - compile ... FAILED [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::new (line 59) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Builder::new (line 382) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::builder (line 31) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::incoming (line 150) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::incoming (line 164) - compile ... FAILED [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::recv (line 243) - compile ... FAILED [INFO] [stdout] test src/receiver/mod.rs - receiver::Builder::deserializer (line 456) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::new (line 68) - compile ... FAILED [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::config (line 124) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 60) - compile ... FAILED [INFO] [stdout] test src/receiver/mod.rs - receiver::Receiver::recv_blocking (line 285) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Builder::new (line 337) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Builder::build (line 505) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Sender::new (line 71) - compile ... FAILED [INFO] [stdout] test src/sender/mod.rs - sender::Sender::with_serializer (line 93) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Builder::writer (line 383) - compile ... FAILED [INFO] [stdout] test src/sender/mod.rs - sender::Builder::writer (line 371) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Builder::reader (line 428) - compile ... FAILED [INFO] [stdout] test src/sender/mod.rs - sender::Builder::config (line 437) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Sender::config (line 127) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Builder::build (line 456) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Sender::builder (line 34) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Builder::serializer (line 411) - compile ... ok [INFO] [stdout] test src/receiver/mod.rs - receiver::Builder::config (line 486) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Sender::new (line 62) - compile ... ok [INFO] [stdout] test src/sender/mod.rs - sender::Sender::send (line 220) - compile ... FAILED [INFO] [stdout] test src/sender/mod.rs - sender::Sender::send_blocking (line 272) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - channel (line 51) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::net::tcp::OwnedReadHalf: IntoRead<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut tx, mut rx) = channels::channel(r, w); [INFO] [stdout] | ----------------- ^ the trait `IntoRead<_>` is not implemented for `tokio::net::tcp::OwnedReadHalf` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn channel( [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 66 | r: impl io::IntoRead, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `channel` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::tcp::OwnedWriteHalf: IntoWrite<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut tx, mut rx) = channels::channel(r, w); [INFO] [stdout] | ----------------- ^ the trait `IntoWrite<_>` is not implemented for `tokio::net::tcp::OwnedWriteHalf` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn channel( [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 66 | r: impl io::IntoRead, [INFO] [stdout] 67 | w: impl io::IntoWrite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `channel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/receiver/mod.rs - receiver::Receiver::incoming (line 164) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::io::Empty: IntoRead<_>` is not satisfied [INFO] [stdout] --> src/receiver/mod.rs:169:51 [INFO] [stdout] | [INFO] [stdout] 7 | let mut rx = channels::Receiver::::new(reader); [INFO] [stdout] | ------------------------------------ ^^^^^^ the trait `IntoRead<_>` is not implemented for `tokio::io::Empty` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::Receiver::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/receiver/mod.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(reader: impl IntoRead) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Receiver::::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/receiver/mod.rs - receiver::Receiver::recv (line 243) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: IntoRead<_>` is not satisfied [INFO] [stdout] --> src/receiver/mod.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 9 | let mut rx = channels::Receiver::::new(stream); [INFO] [stdout] | ------------------------------------ ^^^^^^ the trait `IntoRead<_>` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::Receiver::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/receiver/mod.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(reader: impl IntoRead) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Receiver::::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/receiver/mod.rs - receiver::Receiver::new (line 68) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::io::Empty: IntoRead<_>` is not satisfied [INFO] [stdout] --> src/receiver/mod.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 8 | let rx = Receiver::::new(reader); [INFO] [stdout] | -------------------------- ^^^^^^ the trait `IntoRead<_>` is not implemented for `tokio::io::Empty` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::Receiver::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/receiver/mod.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(reader: impl IntoRead) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Receiver::::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 60) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut tx, mut rx) = channels::channel::(r, w); [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `Message` [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Message { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [INFO] [stdout] note: required by a bound in `channels::channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn channel( [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 70 | for<'de> T: serde::Serialize + serde::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `channel` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Message: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut tx, mut rx) = channels::channel::(r, w); [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Message` [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum Message { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 139 others [INFO] [stdout] note: required by a bound in `channels::channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn channel( [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 70 | for<'de> T: serde::Serialize + serde::Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `channel` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::tcp::OwnedReadHalf: IntoRead<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:76:63 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut tx, mut rx) = channels::channel::(r, w); [INFO] [stdout] | ---------------------------------- ^ the trait `IntoRead<_>` is not implemented for `tokio::net::tcp::OwnedReadHalf` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn channel( [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 66 | r: impl io::IntoRead, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `channel` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::tcp::OwnedWriteHalf: IntoWrite<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut tx, mut rx) = channels::channel::(r, w); [INFO] [stdout] | ---------------------------------- ^ the trait `IntoWrite<_>` is not implemented for `tokio::net::tcp::OwnedWriteHalf` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn channel( [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 66 | r: impl io::IntoRead, [INFO] [stdout] 67 | w: impl io::IntoWrite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `channel` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `recv` exists for struct `channels::Receiver`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 9 | enum Message { [INFO] [stdout] | ------------ doesn't satisfy `Message: Deserialize<'de>` [INFO] [stdout] ... [INFO] [stdout] 21 | match rx.recv().await.unwrap() { [INFO] [stdout] | ^^^^ method cannot be called on `channels::Receiver` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/channels-serdes-0.2.1/src/bincode.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Bincode {} [INFO] [stdout] | ------------------ doesn't satisfy `_: Deserializer` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Message: Deserialize<'de>` [INFO] [stdout] which is required by `Bincode: channels::channels_serdes::Deserializer` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `send` exists for struct `channels::Sender`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 9 | enum Message { [INFO] [stdout] | ------------ doesn't satisfy `Message: Serialize` [INFO] [stdout] ... [INFO] [stdout] 24 | tx.send(Message::Pong).await.unwrap(); [INFO] [stdout] | ^^^^ method cannot be called on `channels::Sender` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/channels-serdes-0.2.1/src/bincode.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Bincode {} [INFO] [stdout] | ------------------ doesn't satisfy `_: Serializer` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Message: Serialize` [INFO] [stdout] which is required by `Bincode: channels::channels_serdes::Serializer` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sender/mod.rs - sender::Sender::new (line 71) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::io::Sink: IntoWrite<_>` is not satisfied [INFO] [stdout] --> src/sender/mod.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 8 | let tx = Sender::::new(writer); [INFO] [stdout] | ------------------------ ^^^^^^ the trait `IntoWrite<_>` is not implemented for `tokio::io::Sink` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::Sender::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/sender/mod.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(writer: impl IntoWrite) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Sender::::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sender/mod.rs - sender::Builder::writer (line 383) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::io::Sink: IntoWrite<_>` is not satisfied [INFO] [stdout] --> src/sender/mod.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 9 | .writer(tokio::io::sink()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ the trait `IntoWrite<_>` is not implemented for `tokio::io::Sink` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::sender::Builder::::writer` [INFO] [stdout] --> /opt/rustwide/workdir/src/sender/mod.rs:395:16 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn writer( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 394 | self, [INFO] [stdout] 395 | writer: impl IntoWrite, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Builder::::writer` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/receiver/mod.rs - receiver::Builder::reader (line 428) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::io::Empty: IntoRead<_>` is not satisfied [INFO] [stdout] --> src/receiver/mod.rs:434:20 [INFO] [stdout] | [INFO] [stdout] 9 | .reader(tokio::io::empty()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ the trait `IntoRead<_>` is not implemented for `tokio::io::Empty` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::receiver::Builder::::reader` [INFO] [stdout] --> /opt/rustwide/workdir/src/receiver/mod.rs:440:16 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn reader( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 439 | self, [INFO] [stdout] 440 | reader: impl IntoRead, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Builder::::reader` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sender/mod.rs - sender::Sender::send (line 220) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: IntoWrite<_>` is not satisfied [INFO] [stdout] --> src/sender/mod.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 9 | let mut tx = channels::Sender::::new(stream); [INFO] [stdout] | ---------------------------------- ^^^^^^ the trait `IntoWrite<_>` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `channels::Sender::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/sender/mod.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(writer: impl IntoWrite) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Sender::::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 60) [INFO] [stdout] src/lib.rs - channel (line 51) [INFO] [stdout] src/receiver/mod.rs - receiver::Builder::reader (line 428) [INFO] [stdout] src/receiver/mod.rs - receiver::Receiver::incoming (line 164) [INFO] [stdout] src/receiver/mod.rs - receiver::Receiver::recv (line 243) [INFO] [stdout] src/receiver/mod.rs - receiver::Receiver::new (line 68) [INFO] [stdout] src/sender/mod.rs - sender::Builder::writer (line 383) [INFO] [stdout] src/sender/mod.rs - sender::Sender::send (line 220) [INFO] [stdout] src/sender/mod.rs - sender::Sender::new (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4da91d80d2fdd41ce28a56a1ce34a5ff157a03631a545f6f6e8d98fd75c955df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da91d80d2fdd41ce28a56a1ce34a5ff157a03631a545f6f6e8d98fd75c955df", kill_on_drop: false }` [INFO] [stdout] 4da91d80d2fdd41ce28a56a1ce34a5ff157a03631a545f6f6e8d98fd75c955df