[INFO] fetching crate tokio-util_wasi 0.7.5... [INFO] testing tokio-util_wasi-0.7.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [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 c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a278cbcbb15c59284952a996eda3b524313c679e2830d8be6d69c88432125f6b [INFO] running `Command { std: "docker" "start" "-a" "a278cbcbb15c59284952a996eda3b524313c679e2830d8be6d69c88432125f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a278cbcbb15c59284952a996eda3b524313c679e2830d8be6d69c88432125f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a278cbcbb15c59284952a996eda3b524313c679e2830d8be6d69c88432125f6b", kill_on_drop: false }` [INFO] [stdout] a278cbcbb15c59284952a996eda3b524313c679e2830d8be6d69c88432125f6b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f27f08ba1082204c08af9850f090cd86ebf61dc5b9b625c466d0092601c29084 [INFO] running `Command { std: "docker" "start" "-a" "f27f08ba1082204c08af9850f090cd86ebf61dc5b9b625c466d0092601c29084", kill_on_drop: false }` [INFO] [stderr] Compiling tokio_wasi v1.25.2 [INFO] [stderr] Compiling tokio-util_wasi v0.7.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "f27f08ba1082204c08af9850f090cd86ebf61dc5b9b625c466d0092601c29084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27f08ba1082204c08af9850f090cd86ebf61dc5b9b625c466d0092601c29084", kill_on_drop: false }` [INFO] [stdout] f27f08ba1082204c08af9850f090cd86ebf61dc5b9b625c466d0092601c29084 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea212461823b33bb9b854d702abe48ce35039037142f95f8d06d6cafed07cbb9 [INFO] running `Command { std: "docker" "start" "-a" "ea212461823b33bb9b854d702abe48ce35039037142f95f8d06d6cafed07cbb9", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-util_wasi v0.7.5 (/opt/rustwide/workdir) [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-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] 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:119 [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: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadBuf}; [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, AsyncWriteExt, ReadBuf}; [INFO] [stdout] 7 + use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWrite, ReadBuf}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/io_inspect.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[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] 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: 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: 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: 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 unresolved module or unlinked crate `futures_test` [INFO] [stdout] --> tests/sync_cancellation_token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::new_count_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use futures_test::task::new_count_waker; [INFO] [stdout] 8 + use futures_core::task::new_count_waker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_inspect.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | tee.read_to_end(&mut teeout).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_inspect.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / tee.write_all(b"A testing string, very testing") [INFO] [stdout] 122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/io_inspect.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | write_all_vectored(tee, bufs.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [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] 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] [stderr] error: could not compile `tokio-util_wasi` (test "io_inspect") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition name: `tokio_unstable` [INFO] [stdout] --> tests/task_join_map.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg(all(feature = "rt", tokio_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tokio_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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] 45 | / cfg_rt! { [INFO] [stdout] 46 | | pub mod context; [INFO] [stdout] 47 | | pub mod task; [INFO] [stdout] | | ^^^^ [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use std::task; [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use futures_core::task; [INFO] [stdout] | [INFO] [stdout] 7 - use tokio_util::task; [INFO] [stdout] 7 + use tokio::task; [INFO] [stdout] | [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] [stderr] error: could not compile `tokio-util_wasi` (test "_require_full") due to 1 previous error [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/spawn_pinned.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | futures::future::pending::<()>().await; [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] 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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let output = pool [INFO] [stdout] | __________________^ [INFO] [stdout] 15 | | .spawn_pinned(|| { [INFO] [stdout] 16 | | // Rc is !Send + !Sync [INFO] [stdout] 17 | | let local_data = Rc::new("test"); [INFO] [stdout] ... | [INFO] [stdout] 21 | | }) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(join_handle1.await.unwrap(), "test1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(join_handle2.await.unwrap(), "test2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let result = join_handle.await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 81 | let result: /* Type */ = join_handle.await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let result = join_handle.await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | let result: /* Type */ = join_handle.await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let result = join_handle.await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | let result: /* Type */ = join_handle.await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let result = join_handle.await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 116 | let result: /* Type */ = join_handle.await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | let thread_id1 = join_handle1.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | let thread_id2 = join_handle2.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let thread_id1 = handle1.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/spawn_pinned.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let thread_id2 = handle2.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "spawn_pinned") due to 20 previous errors [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-util_wasi` (test "sync_cancellation_token") due to 1 previous error [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::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 tokio::net::UdpSocket; [INFO] [stdout] 4 + use std::net::UdpSocket; [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] 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[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] 31 | / cfg_net! { [INFO] [stdout] 32 | | #[cfg(not(target_arch = "wasm32"))] [INFO] [stdout] 33 | | pub mod udp; [INFO] [stdout] | | ^^^ [INFO] [stdout] 34 | | pub mod net; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/either.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | either.read_exact(&mut buffer).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/udp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::future::try_join; [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 `futures` [INFO] [stdout] --> tests/udp.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/udp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::sink::SinkExt; [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[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 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/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] 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 "udp") due to 10 previous errors [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] [stderr] error: could not compile `tokio-util_wasi` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "ea212461823b33bb9b854d702abe48ce35039037142f95f8d06d6cafed07cbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea212461823b33bb9b854d702abe48ce35039037142f95f8d06d6cafed07cbb9", kill_on_drop: false }` [INFO] [stdout] ea212461823b33bb9b854d702abe48ce35039037142f95f8d06d6cafed07cbb9