[INFO] fetching crate tokio 1.43.0... [INFO] building tokio-1.43.0 against master#f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 for pr-137044 [INFO] extracting crate tokio 1.43.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate tokio 1.43.0 on toolchain f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.43.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tokio 1.43.0 [INFO] tweaked toml for crates.io crate tokio 1.43.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "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 wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.50 [INFO] [stderr] Downloaded minicov v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.50 [INFO] [stderr] Downloaded tracing v0.1.41 [INFO] [stderr] Downloaded tracing-core v0.1.33 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded windows-result v0.2.0 [INFO] [stderr] Downloaded futures-sink v0.3.31 [INFO] [stderr] Downloaded adler2 v2.0.0 [INFO] [stderr] Downloaded futures-channel v0.3.31 [INFO] [stderr] Downloaded futures-executor v0.3.31 [INFO] [stderr] Downloaded futures v0.3.31 [INFO] [stderr] Downloaded generator v0.8.4 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded backtrace v0.3.74 [INFO] [stderr] Downloaded mio v1.0.3 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] [stderr] Downloaded pin-project-lite v0.2.16 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded futures-util v0.3.31 [INFO] [stderr] Downloaded tracing-subscriber v0.3.19 [INFO] [stderr] Downloaded addr2line v0.24.2 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded windows-implement v0.58.0 [INFO] [stderr] Downloaded gimli v0.31.1 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] [stderr] Downloaded windows-core v0.58.0 [INFO] [stderr] Downloaded overload v0.1.1 [INFO] [stderr] Downloaded nu-ansi-term v0.46.0 [INFO] [stderr] Downloaded mio-aio v0.9.0 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded futures-core v0.3.31 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded futures-macro v0.3.31 [INFO] [stderr] Downloaded slab v0.4.9 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded cfg_aliases v0.2.1 [INFO] [stderr] Downloaded memoffset v0.9.1 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded tokio-macros v2.5.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded tracing-attributes v0.1.28 [INFO] [stderr] Downloaded futures-io v0.3.31 [INFO] [stderr] Downloaded futures-task v0.3.31 [INFO] [stderr] Downloaded windows-interface v0.58.0 [INFO] [stderr] Downloaded windows-strings v0.1.0 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded pin-utils v0.1.0 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded bit-vec v0.8.0 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded bit-set v0.8.0 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded socket2 v0.5.8 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded nix v0.29.0 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded redox_syscall v0.5.8 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] [stderr] Downloaded signal-hook-registry v1.4.2 [INFO] [stderr] Downloaded tracing-mock v0.1.0-beta.1 [INFO] [stderr] Downloaded valuable v0.1.1 [INFO] [stderr] Downloaded windows v0.58.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ccb71383341ac06fbe8d8f2dd7d1fea4674d0780d60bd2d2b11e57d1033f133 [INFO] running `Command { std: "docker" "start" "-a" "1ccb71383341ac06fbe8d8f2dd7d1fea4674d0780d60bd2d2b11e57d1033f133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ccb71383341ac06fbe8d8f2dd7d1fea4674d0780d60bd2d2b11e57d1033f133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ccb71383341ac06fbe8d8f2dd7d1fea4674d0780d60bd2d2b11e57d1033f133", kill_on_drop: false }` [INFO] [stdout] 1ccb71383341ac06fbe8d8f2dd7d1fea4674d0780d60bd2d2b11e57d1033f133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a34f60c4c9b205fb734db18aa6cde3f4701c8078983710d956b3e0aeb36b06a [INFO] running `Command { std: "docker" "start" "-a" "5a34f60c4c9b205fb734db18aa6cde3f4701c8078983710d956b3e0aeb36b06a", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling tokio v1.43.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "5a34f60c4c9b205fb734db18aa6cde3f4701c8078983710d956b3e0aeb36b06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a34f60c4c9b205fb734db18aa6cde3f4701c8078983710d956b3e0aeb36b06a", kill_on_drop: false }` [INFO] [stdout] 5a34f60c4c9b205fb734db18aa6cde3f4701c8078983710d956b3e0aeb36b06a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382685f17dd984cc37898fd1528306dc21ac0267221e3351fb0da84a6a0aad6b [INFO] running `Command { std: "docker" "start" "-a" "382685f17dd984cc37898fd1528306dc21ac0267221e3351fb0da84a6a0aad6b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling predicates v2.1.5 [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] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio v1.43.0 (/opt/rustwide/workdir) [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, TaskHarnessScheduleHooks}; [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:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [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:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | 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:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [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::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] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/scheduler/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / cfg_rt! { [INFO] [stdout] 2 | | pub(crate) mod current_thread; [INFO] [stdout] 3 | | pub(crate) use current_thread::CurrentThread; [INFO] [stdout] ... | [INFO] [stdout] 11 | | use crate::runtime::TaskHooks; [INFO] [stdout] 12 | | } [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 this module instead [INFO] [stdout] | [INFO] [stdout] 1 - use crate::runtime::scheduler::inject; [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] note: found an item that was configured out [INFO] [stdout] --> src/runtime/scheduler/mod.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) mod multi_thread; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt-multi-thread` feature [INFO] [stdout] --> src/macros/cfg.rs:404:19 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(feature = "rt-multi-thread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/scheduler/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / cfg_rt_multi_thread! { [INFO] [stdout] 15 | | mod block_in_place; [INFO] [stdout] 16 | | pub(crate) use block_in_place::block_in_place; [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [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, Schedule, Task, TaskHarnessScheduleHooks}; [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:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [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::WorkerMetrics` [INFO] [stdout] --> src/runtime/tests/queue.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::runtime::WorkerMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WorkerMetrics` in `runtime` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/runtime/mod.rs:421:62 [INFO] [stdout] | [INFO] [stdout] 421 | pub(crate) use metrics::{MetricsBatch, SchedulerMetrics, WorkerMetrics, HistogramBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [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/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:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | pub(crate) mod task; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [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:367:28 [INFO] [stdout] | [INFO] [stdout] 367 | pub use self::builder::Builder; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `rt` feature [INFO] [stdout] --> src/macros/cfg.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/runtime/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | / cfg_rt! { [INFO] [stdout] 349 | | pub(crate) mod task; [INFO] [stdout] 350 | | [INFO] [stdout] 351 | | mod config; [INFO] [stdout] ... | [INFO] [stdout] 424 | | type Callback = std::sync::Arc; [INFO] [stdout] 425 | | } [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::runtime::Builder; [INFO] [stdout] 8 + use crate::loom::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 8 - use crate::runtime::Builder; [INFO] [stdout] 8 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 8 - use crate::runtime::Builder; [INFO] [stdout] 8 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] 8 - use crate::runtime::Builder; [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:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | pub mod oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / cfg_sync! { [INFO] [stdout] 450 | | /// Named future types. [INFO] [stdout] 451 | | pub mod futures { [INFO] [stdout] 452 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 491 | | pub mod watch; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:505:20 [INFO] [stdout] | [INFO] [stdout] 505 | pub(crate) mod oneshot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/sync/mod.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | #[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:325:47 [INFO] [stdout] | [INFO] [stdout] 325 | 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:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | #[cfg(feature = "rt")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/task/mod.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | / cfg_rt! { [INFO] [stdout] 325 | | pub use crate::runtime::task::{JoinError, JoinHandle}; [INFO] [stdout] 326 | | [INFO] [stdout] 327 | | mod blocking; [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [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::task::JoinHandle; [INFO] [stdout] 10 + use crate::loom::thread::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 10 - use crate::task::JoinHandle; [INFO] [stdout] 10 + use crate::runtime::tests::task_combinations::CombiAbortSource::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 10 - use crate::task::JoinHandle; [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:486:26 [INFO] [stdout] | [INFO] [stdout] 486 | pub(crate) use task::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / cfg_sync! { [INFO] [stdout] 450 | | /// Named future types. [INFO] [stdout] 451 | | pub mod futures { [INFO] [stdout] 452 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 491 | | pub mod watch; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:509:30 [INFO] [stdout] | [INFO] [stdout] 509 | pub(crate) use task::AtomicWaker; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/macros/cfg.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / #[cfg(any( [INFO] [stdout] 72 | | feature = "net", [INFO] [stdout] 73 | | feature = "process", [INFO] [stdout] 74 | | feature = "rt", [INFO] [stdout] 75 | | feature = "signal", [INFO] [stdout] 76 | | feature = "time", [INFO] [stdout] 77 | | ))] [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 507 | / cfg_atomic_waker_impl! { [INFO] [stdout] 508 | | mod task; [INFO] [stdout] 509 | | pub(crate) use task::AtomicWaker; [INFO] [stdout] 510 | | } [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 crate::sync::AtomicWaker; [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:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | pub use notify::Notify; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / cfg_sync! { [INFO] [stdout] 450 | | /// Named future types. [INFO] [stdout] 451 | | pub mod futures { [INFO] [stdout] 452 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 491 | | pub mod watch; [INFO] [stdout] 492 | | } [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:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | pub(crate) mod batch_semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sync` feature [INFO] [stdout] --> src/macros/cfg.rs:372:19 [INFO] [stdout] | [INFO] [stdout] 372 | #[cfg(feature = "sync")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / cfg_sync! { [INFO] [stdout] 450 | | /// Named future types. [INFO] [stdout] 451 | | pub mod futures { [INFO] [stdout] 452 | | pub use super::notify::Notified; [INFO] [stdout] ... | [INFO] [stdout] 491 | | pub mod watch; [INFO] [stdout] 492 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/sync/mod.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | pub(crate) mod batch_semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `fs` feature [INFO] [stdout] --> src/macros/cfg.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(feature = "fs")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sync/mod.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | / cfg_fs! { [INFO] [stdout] 496 | | pub(crate) mod batch_semaphore; [INFO] [stdout] 497 | | mod mutex; [INFO] [stdout] 498 | | pub(crate) use mutex::Mutex; [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_fs` (in Nightly builds, run with -Z macro-backtrace for more info) [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` (lib test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "382685f17dd984cc37898fd1528306dc21ac0267221e3351fb0da84a6a0aad6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382685f17dd984cc37898fd1528306dc21ac0267221e3351fb0da84a6a0aad6b", kill_on_drop: false }` [INFO] [stdout] 382685f17dd984cc37898fd1528306dc21ac0267221e3351fb0da84a6a0aad6b