[INFO] fetching crate task-compat 0.1.0... [INFO] checking task-compat-0.1.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate task-compat 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate task-compat 0.1.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 task-compat 0.1.0 [INFO] finished tweaking crates.io crate task-compat 0.1.0 [INFO] tweaked toml for crates.io crate task-compat 0.1.0 written to /workspace/builds/worker-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 4ffa1e6c557b445fcfff1d727b8881f0b3f83693aaabf823d2f98f34849c1039 [INFO] running `Command { std: "docker" "start" "-a" "4ffa1e6c557b445fcfff1d727b8881f0b3f83693aaabf823d2f98f34849c1039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ffa1e6c557b445fcfff1d727b8881f0b3f83693aaabf823d2f98f34849c1039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffa1e6c557b445fcfff1d727b8881f0b3f83693aaabf823d2f98f34849c1039", kill_on_drop: false }` [INFO] [stdout] 4ffa1e6c557b445fcfff1d727b8881f0b3f83693aaabf823d2f98f34849c1039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] bd435f686ba16087f990ea97ef739004b6e5f4f30ab6c936a26e911d5b8f79e1 [INFO] running `Command { std: "docker" "start" "-a" "bd435f686ba16087f990ea97ef739004b6e5f4f30ab6c936a26e911d5b8f79e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking task-compat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `notify` [INFO] [stdout] --> tests/smoke.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | tokio::spawn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@tests/smoke.rs:12:24: 12:92]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `notify::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | async move { poll_fn(|cx| poll_01_to_03(with_notify(cx, || rx.poll()))).await }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `notify`, 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 `context` [INFO] [stdout] --> tests/smoke.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@tests/smoke.rs:29:38: 35:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `context::{closure#0}::{closure#0}`... [INFO] [stdout] --> tests/smoke.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let jh = tokio::spawn(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 30 | | let fut = poll_fn(|| { [INFO] [stdout] 31 | | let poll = with_context(|cx| Pin::new(&mut rx).poll(cx)); [INFO] [stdout] 32 | | poll_03_to_01(poll) [INFO] [stdout] 33 | | }); [INFO] [stdout] 34 | | Compat01As03::new(fut).await [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `context`, 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 `task-compat` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "bd435f686ba16087f990ea97ef739004b6e5f4f30ab6c936a26e911d5b8f79e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd435f686ba16087f990ea97ef739004b6e5f4f30ab6c936a26e911d5b8f79e1", kill_on_drop: false }` [INFO] [stdout] bd435f686ba16087f990ea97ef739004b6e5f4f30ab6c936a26e911d5b8f79e1