[INFO] fetching crate desktop2mqtt 0.2.0... [INFO] checking desktop2mqtt-0.2.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate desktop2mqtt 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate desktop2mqtt 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 desktop2mqtt 0.2.0 [INFO] finished tweaking crates.io crate desktop2mqtt 0.2.0 [INFO] tweaked toml for crates.io crate desktop2mqtt 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate desktop2mqtt 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3856305317f5a40f63a494f58ed2547247c149125c2645334eb854c196fbc282 [INFO] running `Command { std: "docker" "start" "-a" "3856305317f5a40f63a494f58ed2547247c149125c2645334eb854c196fbc282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3856305317f5a40f63a494f58ed2547247c149125c2645334eb854c196fbc282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3856305317f5a40f63a494f58ed2547247c149125c2645334eb854c196fbc282", kill_on_drop: false }` [INFO] [stdout] 3856305317f5a40f63a494f58ed2547247c149125c2645334eb854c196fbc282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40de1230bf6a866652c1e11e288fc40a86401666ec60e610409d0da70bebf6a7 [INFO] running `Command { std: "docker" "start" "-a" "40de1230bf6a866652c1e11e288fc40a86401666ec60e610409d0da70bebf6a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nb-connect v1.2.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mqttrs v0.2.0 [INFO] [stderr] Checking user-idle v0.4.0 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking systemstat v0.1.8 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking mqtt-async-client v0.2.0 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking humantime-serde v1.0.1 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling zvariant_derive v2.6.0 [INFO] [stderr] Compiling zbus_macros v1.9.1 [INFO] [stderr] Checking zvariant v2.6.0 [INFO] [stderr] Checking zbus v1.9.1 [INFO] [stderr] Checking notify-rust v4.5.2 [INFO] [stderr] Checking desktop2mqtt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `modules::notifications::::run` [INFO] [stdout] --> src/modules/notifications.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | }.boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/modules/notifications.rs:30:20: 48:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `modules::notifications::::run`, 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 `core::mqtt::::run` [INFO] [stdout] --> src/core/mqtt.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | fn run(&mut self, config: &Config) -> BoxFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `core::mqtt::::run`, 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 `desktop2mqtt` 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 `modules::notifications::::run` [INFO] [stdout] --> src/modules/notifications.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | }.boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/modules/notifications.rs:30:20: 48:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `modules::notifications::::run::{closure#0}`... [INFO] [stdout] --> src/modules/notifications.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | self.sender.send(MqttCommand::Subscribe(topic.clone()))?; [INFO] [stdout] 32 | | while let Ok(msg) = self.receiver.recv().await { [INFO] [stdout] 33 | | if msg.topic != topic { [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(()) [INFO] [stdout] 48 | | }.boxed() [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `modules::notifications::::run`, 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 `core::mqtt::::run` [INFO] [stdout] --> src/core/mqtt.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | fn run(&mut self, config: &Config) -> BoxFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `core::mqtt::::run::{closure#0}`... [INFO] [stdout] --> src/core/mqtt.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | self.publish(MqttMessage { [INFO] [stdout] 38 | | topic: format!("desktop2mqtt/{}/availability", entity_id), [INFO] [stdout] 39 | | payload: "online".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `core::mqtt::::run`, 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 `desktop2mqtt` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "40de1230bf6a866652c1e11e288fc40a86401666ec60e610409d0da70bebf6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40de1230bf6a866652c1e11e288fc40a86401666ec60e610409d0da70bebf6a7", kill_on_drop: false }` [INFO] [stdout] 40de1230bf6a866652c1e11e288fc40a86401666ec60e610409d0da70bebf6a7