[INFO] fetching crate tokio-agent 0.1.0... [INFO] checking tokio-agent-0.1.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate tokio-agent 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tokio-agent 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 tokio-agent 0.1.0 [INFO] finished tweaking crates.io crate tokio-agent 0.1.0 [INFO] tweaked toml for crates.io crate tokio-agent 0.1.0 written to /workspace/builds/worker-7/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] [stderr] Blocking waiting for file lock on package cache [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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c4818328ba838dda0bc88887312a58f08eb65b0e049519ff1621746855ae403 [INFO] running `Command { std: "docker" "start" "-a" "8c4818328ba838dda0bc88887312a58f08eb65b0e049519ff1621746855ae403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c4818328ba838dda0bc88887312a58f08eb65b0e049519ff1621746855ae403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4818328ba838dda0bc88887312a58f08eb65b0e049519ff1621746855ae403", kill_on_drop: false }` [INFO] [stdout] 8c4818328ba838dda0bc88887312a58f08eb65b0e049519ff1621746855ae403 [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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36594ed1ef7a0661287f1d0e19cfc64d188a77be5d676caa56c9f1f8f3c95a67 [INFO] running `Command { std: "docker" "start" "-a" "36594ed1ef7a0661287f1d0e19cfc64d188a77be5d676caa56c9f1f8f3c95a67", 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 libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [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] Compiling tokio v1.21.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `::spawn_task` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub fn spawn_task(initial_state: F) -> Handle [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | F: FnOnce() -> T + Send + 'static, [INFO] [stdout] 81 | | T: Send + 'static, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::spawn_task`, 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 `tokio-agent` 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_task` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub fn spawn_task(initial_state: F) -> Handle [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | F: FnOnce() -> T + Send + 'static, [INFO] [stdout] 81 | | T: Send + 'static, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `::spawn_task::{closure#0}`... [INFO] [stdout] --> src/lib.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 86 | | let mut state = initial_state(); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | while let Some(evaluator) = receiver.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `::spawn_task`, 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 `tokio-agent` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "36594ed1ef7a0661287f1d0e19cfc64d188a77be5d676caa56c9f1f8f3c95a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36594ed1ef7a0661287f1d0e19cfc64d188a77be5d676caa56c9f1f8f3c95a67", kill_on_drop: false }` [INFO] [stdout] 36594ed1ef7a0661287f1d0e19cfc64d188a77be5d676caa56c9f1f8f3c95a67