[INFO] cloning repository https://github.com/PrismaPhonic/tokio-context [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PrismaPhonic/tokio-context" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrismaPhonic%2Ftokio-context", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrismaPhonic%2Ftokio-context'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b6536b3627c8bccfbb4c42b90b544c99ed1c10d [INFO] checking PrismaPhonic/tokio-context against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrismaPhonic%2Ftokio-context" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrismaPhonic/tokio-context 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/PrismaPhonic/tokio-context [INFO] finished tweaking git repo https://github.com/PrismaPhonic/tokio-context [INFO] tweaked toml for git repo https://github.com/PrismaPhonic/tokio-context written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/PrismaPhonic/tokio-context 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-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] cc4c5daa8cea889241c9544870b5022404eb2d263e6cbc537bdd3b19b2e0e2ef [INFO] running `Command { std: "docker" "start" "-a" "cc4c5daa8cea889241c9544870b5022404eb2d263e6cbc537bdd3b19b2e0e2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc4c5daa8cea889241c9544870b5022404eb2d263e6cbc537bdd3b19b2e0e2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4c5daa8cea889241c9544870b5022404eb2d263e6cbc537bdd3b19b2e0e2ef", kill_on_drop: false }` [INFO] [stdout] cc4c5daa8cea889241c9544870b5022404eb2d263e6cbc537bdd3b19b2e0e2ef [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] 3d951c26078d0e796c48ec6b23d13f938843659451a1c3cd06a451fd1bd9deea [INFO] running `Command { std: "docker" "start" "-a" "3d951c26078d0e796c48ec6b23d13f938843659451a1c3cd06a451fd1bd9deea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-macros v1.3.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 `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] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-context` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-context` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3d951c26078d0e796c48ec6b23d13f938843659451a1c3cd06a451fd1bd9deea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d951c26078d0e796c48ec6b23d13f938843659451a1c3cd06a451fd1bd9deea", kill_on_drop: false }` [INFO] [stdout] 3d951c26078d0e796c48ec6b23d13f938843659451a1c3cd06a451fd1bd9deea