[INFO] fetching crate tokio_wasi 1.25.2... [INFO] checking tokio_wasi-1.25.2 against master#8549802939cd01111c46e34a7b67cb1933977af9 for pr-132712 [INFO] extracting crate tokio_wasi 1.25.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate tokio_wasi 1.25.2 on toolchain 8549802939cd01111c46e34a7b67cb1933977af9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio_wasi 1.25.2 [INFO] finished tweaking crates.io crate tokio_wasi 1.25.2 [INFO] tweaked toml for crates.io crate tokio_wasi 1.25.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 165 packages to latest compatible versions [INFO] [stderr] Adding loom v0.5.6 (available: v0.7.2) [INFO] [stderr] Adding mio-aio v0.7.0 (available: v0.9.0) [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.0) [INFO] [stderr] Adding nix v0.26.4 (available: v0.29.0) [INFO] [stderr] Adding ntapi v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding socket2 v0.4.10 (available: v0.5.7) [INFO] [stderr] Adding tokio-macros v1.8.2 (available: v2.4.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.45 [INFO] [stderr] Downloaded dns-parser v0.8.0 [INFO] [stderr] Downloaded minicov v0.3.7 [INFO] [stderr] Downloaded tokio-macros v1.8.2 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded wasmedge_wasi_socket v0.5.5 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.45 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded mio-aio v0.7.0 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded memoffset v0.7.1 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded mio_wasi v0.8.9 [INFO] [stderr] Downloaded socket2 v0.4.10 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded predicates-core v1.0.8 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded predicates-tree v1.0.11 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded nix v0.26.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ff8ee57a06adae0eeec68f219e4b98cc278764dc1f52e0a43d64d207db0f70 [INFO] running `Command { std: "docker" "start" "-a" "66ff8ee57a06adae0eeec68f219e4b98cc278764dc1f52e0a43d64d207db0f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ff8ee57a06adae0eeec68f219e4b98cc278764dc1f52e0a43d64d207db0f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ff8ee57a06adae0eeec68f219e4b98cc278764dc1f52e0a43d64d207db0f70", kill_on_drop: false }` [INFO] [stdout] 66ff8ee57a06adae0eeec68f219e4b98cc278764dc1f52e0a43d64d207db0f70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8f153834872c425c3d175cf7f28e44db0e4a4620ab9d55da556972efa25431f [INFO] running `Command { std: "docker" "start" "-a" "f8f153834872c425c3d175cf7f28e44db0e4a4620ab9d55da556972efa25431f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling tokio_wasi v1.25.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking rustix v0.38.39 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stdout] error: run main Tokio tests with `--features full` [INFO] [stdout] --> tests/_require_full.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("run main Tokio tests with `--features full`"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_wasi` (test "_require_full") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `crate::runtime::task`, `crate::runtime::task` [INFO] [stdout] --> src/runtime/tests/mod.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::runtime::task::{self, Task}; [INFO] [stdout] | ^^^^ ^^^^ no `task` in `runtime` [INFO] [stdout] | | [INFO] [stdout] | could not find `task` in `runtime` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::task [INFO] [stdout] std::task [INFO] [stdout] futures::task [INFO] [stdout] tokio_test::task [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::task` [INFO] [stdout] --> src/runtime/tests/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::runtime::task::{Id, JoinHandle, Notified}; [INFO] [stdout] | ^^^^ could not find `task` in `runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::scheduler::multi_thread` [INFO] [stdout] --> src/runtime/tests/queue.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::runtime::scheduler::multi_thread::queue; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `multi_thread` in `scheduler` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/scheduler/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) mod multi_thread; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/macros/cfg.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | #[cfg(all(feature = "rt-multi-thread", not(tokio_wasi)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/scheduler/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / cfg_rt_multi_thread! { [INFO] [stdout] 7 | | pub(crate) mod multi_thread; [INFO] [stdout] 8 | | pub(crate) use multi_thread::MultiThread; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt_multi_thread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::runtime::task`, `crate::runtime::task` [INFO] [stdout] --> src/runtime/tests/queue.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::runtime::task::{self, Inject, Schedule, Task}; [INFO] [stdout] | ^^^^ ^^^^ no `task` in `runtime` [INFO] [stdout] | | [INFO] [stdout] | could not find `task` in `runtime` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::task [INFO] [stdout] std::task [INFO] [stdout] futures::task [INFO] [stdout] tokio_test::task [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::MetricsBatch` [INFO] [stdout] --> src/runtime/tests/queue.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::runtime::MetricsBatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MetricsBatch` in `runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::runtime::task::AbortHandle; [INFO] [stdout] | ^^^^ could not find `task` in `runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::Builder` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::runtime::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Builder` in `runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | pub use self::builder::Builder; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 8 | use crate::loom::thread::Builder; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 8 | use std::thread::Builder; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 8 | use tempfile::Builder; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 8 | use tokio_test::io::Builder; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::oneshot` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | pub mod oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 438 | / cfg_sync! { [INFO] [stdout] 439 | | /// Named future types. [INFO] [stdout] 440 | | pub mod futures { [INFO] [stdout] 441 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub mod watch; [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:494:20 [INFO] [stdout] | [INFO] [stdout] 494 | pub(crate) mod oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/sync/mod.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | #[cfg(any(feature = "rt", all(windows, feature = "process")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `cfg_sync` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::task::JoinHandle` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `JoinHandle` in `task` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/task/mod.rs:279:47 [INFO] [stdout] | [INFO] [stdout] 279 | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / cfg_rt! { [INFO] [stdout] 279 | | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] 280 | | [INFO] [stdout] 281 | | cfg_not_wasi! { [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 10 | use crate::loom::thread::JoinHandle; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 10 | use crate::runtime::tests::task_combinations::CombiAbortSource::JoinHandle; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 10 | use std::thread::JoinHandle; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::AtomicWaker` [INFO] [stdout] --> src/sync/tests/atomic_waker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sync::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `AtomicWaker` in `sync` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:475:26 [INFO] [stdout] | [INFO] [stdout] 475 | pub(crate) use task::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 438 | / cfg_sync! { [INFO] [stdout] 439 | | /// Named future types. [INFO] [stdout] 440 | | pub mod futures { [INFO] [stdout] 441 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub mod watch; [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:498:30 [INFO] [stdout] | [INFO] [stdout] 498 | pub(crate) use task::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/macros/cfg.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | / #[cfg(any( [INFO] [stdout] 36 | | feature = "net", [INFO] [stdout] 37 | | feature = "process", [INFO] [stdout] 38 | | feature = "rt", [INFO] [stdout] 39 | | feature = "signal", [INFO] [stdout] 40 | | feature = "time", [INFO] [stdout] 41 | | ))] [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / cfg_atomic_waker_impl! { [INFO] [stdout] 497 | | mod task; [INFO] [stdout] 498 | | pub(crate) use task::AtomicWaker; [INFO] [stdout] 499 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_sync` which comes from the expansion of the macro `cfg_atomic_waker_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 | use futures::task::AtomicWaker; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::Notify` [INFO] [stdout] --> src/sync/tests/notify.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sync::Notify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Notify` in `sync` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | pub use notify::Notify; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 438 | / cfg_sync! { [INFO] [stdout] 439 | | /// Named future types. [INFO] [stdout] 440 | | pub mod futures { [INFO] [stdout] 441 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub mod watch; [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_sync` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::batch_semaphore` [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sync::batch_semaphore::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `batch_semaphore` in `sync` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:459:20 [INFO] [stdout] | [INFO] [stdout] 459 | pub(crate) mod batch_semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 438 | / cfg_sync! { [INFO] [stdout] 439 | | /// Named future types. [INFO] [stdout] 440 | | pub mod futures { [INFO] [stdout] 441 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub mod watch; [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | pub(crate) mod batch_semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `fs` feature [INFO] [stdout] --> src/macros/cfg.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature = "fs")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | / cfg_fs! { [INFO] [stdout] 485 | | pub(crate) mod batch_semaphore; [INFO] [stdout] 486 | | mod mutex; [INFO] [stdout] 487 | | pub(crate) use mutex::Mutex; [INFO] [stdout] 488 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_sync` which comes from the expansion of the macro `cfg_fs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `task` in `runtime` [INFO] [stdout] --> src/runtime/tests/mod.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | let (task, handle) = crate::runtime::task::unowned(task, NoopSchedule, Id::next()); [INFO] [stdout] | ^^^^ could not find `task` in `runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalSet` in `task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:220:57 [INFO] [stdout] | [INFO] [stdout] 220 | CombiLocalSet::Yes => Some(crate::task::LocalSet::new()), [INFO] [stdout] | ^^^^^^^^ could not find `LocalSet` in `task` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/task/mod.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | pub use local::{spawn_local, LocalSet, LocalEnterGuard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / cfg_rt! { [INFO] [stdout] 279 | | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] 280 | | [INFO] [stdout] 281 | | cfg_not_wasi! { [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `watch` in `sync` [INFO] [stdout] --> src/sync/tests/notify.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | let (tx, mut rx) = crate::sync::watch::channel(()); [INFO] [stdout] | ^^^^^ could not find `watch` in `sync` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | pub mod watch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 438 | / cfg_sync! { [INFO] [stdout] 439 | | /// Named future types. [INFO] [stdout] 440 | | pub mod futures { [INFO] [stdout] 441 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 480 | | pub mod watch; [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | pub(crate) mod watch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/sync/mod.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | #[cfg(any(feature = "signal", all(unix, feature = "process")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `cfg_sync` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in module `crate::runtime` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | rt: crate::runtime::Runtime, [INFO] [stdout] | ^^^^^^^ not found in `crate::runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | pub use runtime::{Runtime, RuntimeFlavor}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: struct `crate::runtime::tests::queue::Runtime` exists but is inaccessible [INFO] [stdout] --> src/runtime/tests/queue.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | struct Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalSet` in module `crate::task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:203:33 [INFO] [stdout] | [INFO] [stdout] 203 | ls: Option, [INFO] [stdout] | ^^^^^^^^ not found in `crate::task` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/task/mod.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | pub use local::{spawn_local, LocalSet, LocalEnterGuard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / cfg_rt! { [INFO] [stdout] 279 | | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] 280 | | [INFO] [stdout] 281 | | cfg_not_wasi! { [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `crate::task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | crate::task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `crate::task` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/task/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | mod yield_now; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / cfg_rt! { [INFO] [stdout] 279 | | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] 280 | | [INFO] [stdout] 281 | | cfg_not_wasi! { [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/task/mod.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | pub use yield_now::yield_now; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / cfg_rt! { [INFO] [stdout] 279 | | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] 280 | | [INFO] [stdout] 281 | | cfg_not_wasi! { [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::loom::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] help: if you import `yield_now`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 308 - crate::task::yield_now().await; [INFO] [stdout] 308 + yield_now().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/runtime/coop.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | Poll::Ready(()) [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 210 + use crate::macros::support::Poll; [INFO] [stdout] | [INFO] [stdout] 210 + use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] 210 + use futures::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Builder` in `runtime` [INFO] [stdout] --> src/sync/tests/notify.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | let rt = crate::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^^^ could not find `Builder` in `runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | pub use self::builder::Builder; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / cfg_rt! { [INFO] [stdout] 209 | | pub(crate) mod task; [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 262 | | type Callback = std::sync::Arc; [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::loom::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_test::io::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 68 - let rt = crate::runtime::Builder::new_current_thread() [INFO] [stdout] 68 + let rt = Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in the crate root [INFO] [stdout] --> src/sync/tests/notify.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | crate::spawn(async move { [INFO] [stdout] | ^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:526:19 [INFO] [stdout] | [INFO] [stdout] 526 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:525:1 [INFO] [stdout] | [INFO] [stdout] 525 | / cfg_rt! { [INFO] [stdout] 526 | | pub use task::spawn; [INFO] [stdout] 527 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::loom::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] help: if you import `spawn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - crate::spawn(async move { [INFO] [stdout] 75 + spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:226:64 [INFO] [stdout] | [INFO] [stdout] 226 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:235:68 [INFO] [stdout] | [INFO] [stdout] 235 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:241:68 [INFO] [stdout] | [INFO] [stdout] 241 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:248:68 [INFO] [stdout] | [INFO] [stdout] 248 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:257:72 [INFO] [stdout] | [INFO] [stdout] 257 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:273:72 [INFO] [stdout] | [INFO] [stdout] 273 | let coop = assert_ready!(task::spawn(()).enter(|cx, _| poll_proceed(cx))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 278 | let coop = ready!(poll_proceed(cx)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_wasi` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "f8f153834872c425c3d175cf7f28e44db0e4a4620ab9d55da556972efa25431f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f153834872c425c3d175cf7f28e44db0e4a4620ab9d55da556972efa25431f", kill_on_drop: false }` [INFO] [stdout] f8f153834872c425c3d175cf7f28e44db0e4a4620ab9d55da556972efa25431f