[INFO] fetching crate channels-io 0.3.0... [INFO] testing channels-io-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate channels-io 0.3.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate channels-io 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 000348b9b0aac87eca8e773db4142d9c9bf7452637cb4b16b0edebfc43b10cfd [INFO] running `Command { std: "docker" "start" "-a" "000348b9b0aac87eca8e773db4142d9c9bf7452637cb4b16b0edebfc43b10cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "000348b9b0aac87eca8e773db4142d9c9bf7452637cb4b16b0edebfc43b10cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000348b9b0aac87eca8e773db4142d9c9bf7452637cb4b16b0edebfc43b10cfd", kill_on_drop: false }` [INFO] [stdout] 000348b9b0aac87eca8e773db4142d9c9bf7452637cb4b16b0edebfc43b10cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec3b802be58d6b5d523b17f6e402f332e3aed3bdadeeeddeca602f28d99ccf5 [INFO] running `Command { std: "docker" "start" "-a" "3ec3b802be58d6b5d523b17f6e402f332e3aed3bdadeeeddeca602f28d99ccf5", kill_on_drop: false }` [INFO] [stderr] Compiling channels-io v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling channels-macros v0.1.0 [INFO] [stderr] Compiling syn v2.0.110 [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.32s [INFO] running `Command { std: "docker" "inspect" "3ec3b802be58d6b5d523b17f6e402f332e3aed3bdadeeeddeca602f28d99ccf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec3b802be58d6b5d523b17f6e402f332e3aed3bdadeeeddeca602f28d99ccf5", kill_on_drop: false }` [INFO] [stdout] 3ec3b802be58d6b5d523b17f6e402f332e3aed3bdadeeeddeca602f28d99ccf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4118b3221f7af6ee23a6259dc7f3e899fa142132c95fda330b2979ab2cab210f [INFO] running `Command { std: "docker" "start" "-a" "4118b3221f7af6ee23a6259dc7f3e899fa142132c95fda330b2979ab2cab210f", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [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 futures-util v0.3.31 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling channels-io v0.3.0 (/opt/rustwide/workdir) [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 19.32s [INFO] running `Command { std: "docker" "inspect" "4118b3221f7af6ee23a6259dc7f3e899fa142132c95fda330b2979ab2cab210f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4118b3221f7af6ee23a6259dc7f3e899fa142132c95fda330b2979ab2cab210f", kill_on_drop: false }` [INFO] [stdout] 4118b3221f7af6ee23a6259dc7f3e899fa142132c95fda330b2979ab2cab210f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5caaaae21f96551f231045e5d7726ccd3128febdf7dc7b8105ed6a9987ca711e [INFO] running `Command { std: "docker" "start" "-a" "5caaaae21f96551f231045e5d7726ccd3128febdf7dc7b8105ed6a9987ca711e", kill_on_drop: false }` [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_io-7977d0cb0f3ee9f4) [INFO] [stderr] Doc-tests channels_io [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] [stdout] [INFO] [stdout] running 12 tests [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::IntoWrite (line 150) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) - compile ... FAILED [INFO] [stdout] test src/convert.rs - convert::Container (line 227) - compile ... FAILED [INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 182) - compile ... FAILED [INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 194) - compile fail ... ok [INFO] [stdout] test src/convert.rs - convert::IntoRead (line 86) - compile fail ... ok [INFO] [stdout] test src/convert.rs - convert::IntoWrite (line 121) - compile fail ... ok [INFO] [stdout] test src/convert.rs - convert::IntoRead (line 94) - compile fail ... ok [INFO] [stdout] test src/convert.rs - convert::IntoRead (line 13) - compile fail ... ok [INFO] [stdout] test src/convert.rs - convert::IntoRead (line 74) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::::new` [INFO] [stdout] --> src/convert.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(reader: impl IntoRead) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `MyStruct::::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::::new` [INFO] [stdout] --> src/convert.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(reader: impl IntoRead) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `MyStruct::::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::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::::new` [INFO] [stdout] --> src/convert.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn new(writer: impl IntoWrite) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `MyStruct::::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::::new` [INFO] [stdout] --> src/convert.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn new(writer: impl IntoWrite) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `MyStruct::::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(writer: impl IntoWrite) -> 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(writer: impl IntoWrite) -> 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(writer: impl IntoWrite) -> 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::>(&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::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::::new` [INFO] [stdout] --> src/convert.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn new(reader: impl IntoRead) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `MyStruct::::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 = 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] ---- 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(writer: impl IntoWrite) { /* ... */ } [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(writer: impl IntoWrite) { /* ... */ } [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::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(reader: impl IntoRead) { /* ... */ } [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(reader: impl IntoRead) { /* ... */ } [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] [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.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5caaaae21f96551f231045e5d7726ccd3128febdf7dc7b8105ed6a9987ca711e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5caaaae21f96551f231045e5d7726ccd3128febdf7dc7b8105ed6a9987ca711e", kill_on_drop: false }` [INFO] [stdout] 5caaaae21f96551f231045e5d7726ccd3128febdf7dc7b8105ed6a9987ca711e