[INFO] fetching crate bluetooth-rust 0.2.4...
[INFO] testing bluetooth-rust-0.2.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate bluetooth-rust 0.2.4 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bluetooth-rust 0.2.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded java-locator v0.1.9
[INFO] [stderr]   Downloaded custom_debug v0.6.2
[INFO] [stderr]   Downloaded custom_debug_derive v0.6.2
[INFO] [stderr]   Downloaded jni-min-helper v0.3.0
[INFO] [stderr]   Downloaded macaddr v1.0.1
[INFO] [stderr]   Downloaded dbus-tokio v0.7.6
[INFO] [stderr]   Downloaded dbus-crossroads v0.5.2
[INFO] [stderr]   Downloaded dbus v0.9.7
[INFO] [stderr]   Downloaded bluer v0.17.3
[INFO] [stderr]   Downloaded quick-xml v0.37.4
[INFO] [stderr]   Downloaded winnow v0.7.6
[INFO] [stderr]   Downloaded libdbus-sys v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fcd2c9d795238fcf38d0b11e646e8cbc77e27eb3d588f8bfd8ab6f9c808d111d
[INFO] running `Command { std: "docker" "start" "-a" "fcd2c9d795238fcf38d0b11e646e8cbc77e27eb3d588f8bfd8ab6f9c808d111d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcd2c9d795238fcf38d0b11e646e8cbc77e27eb3d588f8bfd8ab6f9c808d111d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcd2c9d795238fcf38d0b11e646e8cbc77e27eb3d588f8bfd8ab6f9c808d111d", kill_on_drop: false }`
[INFO] [stdout] fcd2c9d795238fcf38d0b11e646e8cbc77e27eb3d588f8bfd8ab6f9c808d111d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79efaa0c94bc84a53edb04a8737844c74a1669686394f81ee048b74cba01a519
[INFO] running `Command { std: "docker" "start" "-a" "79efaa0c94bc84a53edb04a8737844c74a1669686394f81ee048b74cba01a519", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling libdbus-sys v0.2.5
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling macaddr v1.0.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling aliasable v0.1.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 strum_macros v0.26.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling enum_dispatch v0.3.13
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling ouroboros v0.18.5
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling custom_debug_derive v0.6.2
[INFO] [stderr]    Compiling custom_debug v0.6.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling dbus v0.9.7
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling dbus-crossroads v0.5.2
[INFO] [stderr]    Compiling dbus-tokio v0.7.6
[INFO] [stderr]    Compiling bluer v0.17.3
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: `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] 
[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)]` (part of `#[warn(unused)]`) 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<Output = Result<BluetoothRfcommProfile, String>> + 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<Output = Vec<[u8;6]>> + 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<Output = Result<(), ()>> + 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<BluetoothRfcommSocket, String>;
[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<BluetoothRfcommSocket<'_>, 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<BluetoothStream, String>;
[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<BluetoothStream, String>;
[INFO] [stdout] 326 +     fn accept(self) -> impl std::future::Future<Output = Result<BluetoothStream, String>> + 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<BluetoothRfcommConnectable, String>;
[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<BluetoothRfcommConnectable, String>;
[INFO] [stdout] 341 +     fn connectable(&mut self) -> impl std::future::Future<Output = Result<BluetoothRfcommConnectable, String>> + 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<crate::BluetoothRfcommSocket, String> {
[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<crate::BluetoothRfcommSocket<'_>, 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "79efaa0c94bc84a53edb04a8737844c74a1669686394f81ee048b74cba01a519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79efaa0c94bc84a53edb04a8737844c74a1669686394f81ee048b74cba01a519", kill_on_drop: false }`
[INFO] [stdout] 79efaa0c94bc84a53edb04a8737844c74a1669686394f81ee048b74cba01a519
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9095543a510ed5ea3977a75a5ce6a318b6a8d171c9ad14c57a423bd334fbd17
[INFO] running `Command { std: "docker" "start" "-a" "a9095543a510ed5ea3977a75a5ce6a318b6a8d171c9ad14c57a423bd334fbd17", kill_on_drop: false }`
[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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: `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] 
[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)]` (part of `#[warn(unused)]`) 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<Output = Result<BluetoothRfcommProfile, String>> + 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<Output = Vec<[u8;6]>> + 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<Output = Result<(), ()>> + 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<BluetoothRfcommSocket, String>;
[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<BluetoothRfcommSocket<'_>, 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<BluetoothStream, String>;
[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<BluetoothStream, String>;
[INFO] [stdout] 326 +     fn accept(self) -> impl std::future::Future<Output = Result<BluetoothStream, String>> + 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<BluetoothRfcommConnectable, String>;
[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<BluetoothRfcommConnectable, String>;
[INFO] [stdout] 341 +     fn connectable(&mut self) -> impl std::future::Future<Output = Result<BluetoothRfcommConnectable, String>> + 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<crate::BluetoothRfcommSocket, String> {
[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<crate::BluetoothRfcommSocket<'_>, String> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bluetooth-rust v0.2.4 (/opt/rustwide/workdir)
[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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: `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] 
[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)]` (part of `#[warn(unused)]`) 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<Output = Result<BluetoothRfcommProfile, String>> + 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<Output = Vec<[u8;6]>> + 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<Output = Result<(), ()>> + 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<BluetoothRfcommSocket, String>;
[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<BluetoothRfcommSocket<'_>, 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<BluetoothStream, String>;
[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<BluetoothStream, String>;
[INFO] [stdout] 326 +     fn accept(self) -> impl std::future::Future<Output = Result<BluetoothStream, String>> + 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<BluetoothRfcommConnectable, String>;
[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<BluetoothRfcommConnectable, String>;
[INFO] [stdout] 341 +     fn connectable(&mut self) -> impl std::future::Future<Output = Result<BluetoothRfcommConnectable, String>> + 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<crate::BluetoothRfcommSocket, String> {
[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<crate::BluetoothRfcommSocket<'_>, 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "a9095543a510ed5ea3977a75a5ce6a318b6a8d171c9ad14c57a423bd334fbd17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9095543a510ed5ea3977a75a5ce6a318b6a8d171c9ad14c57a423bd334fbd17", kill_on_drop: false }`
[INFO] [stdout] a9095543a510ed5ea3977a75a5ce6a318b6a8d171c9ad14c57a423bd334fbd17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d0ea0a9ec3aa5f3a7a40672a60aea9396cc87e891c1930f13c84f1b6bb072c9e
[INFO] running `Command { std: "docker" "start" "-a" "d0ea0a9ec3aa5f3a7a40672a60aea9396cc87e891c1930f13c84f1b6bb072c9e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `HashSet`
[INFO] [stderr]  --> src/linux.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DeviceProperty`
[INFO] [stderr]  --> src/linux.rs:6:27
[INFO] [stderr]   |
[INFO] [stderr] 6 | use bluer::{AdapterEvent, DeviceProperty};
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/lib.rs:242:9
[INFO] [stderr]     |
[INFO] [stderr] 238 | /             return Ok(BluetoothAdapter::Bluez(
[INFO] [stderr] 239 | |                 linux::BluetoothHandler::new(self.s.unwrap()).await?,
[INFO] [stderr] 240 | |             ));
[INFO] [stderr]     | |______________- any code following this expression is unreachable
[INFO] [stderr] 241 |           }
[INFO] [stderr] 242 |           Err("No builders available".to_string())
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `uuid`
[INFO] [stderr]   --> src/linux.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |         uuid: crate::BluetoothUuid,
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_secure`
[INFO] [stderr]   --> src/linux.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |         is_secure: bool,
[INFO] [stderr]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_secure`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `adapter`
[INFO] [stderr]    --> src/linux.rs:136:13
[INFO] [stderr]     |
[INFO] [stderr] 136 |         for adapter in &self.adapters {
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]    --> src/linux.rs:400:29
[INFO] [stderr]     |
[INFO] [stderr] 400 |                         for p in ps {}
[INFO] [stderr]     |                             ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: field `inner` is never read
[INFO] [stderr]   --> src/linux.rs:58:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct BluetoothRfcommSocket {
[INFO] [stderr]    |            --------------------- field in this struct
[INFO] [stderr] 57 |     /// The rfcomm socket data, TODO
[INFO] [stderr] 58 |     inner: u32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `enable` and `disable` are never used
[INFO] [stderr]    --> src/linux.rs:195:14
[INFO] [stderr]     |
[INFO] [stderr] 160 | impl BluetoothHandler {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 195 |     async fn enable(&mut self) {
[INFO] [stderr]     |              ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 203 |     async fn disable(&mut self) {
[INFO] [stderr]     |              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]    --> src/lib.rs:120:5
[INFO] [stderr]     |
[INFO] [stderr] 120 |     async fn register_rfcomm_profile(
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr]     = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stderr] 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] [stderr]     |
[INFO] [stderr] 120 ~     fn register_rfcomm_profile(
[INFO] [stderr] 121 |         &self,
[INFO] [stderr] 122 |         settings: BluetoothRfcommProfileSettings,
[INFO] [stderr] 123 ~     ) -> impl std::future::Future<Output = Result<BluetoothRfcommProfile, String>> + Send;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:127:24
[INFO] [stderr]     |
[INFO] [stderr] 127 |     fn start_discovery(&self) -> BluetoothDiscovery;
[INFO] [stderr]     |                        ^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 127 |     fn start_discovery(&self) -> BluetoothDiscovery<'_>;
[INFO] [stderr]     |                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]    --> src/lib.rs:129:5
[INFO] [stderr]     |
[INFO] [stderr] 129 |     async fn addresses(&self) -> Vec<[u8;6]>;
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 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] [stderr]     |
[INFO] [stderr] 129 -     async fn addresses(&self) -> Vec<[u8;6]>;
[INFO] [stderr] 129 +     fn addresses(&self) -> impl std::future::Future<Output = Vec<[u8;6]>> + Send;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]    --> src/lib.rs:131:5
[INFO] [stderr]     |
[INFO] [stderr] 131 |     async fn set_discoverable(&self, d: bool) -> Result<(), ()>;
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 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] [stderr]     |
[INFO] [stderr] 131 -     async fn set_discoverable(&self, d: bool) -> Result<(), ()>;
[INFO] [stderr] 131 +     fn set_discoverable(&self, d: bool) -> impl std::future::Future<Output = Result<(), ()>> + Send;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:163:9
[INFO] [stderr]     |
[INFO] [stderr] 163 |         &mut self,
[INFO] [stderr]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 166 |     ) -> Result<BluetoothRfcommSocket, String>;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 166 |     ) -> Result<BluetoothRfcommSocket<'_>, String>;
[INFO] [stderr]     |                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]    --> src/lib.rs:326:5
[INFO] [stderr]     |
[INFO] [stderr] 326 |     async fn accept(self) -> Result<BluetoothStream, String>;
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 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] [stderr]     |
[INFO] [stderr] 326 -     async fn accept(self) -> Result<BluetoothStream, String>;
[INFO] [stderr] 326 +     fn accept(self) -> impl std::future::Future<Output = Result<BluetoothStream, String>> + Send;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]    --> src/lib.rs:341:5
[INFO] [stderr]     |
[INFO] [stderr] 341 |     async fn connectable(&mut self) -> Result<BluetoothRfcommConnectable, String>;
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 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] [stderr]     |
[INFO] [stderr] 341 -     async fn connectable(&mut self) -> Result<BluetoothRfcommConnectable, String>;
[INFO] [stderr] 341 +     fn connectable(&mut self) -> impl std::future::Future<Output = Result<BluetoothRfcommConnectable, String>> + Send;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/linux.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |         &mut self,
[INFO] [stderr]    |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 50 |     ) -> Result<crate::BluetoothRfcommSocket, String> {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 50 |     ) -> Result<crate::BluetoothRfcommSocket<'_>, String> {
[INFO] [stderr]    |                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/linux.rs:130:24
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn start_discovery(&self) -> crate::BluetoothDiscovery {
[INFO] [stderr]     |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn start_discovery(&self) -> crate::BluetoothDiscovery<'_> {
[INFO] [stderr]     |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `bluetooth-rust` (lib) generated 18 warnings (run `cargo fix --lib -p bluetooth-rust` to apply 10 suggestions)
[INFO] [stderr] warning: `bluetooth-rust` (lib test) generated 18 warnings (18 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[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 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bluetooth_rust-2102a44006317dc5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bluetooth_rust
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d0ea0a9ec3aa5f3a7a40672a60aea9396cc87e891c1930f13c84f1b6bb072c9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0ea0a9ec3aa5f3a7a40672a60aea9396cc87e891c1930f13c84f1b6bb072c9e", kill_on_drop: false }`
[INFO] [stdout] d0ea0a9ec3aa5f3a7a40672a60aea9396cc87e891c1930f13c84f1b6bb072c9e
