[INFO] cloning repository https://github.com/rowan-sl/dabus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rowan-sl/dabus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowan-sl%2Fdabus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowan-sl%2Fdabus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 627f72cfe2cd9e1870c09a31e01fbb426f72dade [INFO] checking rowan-sl/dabus against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frowan-sl%2Fdabus" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rowan-sl/dabus 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] removed /workspace/builds/worker-2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/rowan-sl/dabus [INFO] finished tweaking git repo https://github.com/rowan-sl/dabus [INFO] tweaked toml for git repo https://github.com/rowan-sl/dabus written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/rowan-sl/dabus 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-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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c8deaa9dd9fb9c92b6e83c40bacae0c538c2a08c70cee500f877efb940c02b [INFO] running `Command { std: "docker" "start" "-a" "c5c8deaa9dd9fb9c92b6e83c40bacae0c538c2a08c70cee500f877efb940c02b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c8deaa9dd9fb9c92b6e83c40bacae0c538c2a08c70cee500f877efb940c02b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c8deaa9dd9fb9c92b6e83c40bacae0c538c2a08c70cee500f877efb940c02b", kill_on_drop: false }` [INFO] [stdout] c5c8deaa9dd9fb9c92b6e83c40bacae0c538c2a08c70cee500f877efb940c02b [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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e37c90bfa5c1c0f244eb133c80950e5a1aa86431cc5861b8f386957ff9f14fbc [INFO] running `Command { std: "docker" "start" "-a" "e37c90bfa5c1c0f244eb133c80950e5a1aa86431cc5861b8f386957ff9f14fbc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unique-type v0.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking uuid v1.1.0 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking dabus v0.5.0 (/opt/rustwide/workdir/dabus) [INFO] [stdout] error[E0391]: cycle detected when type-checking `event::async_fn_ptr::::call` [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / unsafe fn call<'a>( [INFO] [stdout] 76 | | &'a self, [INFO] [stdout] 77 | | h: &'a mut DynVar, [INFO] [stdout] 78 | | a: DynVar, [INFO] [stdout] 79 | | i: BusInterface, [INFO] [stdout] 80 | | ) -> BoxFuture<'a, DynVar> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `event::async_fn_ptr::::call`, 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 `stop::::handle_raw_event` [INFO] [stdout] --> dabus/src/stop.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | async unsafe fn handle_raw_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `stop::::handle_raw_event`, 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 `dabus` 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 `event::async_fn_ptr::::call` [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / unsafe fn call<'a>( [INFO] [stdout] 76 | | &'a self, [INFO] [stdout] 77 | | h: &'a mut DynVar, [INFO] [stdout] 78 | | a: DynVar, [INFO] [stdout] 79 | | i: BusInterface, [INFO] [stdout] 80 | | ) -> BoxFuture<'a, DynVar> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `event::async_fn_ptr::::call::{closure#0}`... [INFO] [stdout] --> dabus/src/event/async_fn_ptr.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | let h = h.as_mut_unchecked::(); [INFO] [stdout] 83 | | let a = a.try_to_unchecked::(); [INFO] [stdout] 84 | | let r = self.call(h, a, i).await; [INFO] [stdout] 85 | | DynVar::new(r) [INFO] [stdout] 86 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `event::async_fn_ptr::::call`, 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 `stop::::handle_raw_event` [INFO] [stdout] --> dabus/src/stop.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | async unsafe fn handle_raw_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `stop::::handle_raw_event::{closure#0}`... [INFO] [stdout] --> dabus/src/stop.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> (Self, DynVar) /* the hidden return type */ { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 42 | | // TODO make this not query handlers each and every event [INFO] [stdout] 43 | | let mut handlers = T::registered_handlers(EventRegister::new()) [INFO] [stdout] 44 | | .handlers [INFO] [stdout] ... | [INFO] [stdout] 58 | | (typed_self, res) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `stop::::handle_raw_event`, 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 `dabus` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e37c90bfa5c1c0f244eb133c80950e5a1aa86431cc5861b8f386957ff9f14fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37c90bfa5c1c0f244eb133c80950e5a1aa86431cc5861b8f386957ff9f14fbc", kill_on_drop: false }` [INFO] [stdout] e37c90bfa5c1c0f244eb133c80950e5a1aa86431cc5861b8f386957ff9f14fbc