[INFO] cloning repository https://github.com/post-rex/apool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/post-rex/apool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fapool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fapool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5dbe282dba3c696f2b8458683d6187b5d825160 [INFO] checking post-rex/apool against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fapool" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/post-rex/apool 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 git repo https://github.com/post-rex/apool [INFO] finished tweaking git repo https://github.com/post-rex/apool [INFO] tweaked toml for git repo https://github.com/post-rex/apool written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/post-rex/apool already has a lockfile, it will not be regenerated [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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00dd086743b7d2c866d9ffe75d3e6955278a04a0c681d6fc5b9b0b262c177552 [INFO] running `Command { std: "docker" "start" "-a" "00dd086743b7d2c866d9ffe75d3e6955278a04a0c681d6fc5b9b0b262c177552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00dd086743b7d2c866d9ffe75d3e6955278a04a0c681d6fc5b9b0b262c177552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00dd086743b7d2c866d9ffe75d3e6955278a04a0c681d6fc5b9b0b262c177552", kill_on_drop: false }` [INFO] [stdout] 00dd086743b7d2c866d9ffe75d3e6955278a04a0c681d6fc5b9b0b262c177552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da793a8dc59cb4ad55720337c9c5740893ed6b6477143afb029d55eb6fef95b9 [INFO] running `Command { std: "docker" "start" "-a" "da793a8dc59cb4ad55720337c9c5740893ed6b6477143afb029d55eb6fef95b9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling tokio v1.10.0 [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] [stderr] error: could not compile `apool` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "da793a8dc59cb4ad55720337c9c5740893ed6b6477143afb029d55eb6fef95b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da793a8dc59cb4ad55720337c9c5740893ed6b6477143afb029d55eb6fef95b9", kill_on_drop: false }` [INFO] [stdout] da793a8dc59cb4ad55720337c9c5740893ed6b6477143afb029d55eb6fef95b9