[INFO] fetching crate tokio 1.34.0... [INFO] checking tokio-1.34.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate tokio 1.34.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tokio 1.34.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.34.0 [INFO] finished tweaking crates.io crate tokio 1.34.0 [INFO] tweaked toml for crates.io crate tokio 1.34.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio-aio v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded loom v0.7.1 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a901b547379a04719e96c57a944c8aca43704dc645f45a8e1bad2fdf0fc51d29 [INFO] running `Command { std: "docker" "start" "-a" "a901b547379a04719e96c57a944c8aca43704dc645f45a8e1bad2fdf0fc51d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a901b547379a04719e96c57a944c8aca43704dc645f45a8e1bad2fdf0fc51d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a901b547379a04719e96c57a944c8aca43704dc645f45a8e1bad2fdf0fc51d29", kill_on_drop: false }` [INFO] [stdout] a901b547379a04719e96c57a944c8aca43704dc645f45a8e1bad2fdf0fc51d29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2f61eb5abd217bbbb1efc0ed8039f83a34e98dba92ead9a18127d930894483 [INFO] running `Command { std: "docker" "start" "-a" "ba2f61eb5abd217bbbb1efc0ed8039f83a34e98dba92ead9a18127d930894483", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking tokio v1.34.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stdout] warning: unused import: `poll_fn::poll_fn` [INFO] [stdout] --> src/future/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use poll_fn::poll_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncNotSend` is never constructed [INFO] [stdout] --> src/util/markers.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct SyncNotSend(*mut ()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking mockall v0.11.4 [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 items instead: [INFO] [stdout] core::task [INFO] [stdout] crate::task [INFO] [stdout] futures::task [INFO] [stdout] std::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] [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] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::scheduler::inject` [INFO] [stdout] --> src/runtime/tests/inject.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::runtime::scheduler::inject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `inject` in `runtime::scheduler` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/scheduler/mod.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) mod inject; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::runtime::tests::inject; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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, Stats}; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `multi_thread` in `scheduler` [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, 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 items instead: [INFO] [stdout] core::task [INFO] [stdout] crate::task [INFO] [stdout] futures::task [INFO] [stdout] std::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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::runtime::WorkerMetrics` [INFO] [stdout] --> src/runtime/tests/queue.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::runtime::WorkerMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WorkerMetrics` 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] [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] help: consider importing one of these items 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:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | pub mod oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `sync` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | pub(crate) mod oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [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] 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:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | pub(crate) use task::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `sync` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:495:30 [INFO] [stdout] | [INFO] [stdout] 495 | pub(crate) use task::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^ [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:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | pub use notify::Notify; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the item is gated behind the `sync` feature [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] [INFO] [stdout] error[E0432]: unresolved import `crate::sync::semaphore` [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | use crate::sync::semaphore::*; [INFO] [stdout] | ^^^^^^^^^ could not find `semaphore` in `sync` [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` (test "_require_full") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `LocalSet` in `task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:221:57 [INFO] [stdout] | [INFO] [stdout] 221 | 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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `watch` in `sync` [INFO] [stdout] --> src/sync/tests/notify.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | 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:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | pub mod watch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `sync` feature [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:499:20 [INFO] [stdout] | [INFO] [stdout] 499 | pub(crate) mod watch; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Semaphore` in `sync` [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX_PERMITS: usize = crate::sync::Semaphore::MAX_PERMITS; [INFO] [stdout] | ^^^^^^^^^ could not find `Semaphore` in `sync` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | pub use semaphore::{Semaphore, SemaphorePermit, OwnedSemaphorePermit}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `sync` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in module `crate::runtime` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | 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:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | pub use runtime::{Runtime, RuntimeFlavor}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `rt` feature [INFO] [stdout] note: struct `crate::runtime::tests::queue::Runtime` exists but is inaccessible [INFO] [stdout] --> src/runtime/tests/queue.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | struct Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalSet` in module `crate::task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | 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] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `crate::task` [INFO] [stdout] --> src/runtime/tests/task_combinations.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 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] help: consider importing one of these items [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] 309 - crate::task::yield_now().await; [INFO] [stdout] 309 + 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:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | Poll::Ready(()) [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 247 + use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 247 + use crate::macros::support::Poll; [INFO] [stdout] | [INFO] [stdout] 247 + use futures::task::Poll; [INFO] [stdout] | [INFO] [stdout] 247 + use std::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:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | 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] help: consider importing one of these items [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] 106 - let rt = crate::runtime::Builder::new_current_thread() [INFO] [stdout] 106 + 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:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | 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:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | pub use task::spawn; [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing one of these items [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] 113 - crate::spawn(async move { [INFO] [stdout] 113 + spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwnedSemaphorePermit` in this scope [INFO] [stdout] --> src/sync/tests/semaphore_batch.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | struct ReleaseOnDrop(Option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 271 | struct ReleaseOnDrop(Option); [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `poll_fn::poll_fn` [INFO] [stdout] --> src/future/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use poll_fn::poll_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_proceed` in this scope [INFO] [stdout] --> src/runtime/coop.rs:263:64 [INFO] [stdout] | [INFO] [stdout] 263 | 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:272:68 [INFO] [stdout] | [INFO] [stdout] 272 | 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:68 [INFO] [stdout] | [INFO] [stdout] 278 | 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:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | 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:294:72 [INFO] [stdout] | [INFO] [stdout] 294 | 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:310:72 [INFO] [stdout] | [INFO] [stdout] 310 | 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:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | let coop = ready!(poll_proceed(cx)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 1 warning emitted [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` (lib test) due to 33 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ba2f61eb5abd217bbbb1efc0ed8039f83a34e98dba92ead9a18127d930894483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2f61eb5abd217bbbb1efc0ed8039f83a34e98dba92ead9a18127d930894483", kill_on_drop: false }` [INFO] [stdout] ba2f61eb5abd217bbbb1efc0ed8039f83a34e98dba92ead9a18127d930894483