[INFO] fetching crate tokio-util_wasi 0.7.5... [INFO] checking tokio-util_wasi-0.7.5 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tokio-util_wasi 0.7.5 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-util_wasi 0.7.5 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad1f264f119ae7c6e596f5a5cbc1aafbf13bb06a033bbf64962dfce540c473a4 [INFO] running `Command { std: "docker" "start" "-a" "ad1f264f119ae7c6e596f5a5cbc1aafbf13bb06a033bbf64962dfce540c473a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad1f264f119ae7c6e596f5a5cbc1aafbf13bb06a033bbf64962dfce540c473a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad1f264f119ae7c6e596f5a5cbc1aafbf13bb06a033bbf64962dfce540c473a4", kill_on_drop: false }` [INFO] [stdout] ad1f264f119ae7c6e596f5a5cbc1aafbf13bb06a033bbf64962dfce540c473a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74269c2691fea35c2358e1a9ea100c5d297767f37c313a04996a009a17735bc6 [INFO] running `Command { std: "docker" "start" "-a" "74269c2691fea35c2358e1a9ea100c5d297767f37c313a04996a009a17735bc6", 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 import `tokio_stream` [INFO] [stdout] --> tests/io_reader_stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/io_reader_stream.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [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-1949cf8c6b5b557f/tokio_wasi-1.25.2/src/io/mod.rs:266:60 [INFO] [stdout] | [INFO] [stdout] 259 | / cfg_io_util! { [INFO] [stdout] 260 | | mod split; [INFO] [stdout] 261 | | pub use split::{split, ReadHalf, WriteHalf}; [INFO] [stdout] ... | [INFO] [stdout] 266 | | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | | ^^^^^^ [INFO] [stdout] 267 | | BufReader, BufStream, BufWriter, DuplexStream, Empty, Lines, Repeat, Sink, Split, Take, [INFO] [stdout] 268 | | }; [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- 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-1949cf8c6b5b557f/tokio_wasi-1.25.2/src/io/mod.rs:266:91 [INFO] [stdout] | [INFO] [stdout] 259 | / cfg_io_util! { [INFO] [stdout] 260 | | mod split; [INFO] [stdout] 261 | | pub use split::{split, ReadHalf, WriteHalf}; [INFO] [stdout] ... | [INFO] [stdout] 266 | | copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt, [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] 267 | | BufReader, BufStream, BufWriter, DuplexStream, Empty, Lines, Repeat, Sink, Split, Take, [INFO] [stdout] 268 | | }; [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- the item is gated behind the `io-util` feature [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::io::Repeat [INFO] [stdout] std::iter::Repeat [INFO] [stdout] core::iter::Repeat [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio_wasi-1.25.2/src/io/mod.rs:267:70 [INFO] [stdout] | [INFO] [stdout] 259 | / cfg_io_util! { [INFO] [stdout] 260 | | mod split; [INFO] [stdout] 261 | | pub use split::{split, ReadHalf, WriteHalf}; [INFO] [stdout] ... | [INFO] [stdout] 267 | | BufReader, BufStream, BufWriter, DuplexStream, Empty, Lines, Repeat, Sink, Split, Take, [INFO] [stdout] | | ^^^^^^ [INFO] [stdout] 268 | | }; [INFO] [stdout] 269 | | } [INFO] [stdout] | |_- 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 unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [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[E0432]: unresolved import `tokio_util::codec` [INFO] [stdout] --> tests/framed_stream.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_util::codec::{BytesCodec, 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] 27 | / cfg_codec! { [INFO] [stdout] 28 | | pub mod codec; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- the item is gated behind the `codec` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] --> tests/framed_stream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::{assert_ready, io::Builder, task}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/framed_stream.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::{assert_ready, io::Builder, task}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/framed_stream.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::stream::Stream` [INFO] [stdout] --> tests/framed_stream.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::Pin` [INFO] [stdout] --> tests/framed_stream.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io, pin::Pin}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `pin` [INFO] [stdout] --> tests/framed_stream.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! pin { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/reusable_box.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "framed_stream") due to 4 previous errors; 3 warnings emitted [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] [stderr] error: could not compile `tokio-util_wasi` (test "_require_full") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::future::poll_fn; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] --> tests/mpsc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::task::spawn; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> tests/mpsc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_test::{assert_pending, assert_ready, assert_ready_err, assert_ready_ok}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/mpsc.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[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/mpsc.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[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/mpsc.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[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/mpsc.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[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/mpsc.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/mpsc.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | #[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/mpsc.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/mpsc.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[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/mpsc.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | #[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/mpsc.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[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/mpsc.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[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: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: could not find `io` in `tokio_util` [INFO] [stdout] --> tests/io_reader_stream.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | let mut stream = tokio_util::io::ReaderStream::new(reader); [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] 41 | / cfg_io! { [INFO] [stdout] 42 | | pub mod io; [INFO] [stdout] | | ^^ [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- the item is gated behind the `io` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> tokio_test::task::Spawn + '_> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tokio_test::task::spawn(fut) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [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: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[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> tokio_test::task::Spawn + '_> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [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: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] [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] 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] --> tests/poll_semaphore.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | tokio_test::task::spawn(fut) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [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] [stderr] error: could not compile `tokio-util_wasi` (test "io_reader_stream") due to 3 previous errors [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "mpsc") due to 14 previous errors [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "poll_semaphore") due to 9 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] For more information about this error, try `rustc --explain E0433`. [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[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] [stderr] error: could not compile `tokio-util_wasi` (lib test) due to 4 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: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] 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[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] 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 11 previous errors [INFO] running `Command { std: "docker" "inspect" "74269c2691fea35c2358e1a9ea100c5d297767f37c313a04996a009a17735bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74269c2691fea35c2358e1a9ea100c5d297767f37c313a04996a009a17735bc6", kill_on_drop: false }` [INFO] [stdout] 74269c2691fea35c2358e1a9ea100c5d297767f37c313a04996a009a17735bc6