[INFO] fetching crate bluetooth-rust 0.2.4... [INFO] checking bluetooth-rust-0.2.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bluetooth-rust 0.2.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate bluetooth-rust 0.2.4 [INFO] finished tweaking crates.io crate bluetooth-rust 0.2.4 [INFO] tweaked toml for crates.io crate bluetooth-rust 0.2.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bluetooth-rust 0.2.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bluetooth-rust 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c914f8ee7d2ef737a53d9f0244924aebb6eebce4863be505b53016a135abfe [INFO] running `Command { std: "docker" "start" "-a" "83c914f8ee7d2ef737a53d9f0244924aebb6eebce4863be505b53016a135abfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c914f8ee7d2ef737a53d9f0244924aebb6eebce4863be505b53016a135abfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c914f8ee7d2ef737a53d9f0244924aebb6eebce4863be505b53016a135abfe", kill_on_drop: false }` [INFO] [stdout] 83c914f8ee7d2ef737a53d9f0244924aebb6eebce4863be505b53016a135abfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b5e9d184e65426bb99bf5e5bd24b60f504baac22a2d67c9c74c5c9db5f07a27 [INFO] running `Command { std: "docker" "start" "-a" "9b5e9d184e65426bb99bf5e5bd24b60f504baac22a2d67c9c74c5c9db5f07a27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ouroboros v0.18.5 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling custom_debug_derive v0.6.2 [INFO] [stderr] Checking custom_debug v0.6.2 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking dbus-crossroads v0.5.2 [INFO] [stderr] Checking dbus-tokio v0.7.6 [INFO] [stderr] Compiling bluer v0.17.3 [INFO] [stderr] Checking bluetooth-rust v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/linux.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/linux.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceProperty` [INFO] [stdout] --> src/linux.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use bluer::{AdapterEvent, DeviceProperty}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeviceProperty` [INFO] [stdout] --> src/linux.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use bluer::{AdapterEvent, DeviceProperty}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/linux.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | for p in ps {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/linux.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | for p in ps {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 238 | / return Ok(BluetoothAdapter::Bluez( [INFO] [stdout] 239 | | linux::BluetoothHandler::new(self.s.unwrap()).await?, [INFO] [stdout] 240 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] 241 | } [INFO] [stdout] 242 | Err("No builders available".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 238 | / return Ok(BluetoothAdapter::Bluez( [INFO] [stdout] 239 | | linux::BluetoothHandler::new(self.s.unwrap()).await?, [INFO] [stdout] 240 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] 241 | } [INFO] [stdout] 242 | Err("No builders available".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/linux.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | uuid: crate::BluetoothUuid, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_secure` [INFO] [stdout] --> src/linux.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | is_secure: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_secure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/linux.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | uuid: crate::BluetoothUuid, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_secure` [INFO] [stdout] --> src/linux.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | is_secure: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_secure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adapter` [INFO] [stdout] --> src/linux.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for adapter in &self.adapters { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adapter` [INFO] [stdout] --> src/linux.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | for adapter in &self.adapters { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/linux.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BluetoothRfcommSocket { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 57 | /// The rfcomm socket data, TODO [INFO] [stdout] 58 | inner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enable` and `disable` are never used [INFO] [stdout] --> src/linux.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 160 | impl BluetoothHandler { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | async fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | async fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/linux.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BluetoothRfcommSocket { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 57 | /// The rfcomm socket data, TODO [INFO] [stdout] 58 | inner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enable` and `disable` are never used [INFO] [stdout] --> src/linux.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 160 | impl BluetoothHandler { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | async fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | async fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | async fn register_rfcomm_profile( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 120 ~ fn register_rfcomm_profile( [INFO] [stdout] 121 | &self, [INFO] [stdout] 122 | settings: BluetoothRfcommProfileSettings, [INFO] [stdout] 123 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | fn start_discovery(&self) -> BluetoothDiscovery; [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | fn start_discovery(&self) -> BluetoothDiscovery<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | async fn addresses(&self) -> Vec<[u8;6]>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 129 - async fn addresses(&self) -> Vec<[u8;6]>; [INFO] [stdout] 129 + fn addresses(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | async fn set_discoverable(&self, d: bool) -> Result<(), ()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 131 - async fn set_discoverable(&self, d: bool) -> Result<(), ()>; [INFO] [stdout] 131 + fn set_discoverable(&self, d: bool) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 166 | ) -> Result; [INFO] [stdout] | --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Result, String>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | async fn register_rfcomm_profile( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 120 ~ fn register_rfcomm_profile( [INFO] [stdout] 121 | &self, [INFO] [stdout] 122 | settings: BluetoothRfcommProfileSettings, [INFO] [stdout] 123 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | fn start_discovery(&self) -> BluetoothDiscovery; [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | fn start_discovery(&self) -> BluetoothDiscovery<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | async fn addresses(&self) -> Vec<[u8;6]>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 129 - async fn addresses(&self) -> Vec<[u8;6]>; [INFO] [stdout] 129 + fn addresses(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | async fn set_discoverable(&self, d: bool) -> Result<(), ()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 131 - async fn set_discoverable(&self, d: bool) -> Result<(), ()>; [INFO] [stdout] 131 + fn set_discoverable(&self, d: bool) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | async fn accept(self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 326 - async fn accept(self) -> Result; [INFO] [stdout] 326 + fn accept(self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 166 | ) -> Result; [INFO] [stdout] | --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Result, String>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | async fn accept(self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 326 - async fn accept(self) -> Result; [INFO] [stdout] 326 + fn accept(self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | async fn connectable(&mut self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 341 - async fn connectable(&mut self) -> Result; [INFO] [stdout] 341 + fn connectable(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 50 | ) -> Result { [INFO] [stdout] | ---------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | ) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | async fn connectable(&mut self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 341 - async fn connectable(&mut self) -> Result; [INFO] [stdout] 341 + fn connectable(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 50 | ) -> Result { [INFO] [stdout] | ---------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | ) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | fn start_discovery(&self) -> crate::BluetoothDiscovery { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | fn start_discovery(&self) -> crate::BluetoothDiscovery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linux.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | fn start_discovery(&self) -> crate::BluetoothDiscovery { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 130 | fn start_discovery(&self) -> crate::BluetoothDiscovery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.17.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9b5e9d184e65426bb99bf5e5bd24b60f504baac22a2d67c9c74c5c9db5f07a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5e9d184e65426bb99bf5e5bd24b60f504baac22a2d67c9c74c5c9db5f07a27", kill_on_drop: false }` [INFO] [stdout] 9b5e9d184e65426bb99bf5e5bd24b60f504baac22a2d67c9c74c5c9db5f07a27