[INFO] fetching crate async-scoped 0.9.0... [INFO] checking async-scoped-0.9.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate async-scoped 0.9.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate async-scoped 0.9.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0b7281c0ad9fdfcefc5e0e325ff40433355d864dacb5ad5606f295983030b79 [INFO] running `Command { std: "docker" "start" "-a" "b0b7281c0ad9fdfcefc5e0e325ff40433355d864dacb5ad5606f295983030b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0b7281c0ad9fdfcefc5e0e325ff40433355d864dacb5ad5606f295983030b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b7281c0ad9fdfcefc5e0e325ff40433355d864dacb5ad5606f295983030b79", kill_on_drop: false }` [INFO] [stdout] b0b7281c0ad9fdfcefc5e0e325ff40433355d864dacb5ad5606f295983030b79 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa62fc8831a79301c77177eb71da13c563284ee1b262eb457d4cfdbd3bcd7e4 [INFO] running `Command { std: "docker" "start" "-a" "0aa62fc8831a79301c77177eb71da13c563284ee1b262eb457d4cfdbd3bcd7e4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking value-bag-serde1 v1.9.0 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking femme v2.2.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [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] warning: 3 warnings emitted [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] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/tests.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/tests.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/tests.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [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: aborting due to 1 previous error [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` (lib test) due to 15 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-scoped` (bench "spawner") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0aa62fc8831a79301c77177eb71da13c563284ee1b262eb457d4cfdbd3bcd7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa62fc8831a79301c77177eb71da13c563284ee1b262eb457d4cfdbd3bcd7e4", kill_on_drop: false }` [INFO] [stdout] 0aa62fc8831a79301c77177eb71da13c563284ee1b262eb457d4cfdbd3bcd7e4