[INFO] fetching crate fixed-buffer 1.0.1... [INFO] testing fixed-buffer-1.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fixed-buffer 1.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fixed-buffer 1.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fixed-buffer 1.0.1 [INFO] tweaked toml for crates.io crate fixed-buffer 1.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fixed-buffer 1.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fixed-buffer 1.0.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded safina-sync v0.2.4 [INFO] [stderr] Downloaded safina-threadpool v0.2.4 [INFO] [stderr] Downloaded safe-proc-macro2 v1.0.67 [INFO] [stderr] Downloaded safe-quote v1.0.15 [INFO] [stderr] Downloaded safina-executor v0.3.3 [INFO] [stderr] Downloaded safina-timer v0.1.11 [INFO] [stderr] Downloaded async-std v1.13.0 [INFO] [stderr] Downloaded safina-async-test v0.1.13 [INFO] [stderr] Downloaded read-write-ext v0.1.1 [INFO] [stderr] Downloaded safina-async-test-core v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 549136bec9af49e32e8235c48e43577812485ad3c84661953878c9b725219fcf [INFO] running `Command { std: "docker" "start" "-a" "549136bec9af49e32e8235c48e43577812485ad3c84661953878c9b725219fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "549136bec9af49e32e8235c48e43577812485ad3c84661953878c9b725219fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549136bec9af49e32e8235c48e43577812485ad3c84661953878c9b725219fcf", kill_on_drop: false }` [INFO] [stdout] 549136bec9af49e32e8235c48e43577812485ad3c84661953878c9b725219fcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1fa698e2d77fde8fca8b05508b12c415c31921af11dfcfc795467cc78268563f [INFO] running `Command { std: "docker" "start" "-a" "1fa698e2d77fde8fca8b05508b12c415c31921af11dfcfc795467cc78268563f", kill_on_drop: false }` [INFO] [stderr] Compiling fixed-buffer v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "1fa698e2d77fde8fca8b05508b12c415c31921af11dfcfc795467cc78268563f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa698e2d77fde8fca8b05508b12c415c31921af11dfcfc795467cc78268563f", kill_on_drop: false }` [INFO] [stdout] 1fa698e2d77fde8fca8b05508b12c415c31921af11dfcfc795467cc78268563f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e083de6ca44c47502a67ece7e880a1a854954656113f54c08985672bf066ea38 [INFO] running `Command { std: "docker" "start" "-a" "e083de6ca44c47502a67ece7e880a1a854954656113f54c08985672bf066ea38", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling safe-proc-macro2 v1.0.67 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling safina-threadpool v0.2.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling safe-quote v1.0.15 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling safina-sync v0.2.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling safina-executor v0.3.3 [INFO] [stderr] Compiling safina-async-test-core v0.1.4 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling safina-timer v0.1.11 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling safina-async-test v0.1.13 [INFO] [stderr] Compiling read-write-ext v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling fixed-buffer v1.0.1 (/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/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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 `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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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 `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<0>: ReadExt` or `FixedBuf<0>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<0>: ReadExt` [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 `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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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 `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<1>: ReadExt` or `FixedBuf<1>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<1>: ReadExt` [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 `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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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 `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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 `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<0>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<0>: ReadExt` or `FixedBuf<0>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<0>: ReadExt` [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 `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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<1>: ReadExt` or `FixedBuf<1>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<1>: ReadExt` [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 `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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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 `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<2>: ReadExt` or `FixedBuf<2>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<2>: ReadExt` [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 `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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<1>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<1>: ReadExt` or `FixedBuf<1>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<1>: ReadExt` [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 `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/smol.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `read` exists for struct `FixedBuf<2>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<2>: ReadExt` or `FixedBuf<2>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<2>: ReadExt` [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 `read` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<3>: ReadExt` or `FixedBuf<3>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<3>: ReadExt` [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 `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<3>: WriteExt` or `FixedBuf<3>: async_std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3>: async_std::io::Write` [INFO] [stdout] which is required by `FixedBuf<3>: WriteExt` [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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] For more information about this error, try `rustc --explain E0599`. [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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<3>: WriteExt` or `FixedBuf<3>: async_std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3>: async_std::io::Write` [INFO] [stdout] which is required by `FixedBuf<3>: WriteExt` [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[E0599]: the method `write` exists for struct `FixedBuf<3>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/async_std.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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- doesn't satisfy `FixedBuf<3>: WriteExt` or `FixedBuf<3>: async_std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3>: async_std::io::Write` [INFO] [stdout] which is required by `FixedBuf<3>: WriteExt` [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fixed-buffer` (test "async_std") due to 11 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: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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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] [stderr] error: could not compile `fixed-buffer` (test "smol") due to 11 previous errors [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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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] For more information about this error, try `rustc --explain E0599`. [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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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] [stderr] error: could not compile `fixed-buffer` (test "futures_io") due to 14 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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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[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:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct FixedBuf { [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fixed-buffer` (test "tokio") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "e083de6ca44c47502a67ece7e880a1a854954656113f54c08985672bf066ea38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e083de6ca44c47502a67ece7e880a1a854954656113f54c08985672bf066ea38", kill_on_drop: false }` [INFO] [stdout] e083de6ca44c47502a67ece7e880a1a854954656113f54c08985672bf066ea38