[INFO] fetching crate fixed-buffer 1.0.2... [INFO] testing fixed-buffer-1.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate fixed-buffer 1.0.2 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fixed-buffer 1.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded safina-timer v0.1.13 [INFO] [stderr] Downloaded polling v3.8.0 [INFO] [stderr] Downloaded read-write-ext v0.1.1 [INFO] [stderr] Downloaded async-process v2.3.1 [INFO] [stderr] Downloaded safina-sync v0.2.5 [INFO] [stderr] Downloaded safina-executor v0.3.4 [INFO] [stderr] Downloaded safe-quote v1.0.40 [INFO] [stderr] Downloaded safina-threadpool v0.2.5 [INFO] [stderr] Downloaded safina-async-test-core v0.1.5 [INFO] [stderr] Downloaded safina-async-test v0.1.14 [INFO] [stderr] Downloaded safe-proc-macro2 v1.0.95 [INFO] [stderr] Downloaded async-io v2.4.1 [INFO] [stderr] Downloaded smol v2.0.2 [INFO] [stderr] Downloaded async-signal v0.2.11 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded async-fs v2.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29f9c42cfadea65ffdd3307b5ccba8e0e85db99d7fd0782c29c2452669cf429b [INFO] running `Command { std: "docker" "start" "-a" "29f9c42cfadea65ffdd3307b5ccba8e0e85db99d7fd0782c29c2452669cf429b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29f9c42cfadea65ffdd3307b5ccba8e0e85db99d7fd0782c29c2452669cf429b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f9c42cfadea65ffdd3307b5ccba8e0e85db99d7fd0782c29c2452669cf429b", kill_on_drop: false }` [INFO] [stdout] 29f9c42cfadea65ffdd3307b5ccba8e0e85db99d7fd0782c29c2452669cf429b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9dbe3c81722a98de846d3bd9f042db665b3b2dc2b73767a1e7c13e50f9d66c3 [INFO] running `Command { std: "docker" "start" "-a" "a9dbe3c81722a98de846d3bd9f042db665b3b2dc2b73767a1e7c13e50f9d66c3", 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.38s [INFO] running `Command { std: "docker" "inspect" "a9dbe3c81722a98de846d3bd9f042db665b3b2dc2b73767a1e7c13e50f9d66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9dbe3c81722a98de846d3bd9f042db665b3b2dc2b73767a1e7c13e50f9d66c3", kill_on_drop: false }` [INFO] [stdout] a9dbe3c81722a98de846d3bd9f042db665b3b2dc2b73767a1e7c13e50f9d66c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b714edd860499d2cfd7612abe5206f440f256e5678e1089592edc775192c3fec [INFO] running `Command { std: "docker" "start" "-a" "b714edd860499d2cfd7612abe5206f440f256e5678e1089592edc775192c3fec", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling safe-proc-macro2 v1.0.95 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling safina-sync v0.2.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling safina-threadpool v0.2.5 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling safe-quote v1.0.40 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling safina-executor v0.3.4 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling safina-timer v0.1.13 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling safina-async-test-core v0.1.5 [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-global-executor v2.4.1 [INFO] [stderr] Compiling async-net v2.0.0 [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/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 { [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/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 { [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/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 { [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: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 { [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/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 { [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/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 { [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/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 { [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/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 { [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: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 { [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: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 { [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/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 { [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/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 { [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/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 { [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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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/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 { [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/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 { [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/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 { [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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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<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 { [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 `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 { [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 `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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `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 { [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/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 { [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/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 { [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: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 { [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/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 { [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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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] [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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `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 { [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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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] [stderr] error: could not compile `fixed-buffer` (test "tokio") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 { [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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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] For more information about this error, try `rustc --explain E0599`. [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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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] [stderr] error: could not compile `fixed-buffer` (test "smol") due to 11 previous errors [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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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/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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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<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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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<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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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<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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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: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 { [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:304:1 [INFO] [stdout] | [INFO] [stdout] 304 | 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] running `Command { std: "docker" "inspect" "b714edd860499d2cfd7612abe5206f440f256e5678e1089592edc775192c3fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b714edd860499d2cfd7612abe5206f440f256e5678e1089592edc775192c3fec", kill_on_drop: false }` [INFO] [stdout] b714edd860499d2cfd7612abe5206f440f256e5678e1089592edc775192c3fec