[INFO] fetching crate apool 0.1.3... [INFO] checking apool-0.1.3 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate apool 0.1.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate apool 0.1.3 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 apool 0.1.3 [INFO] finished tweaking crates.io crate apool 0.1.3 [INFO] tweaked toml for crates.io crate apool 0.1.3 written to /workspace/builds/worker-6/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 234a42aec101923a82dbe379d4187e473cccbd17169c547055fc9c003ce3cda8 [INFO] running `Command { std: "docker" "start" "-a" "234a42aec101923a82dbe379d4187e473cccbd17169c547055fc9c003ce3cda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "234a42aec101923a82dbe379d4187e473cccbd17169c547055fc9c003ce3cda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "234a42aec101923a82dbe379d4187e473cccbd17169c547055fc9c003ce3cda8", kill_on_drop: false }` [INFO] [stdout] 234a42aec101923a82dbe379d4187e473cccbd17169c547055fc9c003ce3cda8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 77a6a0173d03a81049a6cc86bb55a1c9ff835561e57a3d4caee1e2702136558b [INFO] running `Command { std: "docker" "start" "-a" "77a6a0173d03a81049a6cc86bb55a1c9ff835561e57a3d4caee1e2702136558b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking apool v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `::drop` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::drop`, 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] [stdout] error[E0391]: cycle detected when type-checking `::drop` [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::drop::{closure#0}`... [INFO] [stdout] --> src/lib.rs:155:60 [INFO] [stdout] | [INFO] [stdout] 155 | tokio::runtime::Handle::current().spawn(async move { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 156 | | let mut llock = mutex.lock().await; [INFO] [stdout] 157 | | let index = (0usize..) [INFO] [stdout] 158 | | .zip(llock.iter()) [INFO] [stdout] ... | [INFO] [stdout] 164 | | drop(permit); [INFO] [stdout] 165 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::drop`, 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 `apool` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `apool` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "77a6a0173d03a81049a6cc86bb55a1c9ff835561e57a3d4caee1e2702136558b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a6a0173d03a81049a6cc86bb55a1c9ff835561e57a3d4caee1e2702136558b", kill_on_drop: false }` [INFO] [stdout] 77a6a0173d03a81049a6cc86bb55a1c9ff835561e57a3d4caee1e2702136558b