[INFO] fetching crate fixed-buffer 0.5.0... [INFO] testing fixed-buffer-0.5.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fixed-buffer 0.5.0 into /workspace/builds/worker-77/source [INFO] validating manifest of crates.io crate fixed-buffer 0.5.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fixed-buffer 0.5.0 [INFO] finished tweaking crates.io crate fixed-buffer 0.5.0 [INFO] tweaked toml for crates.io crate fixed-buffer 0.5.0 written to /workspace/builds/worker-77/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded safina-executor v0.3.3 [INFO] [stderr] Downloaded safe-proc-macro2 v1.0.36 [INFO] [stderr] Downloaded read-write-ext v0.1.1 [INFO] [stderr] Downloaded safe-quote v1.0.15 [INFO] [stderr] Downloaded safina-async-test-core v0.1.4 [INFO] [stderr] Downloaded safina-threadpool v0.2.4 [INFO] [stderr] Downloaded safina-timer v0.1.11 [INFO] [stderr] Downloaded safina-sync v0.2.4 [INFO] [stderr] Downloaded safina-async-test v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8c21aaa8250463a339472e8ba8d9dc86309f2bc1d24cdcd66d9f437118ee2a5 [INFO] running `Command { std: "docker" "start" "-a" "f8c21aaa8250463a339472e8ba8d9dc86309f2bc1d24cdcd66d9f437118ee2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8c21aaa8250463a339472e8ba8d9dc86309f2bc1d24cdcd66d9f437118ee2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c21aaa8250463a339472e8ba8d9dc86309f2bc1d24cdcd66d9f437118ee2a5", kill_on_drop: false }` [INFO] [stdout] f8c21aaa8250463a339472e8ba8d9dc86309f2bc1d24cdcd66d9f437118ee2a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49331619a0ed2aa52d5aaf121db93cd9f25477f2e87c87de7fa8f5221ff165a9 [INFO] running `Command { std: "docker" "start" "-a" "49331619a0ed2aa52d5aaf121db93cd9f25477f2e87c87de7fa8f5221ff165a9", kill_on_drop: false }` [INFO] [stderr] Compiling fixed-buffer v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "49331619a0ed2aa52d5aaf121db93cd9f25477f2e87c87de7fa8f5221ff165a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49331619a0ed2aa52d5aaf121db93cd9f25477f2e87c87de7fa8f5221ff165a9", kill_on_drop: false }` [INFO] [stdout] 49331619a0ed2aa52d5aaf121db93cd9f25477f2e87c87de7fa8f5221ff165a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04d1d4d179bf4766a12417fdfb2e182077725d6336b320b3cc8192ddf50c914a [INFO] running `Command { std: "docker" "start" "-a" "04d1d4d179bf4766a12417fdfb2e182077725d6336b320b3cc8192ddf50c914a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling safe-proc-macro2 v1.0.36 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling safina-threadpool v0.2.4 [INFO] [stderr] Compiling safina-sync v0.2.4 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling read-write-ext v0.1.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling safina-timer v0.1.11 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling safina-executor v0.3.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling safe-quote v1.0.15 [INFO] [stderr] Compiling safina-async-test-core v0.1.4 [INFO] [stderr] Compiling safina-async-test v0.1.13 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling fixed-buffer v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/server.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let mut payload = read_writer.take_rw(len); [INFO] [stdout] | ^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 43 | let mut payload = read_writer.take_rw(len.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<0_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<0_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fixed-buffer` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<1_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<0_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<1_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<2_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<1_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<2_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<3_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: ReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: async_std::io::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: async_std::io::Read` [INFO] [stdout] which is required by `FixedBuf<3_usize>: ReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: WriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: async_std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: async_std::io::Write` [INFO] [stdout] which is required by `FixedBuf<3_usize>: WriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: WriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: async_std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: async_std::io::Write` [INFO] [stdout] which is required by `FixedBuf<3_usize>: WriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: WriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: async_std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: async_std::io::Write` [INFO] [stdout] which is required by `FixedBuf<3_usize>: WriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadExt` [INFO] [stdout] --> tests/async_std.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::{ReadExt, WriteExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteExt` [INFO] [stdout] --> tests/async_std.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::{ReadExt, WriteExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<1_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [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<3_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<3_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<0_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<0_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<0_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<1_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<1_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<1_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<3_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> tests/tokio.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> tests/tokio.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read` exists for struct `FixedBuf<2_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<2_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<2_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<2_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [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<3_usize>`, 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] | ^^^^ method cannot be called on `FixedBuf<3_usize>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncReadExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncRead` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncReadExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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_usize>`, 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:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct FixedBuf { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] | doesn't satisfy `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FixedBuf<3_usize>: AsyncWrite` [INFO] [stdout] which is required by `FixedBuf<3_usize>: AsyncWriteExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> tests/futures_io.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_lite::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> tests/futures_io.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_lite::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> tests/smol.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use smol::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> tests/smol.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use smol::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "04d1d4d179bf4766a12417fdfb2e182077725d6336b320b3cc8192ddf50c914a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d1d4d179bf4766a12417fdfb2e182077725d6336b320b3cc8192ddf50c914a", kill_on_drop: false }` [INFO] [stdout] 04d1d4d179bf4766a12417fdfb2e182077725d6336b320b3cc8192ddf50c914a