[INFO] fetching crate async-scoped 0.9.0... [INFO] checking async-scoped-0.9.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate async-scoped 0.9.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate async-scoped 0.9.0 [INFO] finished tweaking crates.io crate async-scoped 0.9.0 [INFO] tweaked toml for crates.io crate async-scoped 0.9.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-scoped 0.9.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded femme v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1358fc37dd997e1e8eb4e10f1d1c3189959fd1b5ff5a3d41c7a762e4b30934de [INFO] running `Command { std: "docker" "start" "-a" "1358fc37dd997e1e8eb4e10f1d1c3189959fd1b5ff5a3d41c7a762e4b30934de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1358fc37dd997e1e8eb4e10f1d1c3189959fd1b5ff5a3d41c7a762e4b30934de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1358fc37dd997e1e8eb4e10f1d1c3189959fd1b5ff5a3d41c7a762e4b30934de", kill_on_drop: false }` [INFO] [stdout] 1358fc37dd997e1e8eb4e10f1d1c3189959fd1b5ff5a3d41c7a762e4b30934de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa65cc81c5c197ec99017b46d5965cff41ad851d6d76b7ce009d865ae53016d1 [INFO] running `Command { std: "docker" "start" "-a" "fa65cc81c5c197ec99017b46d5965cff41ad851d6d76b7ce009d865ae53016d1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking value-bag-serde1 v1.11.1 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-io v2.4.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking femme v2.2.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking async-scoped v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `cfg_async_std` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! cfg_async_std { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_tokio` [INFO] [stdout] --> src/utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! cfg_tokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_any_spawner` [INFO] [stdout] --> src/utils.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! cfg_any_spawner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let (stream, _) = unsafe { Scope::scope(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | let ((), vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut s = Scope::create(Default::default()); [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let (_, vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | let ((), vals) = Scope::scope_and_block(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | let ((), vals) = Scope::scope_and_block(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let ((), items) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let ((), items) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { Scope::scope_and_collect(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | let mut s = unsafe { Scope::create(Default::default()) }; [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 332 | let (_, r) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_tokio` [INFO] [stdout] --> src/utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! cfg_tokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_any_spawner` [INFO] [stdout] --> src/utils.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! cfg_any_spawner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `()` is not an iterator [INFO] [stdout] --> benches/spawner.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | r.into_iter().for_each(|v| { [INFO] [stdout] | ^^^^^^^^^ `()` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(): Iterator` [INFO] [stdout] which is required by `(): IntoIterator` [INFO] [stdout] `&(): Iterator` [INFO] [stdout] which is required by `&(): IntoIterator` [INFO] [stdout] `&mut (): Iterator` [INFO] [stdout] which is required by `&mut (): IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `future_value` in this scope [INFO] [stdout] --> src/tests.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(future_value(i), true); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `future_value` in this scope [INFO] [stdout] --> src/tests.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(future_value(i), false); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-scoped` (bench "spawner") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-scoped` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa65cc81c5c197ec99017b46d5965cff41ad851d6d76b7ce009d865ae53016d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa65cc81c5c197ec99017b46d5965cff41ad851d6d76b7ce009d865ae53016d1", kill_on_drop: false }` [INFO] [stdout] fa65cc81c5c197ec99017b46d5965cff41ad851d6d76b7ce009d865ae53016d1