[INFO] fetching crate fixed-buffer 1.0.2...
[INFO] testing fixed-buffer-1.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate fixed-buffer 1.0.2 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate fixed-buffer 1.0.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate fixed-buffer 1.0.2
[INFO] tweaked toml for crates.io crate fixed-buffer 1.0.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate fixed-buffer 1.0.2 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] crate crates.io crate fixed-buffer 1.0.2 already has a lockfile, it will not be regenerated
[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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 97e85308490323d06367de2cfb4998afef6d028981ffe54a11fcdf3d959f575b
[INFO] running `Command { std: "docker" "start" "-a" "97e85308490323d06367de2cfb4998afef6d028981ffe54a11fcdf3d959f575b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97e85308490323d06367de2cfb4998afef6d028981ffe54a11fcdf3d959f575b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97e85308490323d06367de2cfb4998afef6d028981ffe54a11fcdf3d959f575b", kill_on_drop: false }`
[INFO] [stdout] 97e85308490323d06367de2cfb4998afef6d028981ffe54a11fcdf3d959f575b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dd7eb74db9e73ef132259b9da04ad700aa5cade3d126bd0fa2d84736fe966fc5
[INFO] running `Command { std: "docker" "start" "-a" "dd7eb74db9e73ef132259b9da04ad700aa5cade3d126bd0fa2d84736fe966fc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling fixed-buffer v1.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "dd7eb74db9e73ef132259b9da04ad700aa5cade3d126bd0fa2d84736fe966fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd7eb74db9e73ef132259b9da04ad700aa5cade3d126bd0fa2d84736fe966fc5", kill_on_drop: false }`
[INFO] [stdout] dd7eb74db9e73ef132259b9da04ad700aa5cade3d126bd0fa2d84736fe966fc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0f07095aa05867cbb8cbd0a59a3c86355aaa3b6f0cf8f14967aace9bc6fb77bf
[INFO] running `Command { std: "docker" "start" "-a" "0f07095aa05867cbb8cbd0a59a3c86355aaa3b6f0cf8f14967aace9bc6fb77bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling safe-proc-macro2 v1.0.95
[INFO] [stderr]    Compiling value-bag v1.11.1
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling async-executor v1.13.2
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling safina-threadpool v0.2.5
[INFO] [stderr]    Compiling safe-quote v1.0.40
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling safina-sync v0.2.5
[INFO] [stderr]    Compiling async-fs v2.1.2
[INFO] [stderr]    Compiling safina-executor v0.3.4
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling safina-async-test-core v0.1.5
[INFO] [stderr]    Compiling safina-timer v0.1.13
[INFO] [stderr]    Compiling read-write-ext v0.1.1
[INFO] [stderr]    Compiling safina-async-test v0.1.14
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling polling v3.8.0
[INFO] [stderr]    Compiling async-io v2.4.1
[INFO] [stderr]    Compiling async-signal v0.2.11
[INFO] [stderr]    Compiling async-net v2.0.0
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-process v2.3.1
[INFO] [stderr]    Compiling async-std v1.13.1
[INFO] [stderr]    Compiling smol v2.0.2
[INFO] [stderr]    Compiling fixed-buffer v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:7:40
[INFO] [stdout]     |
[INFO] [stdout]   7 |     assert_eq!(0, FixedBuf::from(*b"").read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<0>: AsyncReadExt` or `FixedBuf<0>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<0>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<0>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]  --> tests/futures_io.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |     assert_eq!(0, FixedBuf::from(*b"").read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:10:27
[INFO] [stdout]     |
[INFO] [stdout]  10 |         assert_eq!(0, buf.read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<1>: AsyncReadExt` or `FixedBuf<1>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<1>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<1>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 |         assert_eq!(0, buf.read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:16:27
[INFO] [stdout]     |
[INFO] [stdout]  16 |         assert_eq!(0, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<0>: AsyncReadExt` or `FixedBuf<0>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<0>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<0>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |         assert_eq!(0, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:23:27
[INFO] [stdout]     |
[INFO] [stdout]  23 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<1>: AsyncReadExt` or `FixedBuf<1>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<1>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<1>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:30:27
[INFO] [stdout]     |
[INFO] [stdout]  30 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<2>: AsyncReadExt` or `FixedBuf<2>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<2>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<2>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:37:27
[INFO] [stdout]     |
[INFO] [stdout]  37 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<1>: AsyncReadExt` or `FixedBuf<1>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<1>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<1>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:44:27
[INFO] [stdout]     |
[INFO] [stdout]  44 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<2>: AsyncReadExt` or `FixedBuf<2>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<2>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<2>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:51:27
[INFO] [stdout]     |
[INFO] [stdout]  51 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncReadExt` or `FixedBuf<3>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:60:23
[INFO] [stdout]     |
[INFO] [stdout]  60 |     assert_eq!(2, buf.write(b"ab").await.unwrap());
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     assert_eq!(2, buf.write(b"ab").await.unwrap());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:61:23
[INFO] [stdout]     |
[INFO] [stdout]  61 |     assert_eq!(1, buf.write(b"cd").await.unwrap()); // Fills buffer, "d" not written.
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |     assert_eq!(1, buf.write(b"cd").await.unwrap()); // Fills buffer, "d" not written.
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:63:9
[INFO] [stdout]     |
[INFO] [stdout]  63 |     buf.write(b"d").await.unwrap_err(); // Error, buffer is full.
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     buf.write(b"d").await.unwrap_err(); // Error, buffer is full.
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:69:23
[INFO] [stdout]     |
[INFO] [stdout]  69 |     assert_eq!(1, buf.write(b"a").await.unwrap());
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |     assert_eq!(1, buf.write(b"a").await.unwrap());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:6:40
[INFO] [stdout]     |
[INFO] [stdout]   6 |     assert_eq!(0, FixedBuf::from(*b"").read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]     |                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<0>: AsyncReadExt` or `FixedBuf<0>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<0>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<0>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `flush` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:70:9
[INFO] [stdout]     |
[INFO] [stdout]  70 |     buf.flush().await.unwrap();
[INFO] [stdout]     |         ^^^^^ method cannot be called on `FixedBuf<3>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     buf.flush().await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `close` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/futures_io.rs:77:9
[INFO] [stdout]     |
[INFO] [stdout]  77 |     buf.close().await.unwrap();
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/futures_io.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     buf.close().await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]  --> tests/tokio.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     assert_eq!(0, FixedBuf::from(*b"").read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fixed-buffer` (test "futures_io") due to 28 previous errors
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:9:27
[INFO] [stdout]     |
[INFO] [stdout]   9 |         assert_eq!(0, buf.read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<1>: AsyncReadExt` or `FixedBuf<1>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<1>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<1>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]  --> tests/tokio.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         assert_eq!(0, buf.read(&mut [b'x'; 0]).await.unwrap());
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:15:27
[INFO] [stdout]     |
[INFO] [stdout]  15 |         assert_eq!(0, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<0>: AsyncReadExt` or `FixedBuf<0>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<0>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<0>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:15:23
[INFO] [stdout]    |
[INFO] [stdout] 15 |         assert_eq!(0, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:22:27
[INFO] [stdout]     |
[INFO] [stdout]  22 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<1>: AsyncReadExt` or `FixedBuf<1>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<1>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<1>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:29:27
[INFO] [stdout]     |
[INFO] [stdout]  29 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<2>: AsyncReadExt` or `FixedBuf<2>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<2>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<2>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:36:27
[INFO] [stdout]     |
[INFO] [stdout]  36 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<1>: AsyncReadExt` or `FixedBuf<1>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<1>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<1>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_eq!(1, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:43:27
[INFO] [stdout]     |
[INFO] [stdout]  43 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<2>: AsyncReadExt` or `FixedBuf<2>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<2>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<2>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:50:27
[INFO] [stdout]     |
[INFO] [stdout]  50 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncReadExt` or `FixedBuf<3>: AsyncRead`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncRead`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncReadExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_eq!(2, buf.read(&mut data).await.unwrap());
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:59:23
[INFO] [stdout]     |
[INFO] [stdout]  59 |     assert_eq!(2, buf.write(b"ab").await.unwrap());
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |     assert_eq!(2, buf.write(b"ab").await.unwrap());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:60:23
[INFO] [stdout]     |
[INFO] [stdout]  60 |     assert_eq!(1, buf.write(b"cd").await.unwrap()); // Fills buffer, "d" not written.
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     assert_eq!(1, buf.write(b"cd").await.unwrap()); // Fills buffer, "d" not written.
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout]  62 |     buf.write(b"d").await.unwrap_err(); // Error, buffer is full.
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     buf.write(b"d").await.unwrap_err(); // Error, buffer is full.
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fixed-buffer` (test "tokio") due to 28 previous errors
[INFO] [stdout] error[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:68:23
[INFO] [stdout]     |
[INFO] [stdout]  68 |     assert_eq!(1, buf.write(b"a").await.unwrap());
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     assert_eq!(1, buf.write(b"a").await.unwrap());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `flush` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:69:9
[INFO] [stdout]     |
[INFO] [stdout]  69 |     buf.flush().await.unwrap();
[INFO] [stdout]     |         ^^^^^ method cannot be called on `FixedBuf<3>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     buf.flush().await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `shutdown` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/tokio.rs:76:9
[INFO] [stdout]     |
[INFO] [stdout]  76 |     buf.shutdown().await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^ method cannot be called on `FixedBuf<3>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:304:1
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct FixedBuf<const SIZE: usize> {
[INFO] [stdout]     | -------------------------------------- doesn't satisfy `FixedBuf<3>: AsyncWriteExt` or `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FixedBuf<3>: AsyncWrite`
[INFO] [stdout]             which is required by `FixedBuf<3>: AsyncWriteExt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> tests/tokio.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     buf.shutdown().await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0f07095aa05867cbb8cbd0a59a3c86355aaa3b6f0cf8f14967aace9bc6fb77bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f07095aa05867cbb8cbd0a59a3c86355aaa3b6f0cf8f14967aace9bc6fb77bf", kill_on_drop: false }`
[INFO] [stdout] 0f07095aa05867cbb8cbd0a59a3c86355aaa3b6f0cf8f14967aace9bc6fb77bf
