[INFO] fetching crate tokio-util_wasi 0.7.5... [INFO] checking tokio-util_wasi-0.7.5 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tokio-util_wasi 0.7.5 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tokio-util_wasi 0.7.5 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-util_wasi 0.7.5 [INFO] finished tweaking crates.io crate tokio-util_wasi 0.7.5 [INFO] tweaked toml for crates.io crate tokio-util_wasi 0.7.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.6) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.45.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmedge_wasi_socket v0.5.4 [INFO] [stderr] Downloaded mio_wasi v0.8.9 [INFO] [stderr] Downloaded tokio_wasi v1.25.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64981bea64154ef25a1b3ba01e8b2d25651e7c24e85078e96eb455c12d146aa1 [INFO] running `Command { std: "docker" "start" "-a" "64981bea64154ef25a1b3ba01e8b2d25651e7c24e85078e96eb455c12d146aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64981bea64154ef25a1b3ba01e8b2d25651e7c24e85078e96eb455c12d146aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64981bea64154ef25a1b3ba01e8b2d25651e7c24e85078e96eb455c12d146aa1", kill_on_drop: false }` [INFO] [stdout] 64981bea64154ef25a1b3ba01e8b2d25651e7c24e85078e96eb455c12d146aa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d48c1b1e2293c148f0ca1ca6000a5c9b8eb471c351ed3f267a33469c939ad097 [INFO] running `Command { std: "docker" "start" "-a" "d48c1b1e2293c148f0ca1ca6000a5c9b8eb471c351ed3f267a33469c939ad097", kill_on_drop: false }` [INFO] [stderr] Compiling tokio_wasi v1.25.2 [INFO] [stderr] Checking tokio-util_wasi v0.7.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::repeat`, `tokio::io::AsyncReadExt`, `tokio::io::Repeat` [INFO] [stdout] --> src/either.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | use tokio::io::{repeat, AsyncReadExt, Repeat}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^ no `Repeat` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `AsyncReadExt` in `io` [INFO] [stdout] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stdout] | no `repeat` in `io` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:266:60 [INFO] [stdout] | [INFO] [stdout] 266 | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:266:91 [INFO] [stdout] | [INFO] [stdout] 266 | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] core::iter::Repeat [INFO] [stdout] std::io::Repeat [INFO] [stdout] std::iter::Repeat [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:267:70 [INFO] [stdout] | [INFO] [stdout] 267 | BufReader, BufStream, BufWriter, DuplexStream, Empty, Lines, Repeat, Sink, Split, Take, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> src/either.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | use tokio_stream::{once, Once, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/either.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/either.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: run tokio-util tests with `--features full` [INFO] [stdout] --> tests/_require_full.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("run tokio-util tests with `--features full`"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/poll_semaphore.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/poll_semaphore.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/poll_semaphore.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/reusable_box.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/codecs.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_util::codec::{AnyDelimiterCodec, BytesCodec, Decoder, Encoder, LinesCodec}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "_require_full") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/framed_read.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, FramedRead}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/framed_read.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_test::assert_ready; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/framed_read.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_test::task; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/framed_read.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::Stream; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/framed.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_util::codec::{Decoder, Encoder, Framed, FramedParts}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/framed.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/framed.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_test::assert_ok; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/framed.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/framed.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::UdpSocket` [INFO] [stdout] --> tests/udp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `UdpSocket` in `net` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/io_inspect.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadBuf}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `AsyncReadExt` in `io` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:266:91 [INFO] [stdout] | [INFO] [stdout] 266 | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:266:119 [INFO] [stdout] | [INFO] [stdout] 266 | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncRead, AsyncWrite, AsyncWriteExt, ReadBuf}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWrite, ReadBuf}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::task` [INFO] [stdout] --> tests/spawn_pinned.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `task` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | pub mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 7 | use core::task; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] 7 | use futures_core::task; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 7 | use std::task; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] 7 | use tokio::task; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/udp.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, LinesCodec}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/io_inspect.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::poll_fn; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::udp` [INFO] [stdout] --> tests/udp.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::udp::UdpFramed; [INFO] [stdout] | ^^^ could not find `udp` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod udp; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::io` [INFO] [stdout] --> tests/io_inspect.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_util::io::{InspectReader, InspectWriter}; [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_inspect.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/udp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::try_join; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_inspect.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/udp.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_inspect.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/udp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/udp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/udp.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/udp.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/udp.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> tokio_test::task::Spawn + '_> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/spawn_pinned.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/length_delimited.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_util::codec::*; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/length_delimited.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_test::task; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/length_delimited.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_test::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/length_delimited.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::{pin_mut, Sink, Stream}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/spawn_pinned.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | futures::future::pending::<()>().await; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::future; [INFO] [stdout] | [INFO] [stdout] 4 + use std::future; [INFO] [stdout] | [INFO] [stdout] help: if you import `future`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - futures::future::pending::<()>().await; [INFO] [stdout] 138 + future::pending::<()>().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "framed") due to 6 previous errors [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "framed_read") due to 5 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/io_sink_writer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsyncWrite` [INFO] [stdout] | no `AsyncWriteExt` in `io` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:266:119 [INFO] [stdout] | [INFO] [stdout] 266 | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncReadExt` [INFO] [stdout] --> tests/io_stream_reader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stdout] | no `AsyncReadExt` in `io` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio_wasi-1.25.2/src/io/mod.rs:266:91 [INFO] [stdout] | [INFO] [stdout] 266 | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `io-util` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/io_sink_writer.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_util::codec::{Encoder, FramedWrite}; [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | pub mod codec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::io` [INFO] [stdout] --> tests/io_stream_reader.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::io::StreamReader; [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_util::io` [INFO] [stdout] --> tests/io_sink_writer.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_util::io::{CopyToBytes, SinkWriter}; [INFO] [stdout] | ^^ could not find `io` in `tokio_util` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod io; [INFO] [stdout] | ^^ [INFO] [stdout] = note: the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> tests/io_stream_reader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_stream::iter; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/io_sink_writer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::SinkExt; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_stream_reader.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_sink_writer.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_sink_writer.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tokio_test::task::spawn(fut) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> tokio_test::task::Spawn + '_> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | tokio_test::task::spawn(fut) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/poll_semaphore.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let fut = futures::future::poll_fn(move |cx| sem.poll_acquire(cx)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::future; [INFO] [stdout] | [INFO] [stdout] 1 + use std::future; [INFO] [stdout] | [INFO] [stdout] help: if you import `future`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let fut = futures::future::poll_fn(move |cx| sem.poll_acquire(cx)); [INFO] [stdout] 12 + let fut = future::poll_fn(move |cx| sem.poll_acquire(cx)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/poll_semaphore.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let fut = futures::future::poll_fn(move |cx| sem.poll_acquire_many(cx, permits)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::future; [INFO] [stdout] | [INFO] [stdout] 1 + use std::future; [INFO] [stdout] | [INFO] [stdout] help: if you import `future`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let fut = futures::future::poll_fn(move |cx| sem.poll_acquire_many(cx, permits)); [INFO] [stdout] 20 + let fut = future::poll_fn(move |cx| sem.poll_acquire_many(cx, permits)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc` [INFO] [stdout] --> tests/udp.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let a_soc = Arc::new(UdpSocket::bind("127.0.0.1:0").await?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | let b_soc = a_soc.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a_soc` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 109 | let a_soc: Arc = Arc::new(UdpSocket::bind("127.0.0.1:0").await?); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "poll_semaphore") due to 10 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "io_stream_reader") due to 5 previous errors [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "spawn_pinned") due to 10 previous errors [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "io_inspect") due to 7 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "codecs") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(b.get_pin().now_or_never(), Some(10)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sink_map_err` found for struct `PollSender` in the current scope [INFO] [stdout] --> tests/io_sink_writer.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | PollSender::new(tx).sink_map_err(|_| io::Error::from(ErrorKind::BrokenPipe)), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `PollSender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "io_sink_writer") due to 8 previous errors [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(b.get_pin().now_or_never(), Some(20)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "udp") due to 12 previous errors [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(b.get_pin().now_or_never(), Some(30)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 98 - let io = length_delimited::Builder::new() [INFO] [stdout] 98 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 116 - let io = length_delimited::Builder::new() [INFO] [stdout] 116 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 286 - let io = length_delimited::Builder::new() [INFO] [stdout] 286 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:298:14 [INFO] [stdout] | [INFO] [stdout] 298 | let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 298 - let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] 298 + let io = Builder::new().new_read(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 311 - let io = length_delimited::Builder::new().new_read(mock! { [INFO] [stdout] 311 + let io = Builder::new().new_read(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 327 - let io = length_delimited::Builder::new() [INFO] [stdout] 327 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 340 - let io = length_delimited::Builder::new() [INFO] [stdout] 340 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 359 - let io = length_delimited::Builder::new() [INFO] [stdout] 359 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 380 - let io = length_delimited::Builder::new() [INFO] [stdout] 380 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 401 - let io = length_delimited::Builder::new() [INFO] [stdout] 401 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 417 - let io = length_delimited::Builder::new() [INFO] [stdout] 417 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:561:14 [INFO] [stdout] | [INFO] [stdout] 561 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 561 - let io = length_delimited::Builder::new() [INFO] [stdout] 561 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:581:14 [INFO] [stdout] | [INFO] [stdout] 581 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 581 - let io = length_delimited::Builder::new() [INFO] [stdout] 581 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:602:14 [INFO] [stdout] | [INFO] [stdout] 602 | let io = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 602 - let io = length_delimited::Builder::new() [INFO] [stdout] 602 + let io = Builder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:617:14 [INFO] [stdout] | [INFO] [stdout] 617 | let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 617 - let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] 617 + let io = Builder::new().new_write(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:640:14 [INFO] [stdout] | [INFO] [stdout] 640 | let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 640 - let io = length_delimited::Builder::new().new_write(mock! { [INFO] [stdout] 640 + let io = Builder::new().new_write(mock! { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:666:14 [INFO] [stdout] | [INFO] [stdout] 666 | let io = length_delimited::Builder::new().new_write(mock! {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 666 - let io = length_delimited::Builder::new().new_write(mock! {}); [INFO] [stdout] 666 + let io = Builder::new().new_write(mock! {}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `length_delimited` [INFO] [stdout] --> tests/length_delimited.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | let mut codec = length_delimited::Builder::new().new_codec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `length_delimited` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 682 - let mut codec = length_delimited::Builder::new().new_codec(); [INFO] [stdout] 682 + let mut codec = Builder::new().new_codec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | let io = Box::pin(FramedRead::new(mock!(), LengthDelimitedCodec::new())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | let io = Box::pin(FramedRead::new(mock!(), LengthDelimitedCodec::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedRead` [INFO] [stdout] --> tests/length_delimited.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | let io = FramedRead::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FramedRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(b.get_pin().now_or_never(), Some(10)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:436:14 [INFO] [stdout] | [INFO] [stdout] 436 | let io = FramedWrite::new(mock!(), LengthDelimitedCodec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | let io = FramedWrite::new(mock!(), LengthDelimitedCodec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:446:14 [INFO] [stdout] | [INFO] [stdout] 446 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:466:14 [INFO] [stdout] | [INFO] [stdout] 466 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FramedWrite` [INFO] [stdout] --> tests/length_delimited.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | let io = FramedWrite::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FramedWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] --> tests/length_delimited.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | LengthDelimitedCodec::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LengthDelimitedCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "length_delimited") due to 53 previous errors [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(b.get_pin().now_or_never(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(b.get_pin().now_or_never(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(b.get_pin().now_or_never(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(b.get_pin().now_or_never(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(b.get_pin().now_or_never(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `now_or_never` found for struct `Pin<&mut dyn Future + Send>` in the current scope [INFO] [stdout] --> tests/reusable_box.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(b.get_pin().now_or_never(), Some(5)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Pin<&mut dyn Future + Send>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "reusable_box") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "d48c1b1e2293c148f0ca1ca6000a5c9b8eb471c351ed3f267a33469c939ad097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48c1b1e2293c148f0ca1ca6000a5c9b8eb471c351ed3f267a33469c939ad097", kill_on_drop: false }` [INFO] [stdout] d48c1b1e2293c148f0ca1ca6000a5c9b8eb471c351ed3f267a33469c939ad097