[INFO] fetching crate tokio-task-manager 0.2.0... [INFO] checking tokio-task-manager-0.2.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate tokio-task-manager 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tokio-task-manager 0.2.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-task-manager 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tokio-task-manager 0.2.0 [INFO] tweaked toml for crates.io crate tokio-task-manager 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate tokio-task-manager 0.2.0 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 199fa6f6f227e358334e0e8e01d39f938fa2935a4ccd057c4d9da097d53953b9 [INFO] running `Command { std: "docker" "start" "-a" "199fa6f6f227e358334e0e8e01d39f938fa2935a4ccd057c4d9da097d53953b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "199fa6f6f227e358334e0e8e01d39f938fa2935a4ccd057c4d9da097d53953b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "199fa6f6f227e358334e0e8e01d39f938fa2935a4ccd057c4d9da097d53953b9", kill_on_drop: false }` [INFO] [stdout] 199fa6f6f227e358334e0e8e01d39f938fa2935a4ccd057c4d9da097d53953b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] c975cd8ae68b9999922a45cea6458641b44e1c46412b7e332b62f04af4962af5 [INFO] running `Command { std: "docker" "start" "-a" "c975cd8ae68b9999922a45cea6458641b44e1c46412b7e332b62f04af4962af5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-task-manager v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> examples/tcp-echo-server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@examples/tcp-echo-server.rs:17:29: 38:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> examples/tcp-echo-server.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 18 | | loop { [INFO] [stdout] 19 | | let (stream, addr) = tokio::select! { [INFO] [stdout] 20 | | r = listener.accept() => match r { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `main`, 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 `tokio-task-manager` 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 `tests::task_manager_graceful_shutdown` [INFO] [stdout] --> src/lib.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/lib.rs:288:41: 294:18]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires elaborating drops for `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires borrow-checking `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires processing `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires processing MIR for `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires unsafety-checking `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires building MIR for `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] note: ...which requires type-checking `tests::task_manager_graceful_shutdown::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/lib.rs:288:41 [INFO] [stdout] | [INFO] [stdout] 288 | tokio::spawn(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 289 | | tokio::time::sleep(Duration::from_millis(m * 10)).await; [INFO] [stdout] 290 | | tokio::select! { [INFO] [stdout] 291 | | result = child_tx.send((m+1)*10) => assert!(result.is_ok()), [INFO] [stdout] 292 | | _ = child_task.wait() => (), [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |_________________^ [INFO] [stdout] = note: ...which again requires type-checking `tests::task_manager_graceful_shutdown`, 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-task-manager` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c975cd8ae68b9999922a45cea6458641b44e1c46412b7e332b62f04af4962af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c975cd8ae68b9999922a45cea6458641b44e1c46412b7e332b62f04af4962af5", kill_on_drop: false }` [INFO] [stdout] c975cd8ae68b9999922a45cea6458641b44e1c46412b7e332b62f04af4962af5