[INFO] cloning repository https://github.com/Kumassy/async-cancellation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kumassy/async-cancellation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70f802343afe6d60577469c739fe7aa933f10c42 [INFO] checking Kumassy/async-cancellation against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKumassy%2Fasync-cancellation" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kumassy/async-cancellation 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/Kumassy/async-cancellation [INFO] finished tweaking git repo https://github.com/Kumassy/async-cancellation [INFO] tweaked toml for git repo https://github.com/Kumassy/async-cancellation written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Kumassy/async-cancellation 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 0d0ac0340c5d6dd773750de8de91d65ea51a256c1350ab7847488f4b882e26f0 [INFO] running `Command { std: "docker" "start" "-a" "0d0ac0340c5d6dd773750de8de91d65ea51a256c1350ab7847488f4b882e26f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d0ac0340c5d6dd773750de8de91d65ea51a256c1350ab7847488f4b882e26f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0ac0340c5d6dd773750de8de91d65ea51a256c1350ab7847488f4b882e26f0", kill_on_drop: false }` [INFO] [stdout] 0d0ac0340c5d6dd773750de8de91d65ea51a256c1350ab7847488f4b882e26f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 19b5928013923d349f1f3779cd19911b418e2c9a9d10a5cb9be52ff69c37b7ad [INFO] running `Command { std: "docker" "start" "-a" "19b5928013923d349f1f3779cd19911b418e2c9a9d10a5cb9be52ff69c37b7ad", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking async-cancellation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::net::{TcpListener, TcpStream, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `spawn_tcpread_select` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / async fn spawn_tcpread_select(addr: A, token: CancellationToken) -> io::Result> [INFO] [stdout] 21 | | where A: ToSocketAddrs { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `spawn_tcpread_select`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `spawn_tcpread_select` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / async fn spawn_tcpread_select(addr: A, token: CancellationToken) -> io::Result> [INFO] [stdout] 21 | | where A: ToSocketAddrs { [INFO] [stdout] | |______________________^ [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 `async-cancellation` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `spawn_tcpread_select` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / async fn spawn_tcpread_select(addr: A, token: CancellationToken) -> io::Result> [INFO] [stdout] 21 | | where A: ToSocketAddrs { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `spawn_tcpread_select::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let handle = tokio::spawn(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 26 | | loop { [INFO] [stdout] 27 | | tokio::select! { [INFO] [stdout] 28 | | result = listener.accept() => { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `spawn_tcpread_select`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `spawn_tcpread_select` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / async fn spawn_tcpread_select(addr: A, token: CancellationToken) -> io::Result> [INFO] [stdout] 21 | | where A: ToSocketAddrs { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-cancellation` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "19b5928013923d349f1f3779cd19911b418e2c9a9d10a5cb9be52ff69c37b7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b5928013923d349f1f3779cd19911b418e2c9a9d10a5cb9be52ff69c37b7ad", kill_on_drop: false }` [INFO] [stdout] 19b5928013923d349f1f3779cd19911b418e2c9a9d10a5cb9be52ff69c37b7ad