[INFO] cloning repository https://github.com/deviceplug/btleplug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deviceplug/btleplug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeviceplug%2Fbtleplug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeviceplug%2Fbtleplug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8df5bc4a6eb382e4fa871324a1321c1dc7e4f1e [INFO] checking deviceplug/btleplug against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeviceplug%2Fbtleplug" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deviceplug/btleplug 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/deviceplug/btleplug [INFO] finished tweaking git repo https://github.com/deviceplug/btleplug [INFO] tweaked toml for git repo https://github.com/deviceplug/btleplug written to /workspace/builds/worker-6/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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] c3e2377d65649fb6898ea2ab5c5f270a5f80566bf1b30301739bfdd5b85e4276 [INFO] running `Command { std: "docker" "start" "-a" "c3e2377d65649fb6898ea2ab5c5f270a5f80566bf1b30301739bfdd5b85e4276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3e2377d65649fb6898ea2ab5c5f270a5f80566bf1b30301739bfdd5b85e4276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3e2377d65649fb6898ea2ab5c5f270a5f80566bf1b30301739bfdd5b85e4276", kill_on_drop: false }` [INFO] [stdout] c3e2377d65649fb6898ea2ab5c5f270a5f80566bf1b30301739bfdd5b85e4276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 44698a44bb61bc5afb811a75587ba6f7fa591ed9b48085ca5f8e0285f7447fb8 [INFO] running `Command { std: "docker" "start" "-a" "44698a44bb61bc5afb811a75587ba6f7fa591ed9b48085ca5f8e0285f7447fb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking dbus v0.9.6 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking dbus-tokio v0.7.5 [INFO] [stderr] Checking bluez-generated v0.2.1 [INFO] [stderr] Checking serde-xml-rs v0.5.1 [INFO] [stderr] Checking bluez-async v0.6.0 [INFO] [stderr] Checking btleplug v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BDAddr` [INFO] [stdout] --> src/bluez/adapter.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::api::{BDAddr, Central, CentralEvent, ScanFilter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BDAddr` [INFO] [stdout] --> src/bluez/adapter.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::api::{BDAddr, Central, CentralEvent, ScanFilter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `bluez::adapter::::events` [INFO] [stdout] --> src/bluez/adapter.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `bluez::adapter::::events`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btleplug` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `bluez::adapter::::events` [INFO] [stdout] --> src/bluez/adapter.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `bluez::adapter::::events::{closure#0}`... [INFO] [stdout] --> src/bluez/adapter.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | async fn events(&self) -> Result + Send>>> { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 30 | | // There's a race between getting this event stream and getting the current set of devices. [INFO] [stdout] 31 | | // Get the stream first, on the basis that it's better to have a duplicate DeviceDiscovered [INFO] [stdout] 32 | | // event than to miss one. It's unlikely to happen in any case. [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(Box::pin(initial_events.chain(events))) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `bluez::adapter::::events`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btleplug` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "44698a44bb61bc5afb811a75587ba6f7fa591ed9b48085ca5f8e0285f7447fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44698a44bb61bc5afb811a75587ba6f7fa591ed9b48085ca5f8e0285f7447fb8", kill_on_drop: false }` [INFO] [stdout] 44698a44bb61bc5afb811a75587ba6f7fa591ed9b48085ca5f8e0285f7447fb8