[INFO] fetching crate tokio-context 0.1.3... [INFO] checking tokio-context-0.1.3 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate tokio-context 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tokio-context 0.1.3 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-context 0.1.3 [INFO] finished tweaking crates.io crate tokio-context 0.1.3 [INFO] tweaked toml for crates.io crate tokio-context 0.1.3 written to /workspace/builds/worker-2/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-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] 9dd1043f0f6d8a939db6acfdeab361bd4138dec6ccddd22cff9c2b9e6405ede1 [INFO] running `Command { std: "docker" "start" "-a" "9dd1043f0f6d8a939db6acfdeab361bd4138dec6ccddd22cff9c2b9e6405ede1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dd1043f0f6d8a939db6acfdeab361bd4138dec6ccddd22cff9c2b9e6405ede1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd1043f0f6d8a939db6acfdeab361bd4138dec6ccddd22cff9c2b9e6405ede1", kill_on_drop: false }` [INFO] [stdout] 9dd1043f0f6d8a939db6acfdeab361bd4138dec6ccddd22cff9c2b9e6405ede1 [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] e3537e5fb000baa71d90de51d7e2ab90585035d2d3c327e64397a7d8e8cf956b [INFO] running `Command { std: "docker" "start" "-a" "e3537e5fb000baa71d90de51d7e2ab90585035d2d3c327e64397a7d8e8cf956b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 libc v0.2.132 [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-context v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `context::::done` [INFO] [stdout] --> src/context.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / Box::pin(async move { [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/context.rs:275:29: 309:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `context::::done`, 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::::done` [INFO] [stdout] --> src/context.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | / Box::pin(async move { [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/context.rs:275:29: 309:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `context::::done::{closure#0}`... [INFO] [stdout] --> src/context.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 276 | | match (self.timeout, self.parent_ctx.as_ref()) { [INFO] [stdout] 277 | | // Non-chained cases. [INFO] [stdout] 278 | | (Some(instant), None) => { [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `context::::done`, 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 `task::::spawn` [INFO] [stdout] --> src/task.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / pub fn spawn(&mut self, future: T) -> tokio::task::JoinHandle> [INFO] [stdout] 84 | | where [INFO] [stdout] 85 | | T: Future + Send + 'static, [INFO] [stdout] 86 | | T::Output: Send + 'static, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `task::::spawn`, 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] [stderr] error: could not compile `tokio-context` due to 3 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 `task::::spawn` [INFO] [stdout] --> src/task.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / pub fn spawn(&mut self, future: T) -> tokio::task::JoinHandle> [INFO] [stdout] 84 | | where [INFO] [stdout] 85 | | T: Future + Send + 'static, [INFO] [stdout] 86 | | T::Output: Send + 'static, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires elaborating drops for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires borrow-checking `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires processing MIR for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires unsafety-checking `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires building MIR for `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] note: ...which requires type-checking `task::::spawn::{closure#0}`... [INFO] [stdout] --> src/task.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 91 | | tokio::select! { [INFO] [stdout] 92 | | res = future => Some(res), [INFO] [stdout] 93 | | _ = rx.recv() => None, [INFO] [stdout] 94 | | _ = tokio::time::sleep_until(instant) => None, [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: ...which again requires type-checking `task::::spawn`, 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] [stderr] error: could not compile `tokio-context` due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e3537e5fb000baa71d90de51d7e2ab90585035d2d3c327e64397a7d8e8cf956b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3537e5fb000baa71d90de51d7e2ab90585035d2d3c327e64397a7d8e8cf956b", kill_on_drop: false }` [INFO] [stdout] e3537e5fb000baa71d90de51d7e2ab90585035d2d3c327e64397a7d8e8cf956b