[INFO] cloning repository https://github.com/joshua-cooper/async-rust-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshua-cooper/async-rust-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-cooper%2Fasync-rust-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-cooper%2Fasync-rust-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 646dde935375980e9418572593f42ce0c63fc8ad [INFO] checking joshua-cooper/async-rust-example against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-cooper%2Fasync-rust-example" "/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/joshua-cooper/async-rust-example 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/joshua-cooper/async-rust-example [INFO] finished tweaking git repo https://github.com/joshua-cooper/async-rust-example [INFO] tweaked toml for git repo https://github.com/joshua-cooper/async-rust-example written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/joshua-cooper/async-rust-example 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-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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0356407740c66dcecafc81418b1b49905bd1469fbda565505041cb7bd8ab2bc1 [INFO] running `Command { std: "docker" "start" "-a" "0356407740c66dcecafc81418b1b49905bd1469fbda565505041cb7bd8ab2bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0356407740c66dcecafc81418b1b49905bd1469fbda565505041cb7bd8ab2bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0356407740c66dcecafc81418b1b49905bd1469fbda565505041cb7bd8ab2bc1", kill_on_drop: false }` [INFO] [stdout] 0356407740c66dcecafc81418b1b49905bd1469fbda565505041cb7bd8ab2bc1 [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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d36b7a5e35ad2b8034eb5131a2bc7f733f469db8d6b81da938c947fc429c32b [INFO] running `Command { std: "docker" "start" "-a" "6d36b7a5e35ad2b8034eb5131a2bc7f733f469db8d6b81da938c947fc429c32b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking async-task v4.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-lite v1.11.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking polling v2.0.1 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking mio v0.7.3 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stdout] error[E0391]: cycle detected when type-checking `::poll_read` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | / fn poll_read( [INFO] [stdout] 664 | | mut self: Pin<&mut Self>, [INFO] [stdout] 665 | | cx: &mut Context<'_>, [INFO] [stdout] 666 | | buf: &mut [u8], [INFO] [stdout] 667 | | ) -> Poll> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires elaborating drops for `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires borrow-checking `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires processing `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires processing MIR for `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires unsafety-checking `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires building MIR for `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires type-checking `::poll_read::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:691:59 [INFO] [stdout] | [INFO] [stdout] 691 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 692 | | // Copy bytes from the I/O handle into the pipe until the pipe is closed or [INFO] [stdout] 693 | | // an error occurs. [INFO] [stdout] 694 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 700 | | } [INFO] [stdout] 701 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] = note: ...which again requires type-checking `::poll_read`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `::poll_write` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:731:5 [INFO] [stdout] | [INFO] [stdout] 731 | / fn poll_write( [INFO] [stdout] 732 | | mut self: Pin<&mut Self>, [INFO] [stdout] 733 | | cx: &mut Context<'_>, [INFO] [stdout] 734 | | buf: &[u8], [INFO] [stdout] 735 | | ) -> Poll> { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires elaborating drops for `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires borrow-checking `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires processing `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires processing MIR for `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires unsafety-checking `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires building MIR for `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] note: ...which requires type-checking `::poll_write::{closure#0}`... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/blocking-1.0.2/src/lib.rs:759:59 [INFO] [stdout] | [INFO] [stdout] 759 | let task = Executor::spawn(async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 760 | | // Copy bytes from the pipe into the I/O handle until the pipe is closed or an [INFO] [stdout] 761 | | // error occurs. Flush the I/O handle at the end. [INFO] [stdout] 762 | | loop { [INFO] [stdout] ... | [INFO] [stdout] 771 | | } [INFO] [stdout] 772 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] = note: ...which again requires type-checking `::poll_write`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blocking` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6d36b7a5e35ad2b8034eb5131a2bc7f733f469db8d6b81da938c947fc429c32b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d36b7a5e35ad2b8034eb5131a2bc7f733f469db8d6b81da938c947fc429c32b", kill_on_drop: false }` [INFO] [stdout] 6d36b7a5e35ad2b8034eb5131a2bc7f733f469db8d6b81da938c947fc429c32b