[INFO] fetching crate channels-io 0.3.0...
[INFO] testing channels-io-0.3.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate channels-io 0.3.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate channels-io 0.3.0
[INFO] finished tweaking crates.io crate channels-io 0.3.0
[INFO] tweaked toml for crates.io crate channels-io 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate channels-io 0.3.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 94 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-io v0.6.1 (available: v0.7.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-net v2.0.0
[INFO] [stderr]   Downloaded core2 v0.4.0
[INFO] [stderr]   Downloaded channels-macros v0.1.0
[INFO] [stderr]   Downloaded embedded-io v0.6.1
[INFO] [stderr]   Downloaded smol v2.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 010b4b7c2aa59ab4bc9a560f46402b3c6358ce3b0bdb3292fd7f241ca487c44a
[INFO] running `Command { std: "docker" "start" "-a" "010b4b7c2aa59ab4bc9a560f46402b3c6358ce3b0bdb3292fd7f241ca487c44a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "010b4b7c2aa59ab4bc9a560f46402b3c6358ce3b0bdb3292fd7f241ca487c44a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "010b4b7c2aa59ab4bc9a560f46402b3c6358ce3b0bdb3292fd7f241ca487c44a", kill_on_drop: false }`
[INFO] [stdout] 010b4b7c2aa59ab4bc9a560f46402b3c6358ce3b0bdb3292fd7f241ca487c44a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65e806dcd545e62508e85325572f7219150fa2b7ea6e553ceb1157b3f662f35a
[INFO] running `Command { std: "docker" "start" "-a" "65e806dcd545e62508e85325572f7219150fa2b7ea6e553ceb1157b3f662f35a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling channels-io v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling channels-macros v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.51s
[INFO] running `Command { std: "docker" "inspect" "65e806dcd545e62508e85325572f7219150fa2b7ea6e553ceb1157b3f662f35a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65e806dcd545e62508e85325572f7219150fa2b7ea6e553ceb1157b3f662f35a", kill_on_drop: false }`
[INFO] [stdout] 65e806dcd545e62508e85325572f7219150fa2b7ea6e553ceb1157b3f662f35a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d69c67bf1a64fa0cf339161f2c9f2499b743aefcce9e56f2a5611103580e0b3d
[INFO] running `Command { std: "docker" "start" "-a" "d69c67bf1a64fa0cf339161f2c9f2499b743aefcce9e56f2a5611103580e0b3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling value-bag v1.12.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]    Compiling async-lock v3.4.2
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling blocking v1.6.2
[INFO] [stderr]    Compiling async-executor v1.13.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling channels-io v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling polling v3.11.0
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-std v1.13.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 33.79s
[INFO] running `Command { std: "docker" "inspect" "d69c67bf1a64fa0cf339161f2c9f2499b743aefcce9e56f2a5611103580e0b3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d69c67bf1a64fa0cf339161f2c9f2499b743aefcce9e56f2a5611103580e0b3d", kill_on_drop: false }`
[INFO] [stdout] d69c67bf1a64fa0cf339161f2c9f2499b743aefcce9e56f2a5611103580e0b3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 071234c4573893f4ba5d72d5f303f012d003ca2438b1a22fb32a6379b2f69635
[INFO] running `Command { std: "docker" "start" "-a" "071234c4573893f4ba5d72d5f303f012d003ca2438b1a22fb32a6379b2f69635", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/channels_io-e18a1cb0cac6e73d)
[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_io
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test src/convert.rs - convert::IntoRead (line 74) - compile ... FAILED
[INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 150) - compile ... FAILED
[INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 121) - compile fail ... ok
[INFO] [stdout] test src/convert.rs - convert::IntoRead (line 86) - compile fail ... ok
[INFO] [stdout] test src/convert.rs - convert::IntoRead (line 13) - compile fail ... ok
[INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 202) - compile fail ... ok
[INFO] [stdout] test src/convert.rs - convert::IntoRead (line 42) - compile ... FAILED
[INFO] [stdout] test src/convert.rs - convert::IntoRead (line 94) - compile fail ... ok
[INFO] [stdout] test src/lib.rs - (line 9) - compile ... FAILED
[INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 194) - compile fail ... ok
[INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 182) - compile ... FAILED
[INFO] [stdout] test src/convert.rs - convert::Container (line 227) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/convert.rs - convert::IntoRead (line 74) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `std::io::Empty: IntoRead<_>` is not satisfied
[INFO] [stdout]   --> src/convert.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 | let _ = sync_only(std::io::empty());
[INFO] [stdout]    |         --------- ^^^^^^^^^^^^^^^^ the trait `IntoRead<_>` is not implemented for `std::io::Empty`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `sync_only`
[INFO] [stdout]   --> src/convert.rs:78:36
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn sync_only<R: Read>(reader: impl IntoRead<R>) { /* ... */ }
[INFO] [stdout]    |                                    ^^^^^^^^^^^ required by this bound in `sync_only`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `tokio::io::Empty: IntoRead<_>` is not satisfied
[INFO] [stdout]   --> src/convert.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 | let _ = async_only(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 `async_only`
[INFO] [stdout]   --> src/convert.rs:79:42
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn async_only<R: AsyncRead>(reader: impl IntoRead<R>) { /* ... */ }
[INFO] [stdout]    |                                          ^^^^^^^^^^^ required by this bound in `async_only`
[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/convert.rs - convert::IntoWrite (line 150) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `std::io::Empty: IntoWrite<_>` is not satisfied
[INFO] [stdout]    --> src/convert.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 | let _ = MyStruct::new(std::io::empty());
[INFO] [stdout]     |         ------------- ^^^^^^^^^^^^^^^^ the trait `IntoWrite<_>` is not implemented for `std::io::Empty`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `MyStruct::<R>::new`
[INFO] [stdout]    --> src/convert.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn new(writer: impl IntoWrite<R>) -> Self {
[INFO] [stdout]     |                             ^^^^^^^^^^^^ required by this bound in `MyStruct::<R>::new`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `tokio::io::Empty: IntoWrite<_>` is not satisfied
[INFO] [stdout]    --> src/convert.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 | let _ = MyStruct::new(tokio::io::empty());
[INFO] [stdout]     |         ------------- ^^^^^^^^^^^^^^^^^^ the trait `IntoWrite<_>` 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 `MyStruct::<R>::new`
[INFO] [stdout]    --> src/convert.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn new(writer: impl IntoWrite<R>) -> Self {
[INFO] [stdout]     |                             ^^^^^^^^^^^^ required by this bound in `MyStruct::<R>::new`
[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/convert.rs - convert::IntoRead (line 42) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `std::io::Empty: IntoRead<_>` is not satisfied
[INFO] [stdout]   --> src/convert.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 | let _ = MyStruct::new(std::io::empty());
[INFO] [stdout]    |         ------------- ^^^^^^^^^^^^^^^^ the trait `IntoRead<_>` is not implemented for `std::io::Empty`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `MyStruct::<R>::new`
[INFO] [stdout]   --> src/convert.rs:51:29
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn new(reader: impl IntoRead<R>) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^^ required by this bound in `MyStruct::<R>::new`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `tokio::io::Empty: IntoRead<_>` is not satisfied
[INFO] [stdout]   --> src/convert.rs:70:23
[INFO] [stdout]    |
[INFO] [stdout] 70 | let _ = MyStruct::new(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 `MyStruct::<R>::new`
[INFO] [stdout]   --> src/convert.rs:51:29
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn new(reader: impl IntoRead<R>) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^^^ required by this bound in `MyStruct::<R>::new`
[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/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `channels_io::Futures`
[INFO] [stdout]   --> src/lib.rs:11:57
[INFO] [stdout]    |
[INFO] [stdout] 11 | use channels_io::{IntoWrite, AsyncWrite, AsyncWriteExt, Futures};
[INFO] [stdout]    |                                                         ^^^^^^^ no `Futures` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&mut tokio::fs::File: IntoWrite<_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     write_data(&mut file).await.unwrap();
[INFO] [stdout]    |     ---------- ^^^^^^^^^ the trait `IntoWrite<_>` is not implemented for `&mut tokio::fs::File`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `write_data`
[INFO] [stdout]   --> src/lib.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn write_data<W>(writer: impl IntoWrite<W>) -> Result<(), W::Error>
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ required by this bound in `write_data`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&mut tokio::fs::File: IntoWrite<_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     write_data(&mut file).await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ the trait `IntoWrite<_>` is not implemented for `&mut tokio::fs::File`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `write_data`
[INFO] [stdout]   --> src/lib.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn write_data<W>(writer: impl IntoWrite<W>) -> Result<(), W::Error>
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ required by this bound in `write_data`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&mut tokio::fs::File: IntoWrite<_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |     write_data(&mut file).await.unwrap();
[INFO] [stdout]    |                           ^^^^^ the trait `IntoWrite<_>` is not implemented for `&mut tokio::fs::File`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `write_data`
[INFO] [stdout]   --> src/lib.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn write_data<W>(writer: impl IntoWrite<W>) -> Result<(), W::Error>
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ required by this bound in `write_data`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     write_data::<Futures<_>>(&mut file).await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/convert.rs - convert::IntoWrite (line 182) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `std::io::Sink: IntoWrite<_>` is not satisfied
[INFO] [stdout]    --> src/convert.rs:189:19
[INFO] [stdout]     |
[INFO] [stdout] 189 | let _ = sync_only(std::io::sink());
[INFO] [stdout]     |         --------- ^^^^^^^^^^^^^^^ the trait `IntoWrite<_>` is not implemented for `std::io::Sink`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `sync_only`
[INFO] [stdout]    --> src/convert.rs:186:37
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn sync_only<W: Write>(writer: impl IntoWrite<W>) { /* ... */ }
[INFO] [stdout]     |                                     ^^^^^^^^^^^^ required by this bound in `sync_only`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `tokio::io::Sink: IntoWrite<_>` is not satisfied
[INFO] [stdout]    --> src/convert.rs:190:20
[INFO] [stdout]     |
[INFO] [stdout] 190 | let _ = async_only(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 `async_only`
[INFO] [stdout]    --> src/convert.rs:187:43
[INFO] [stdout]     |
[INFO] [stdout] 187 | fn async_only<W: AsyncWrite>(writer: impl IntoWrite<W>) { /* ... */ }
[INFO] [stdout]     |                                           ^^^^^^^^^^^^ required by this bound in `async_only`
[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/convert.rs - convert::Container (line 227) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `channels_io::Std`
[INFO] [stdout]    --> src/convert.rs:230:29
[INFO] [stdout]     |
[INFO] [stdout] 230 | use channels_io::{IntoRead, Std, Read, Container};
[INFO] [stdout]     |                             ^^^ no `Std` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::io::Empty: IntoRead<_>` is not satisfied
[INFO] [stdout]    --> src/convert.rs:252:29
[INFO] [stdout]     |
[INFO] [stdout] 252 | let mut foo = MyStruct::new(empty());
[INFO] [stdout]     |               ------------- ^^^^^^^ the trait `IntoRead<_>` is not implemented for `std::io::Empty`
[INFO] [stdout]     |               |
[INFO] [stdout]     |               required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `MyStruct::<R>::new`
[INFO] [stdout]    --> src/convert.rs:237:29
[INFO] [stdout]     |
[INFO] [stdout] 237 |     pub fn new(reader: impl IntoRead<R>) -> Self {
[INFO] [stdout]     |                             ^^^^^^^^^^^ required by this bound in `MyStruct::<R>::new`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `MyStruct<_>`
[INFO] [stdout]    --> src/convert.rs:252:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | let mut foo = MyStruct::new(empty());
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 260 | let reader: Empty = foo.reader.into_inner();
[INFO] [stdout]     |                     ---------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `foo` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 252 | let mut foo: MyStruct<R> = MyStruct::new(empty());
[INFO] [stdout]     |            +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/convert.rs - convert::Container (line 227)
[INFO] [stdout]     src/convert.rs - convert::IntoRead (line 42)
[INFO] [stdout]     src/convert.rs - convert::IntoRead (line 74)
[INFO] [stdout]     src/convert.rs - convert::IntoWrite (line 150)
[INFO] [stdout]     src/convert.rs - convert::IntoWrite (line 182)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "071234c4573893f4ba5d72d5f303f012d003ca2438b1a22fb32a6379b2f69635", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "071234c4573893f4ba5d72d5f303f012d003ca2438b1a22fb32a6379b2f69635", kill_on_drop: false }`
[INFO] [stdout] 071234c4573893f4ba5d72d5f303f012d003ca2438b1a22fb32a6379b2f69635
