[INFO] fetching crate bluetooth-rust 0.3.3... [INFO] checking bluetooth-rust-0.3.3 against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] extracting crate bluetooth-rust 0.3.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bluetooth-rust 0.3.3 [INFO] finished tweaking crates.io crate bluetooth-rust 0.3.3 [INFO] tweaked toml for crates.io crate bluetooth-rust 0.3.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bluetooth-rust 0.3.3 on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bluetooth-rust 0.3.3 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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-backend v0.3.8 [INFO] [stderr] Downloaded custom_debug_derive v0.6.2 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.6 [INFO] [stderr] Downloaded java-locator v0.1.9 [INFO] [stderr] Downloaded jni-min-helper v0.3.0 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded wayland-client v0.31.8 [INFO] [stderr] Downloaded ab_glyph v0.2.29 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.6 [INFO] [stderr] Downloaded wayland-cursor v0.31.8 [INFO] [stderr] Downloaded bluer v0.17.3 [INFO] [stderr] Downloaded quick-xml v0.37.4 [INFO] [stderr] Downloaded custom_debug v0.6.2 [INFO] [stderr] Downloaded xcursor v0.3.8 [INFO] [stderr] Downloaded wayland-protocols v0.32.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d29b05c94acaa7b42e2a47b4bc253b5f1db2374f739c338f6f59e82634be69e [INFO] running `Command { std: "docker" "start" "-a" "6d29b05c94acaa7b42e2a47b4bc253b5f1db2374f739c338f6f59e82634be69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d29b05c94acaa7b42e2a47b4bc253b5f1db2374f739c338f6f59e82634be69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d29b05c94acaa7b42e2a47b4bc253b5f1db2374f739c338f6f59e82634be69e", kill_on_drop: false }` [INFO] [stdout] 6d29b05c94acaa7b42e2a47b4bc253b5f1db2374f739c338f6f59e82634be69e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 857bfc8339751c00a05e924c78dc1d9fee01ca07af1fe3b6fe707094ef926c3d [INFO] running `Command { std: "docker" "start" "-a" "857bfc8339751c00a05e924c78dc1d9fee01ca07af1fe3b6fe707094ef926c3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.9 [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 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] Checking tokio v1.44.2 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking ouroboros v0.18.5 [INFO] [stderr] Checking 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 serde v1.0.219 [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-tokio v0.7.6 [INFO] [stderr] Checking dbus-crossroads v0.5.2 [INFO] [stderr] Compiling bluer v0.17.3 [INFO] [stderr] Checking bluetooth-rust v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 339 | / return Ok(BluetoothAdapter::Bluez( [INFO] [stdout] 340 | | linux::BluetoothHandler::new(self.s.unwrap()).await?, [INFO] [stdout] 341 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 349 | Err("No async 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: unreachable expression [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 339 | / return Ok(BluetoothAdapter::Bluez( [INFO] [stdout] 340 | | linux::BluetoothHandler::new(self.s.unwrap()).await?, [INFO] [stdout] 341 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 349 | Err("No async 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: methods `enable` and `disable` are never used [INFO] [stdout] --> src/linux.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 554 | impl BluetoothHandler { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 589 | async fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | async fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 243 | ) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | ) -> Result, String>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 250 | ) -> 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] 250 | ) -> 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:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | 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] = 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] 424 - async fn accept(self) -> Result; [INFO] [stdout] 424 + 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:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | 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] 460 - async fn accept(self) -> Result; [INFO] [stdout] 460 + 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:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | 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] 493 - async fn connectable(&mut self) -> Result; [INFO] [stdout] 493 + fn connectable(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enable` and `disable` are never used [INFO] [stdout] --> src/linux.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 554 | impl BluetoothHandler { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 589 | async fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | async fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 243 | ) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | ) -> Result, String>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 250 | ) -> 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] 250 | ) -> 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:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | 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] = 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] 424 - async fn accept(self) -> Result; [INFO] [stdout] 424 + 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:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | 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] 460 - async fn accept(self) -> Result; [INFO] [stdout] 460 + 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:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | 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] 493 - async fn connectable(&mut self) -> Result; [INFO] [stdout] 493 + fn connectable(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.59s [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 3` [INFO] running `Command { std: "docker" "inspect" "857bfc8339751c00a05e924c78dc1d9fee01ca07af1fe3b6fe707094ef926c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857bfc8339751c00a05e924c78dc1d9fee01ca07af1fe3b6fe707094ef926c3d", kill_on_drop: false }` [INFO] [stdout] 857bfc8339751c00a05e924c78dc1d9fee01ca07af1fe3b6fe707094ef926c3d