[INFO] fetching crate tokio-scoped 0.2.0... [INFO] checking tokio-scoped-0.2.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate tokio-scoped 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tokio-scoped 0.2.0 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-scoped 0.2.0 [INFO] finished tweaking crates.io crate tokio-scoped 0.2.0 [INFO] tweaked toml for crates.io crate tokio-scoped 0.2.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e9bad126d996fca695b2f7f5109f4ab6273adb689e6917124427751d88ba03b [INFO] running `Command { std: "docker" "start" "-a" "6e9bad126d996fca695b2f7f5109f4ab6273adb689e6917124427751d88ba03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e9bad126d996fca695b2f7f5109f4ab6273adb689e6917124427751d88ba03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9bad126d996fca695b2f7f5109f4ab6273adb689e6917124427751d88ba03b", kill_on_drop: false }` [INFO] [stdout] 6e9bad126d996fca695b2f7f5109f4ab6273adb689e6917124427751d88ba03b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ada0bb5dd8d1564a9ffb6053ef80411b5d75aaee6016c8e85390e7cf4ca1cc67 [INFO] running `Command { std: "docker" "start" "-a" "ada0bb5dd8d1564a9ffb6053ef80411b5d75aaee6016c8e85390e7cf4ca1cc67", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking tokio-scoped v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `testing::access_mut_stack` [INFO] [stdout] --> src/lib.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/lib.rs:311:31: 316:14]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `testing::access_mut_stack::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:311:31 [INFO] [stdout] | [INFO] [stdout] 311 | scope.spawn(async { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 312 | | let f = scoped.scope(|scope2| scope2.block_on(async { 4 })); [INFO] [stdout] 313 | | assert_eq!(f, 4); [INFO] [stdout] 314 | | tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 315 | | uncopy.push('!'); [INFO] [stdout] 316 | | }); [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `testing::access_mut_stack`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-scoped` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ada0bb5dd8d1564a9ffb6053ef80411b5d75aaee6016c8e85390e7cf4ca1cc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada0bb5dd8d1564a9ffb6053ef80411b5d75aaee6016c8e85390e7cf4ca1cc67", kill_on_drop: false }` [INFO] [stdout] ada0bb5dd8d1564a9ffb6053ef80411b5d75aaee6016c8e85390e7cf4ca1cc67