[INFO] fetching crate btle 0.1.4... [INFO] testing btle-0.1.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate btle 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate btle 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate btle 0.1.4 [INFO] tweaked toml for crates.io crate btle 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate btle 0.1.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate btle 0.1.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `winrt` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded driver_async v0.0.3 [INFO] [stderr] Downloaded usbw v0.0.2 [INFO] [stderr] Downloaded tar v0.4.26 [INFO] [stderr] Downloaded nix v0.16.1 [INFO] [stderr] Downloaded libusb1-sys v0.3.7 [INFO] [stderr] Downloaded tokio v0.3.3 [INFO] [stderr] Downloaded winrt v0.6.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 919d391d303bd729f8d452dce92877c18ba208dc43f3dc7a367d66f788b466ab [INFO] running `Command { std: "docker" "start" "-a" "919d391d303bd729f8d452dce92877c18ba208dc43f3dc7a367d66f788b466ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "919d391d303bd729f8d452dce92877c18ba208dc43f3dc7a367d66f788b466ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "919d391d303bd729f8d452dce92877c18ba208dc43f3dc7a367d66f788b466ab", kill_on_drop: false }` [INFO] [stdout] 919d391d303bd729f8d452dce92877c18ba208dc43f3dc7a367d66f788b466ab [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 345a2ac05b8f9df00a709cb52ebb77a329255100c81bca2f1f17afe0869c751b [INFO] running `Command { std: "docker" "start" "-a" "345a2ac05b8f9df00a709cb52ebb77a329255100c81bca2f1f17afe0869c751b", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `winrt` dependency) [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling btle v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `winrt_drives` [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "winrt_drives")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"winrt_drivers"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bluez_socket`, `classic`, `default`, `hci`, `hci_usb`, `libc`, `nix`, `remote`, `serde`, `serde-1`, `std`, `tokio`, `usbw`, `winrt`, and `winrt_drivers` [INFO] [stdout] = help: consider adding `winrt_drives` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/buffer.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 33 | range: impl core::ops::RangeBounds, [INFO] [stdout] 34 | ) -> alloc::collections::vec_deque::Drain> { [INFO] [stdout] | ------------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> alloc::collections::vec_deque::Drain<'_, EventPacket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/le.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 267 | is_enabled: bool, [INFO] [stdout] 268 | ) -> LocalBoxFuture> { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 268 | ) -> LocalBoxFuture<'_, Result<(), adapter::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/le.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 274 | advertisement_parameters: AdvertisingParameters, [INFO] [stdout] 275 | ) -> LocalBoxFuture> { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 275 | ) -> LocalBoxFuture<'_, Result<(), adapter::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/le/scan.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | "interval '{}' is out of range" [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 51 | "interval '{}' is out of range", ... [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 51 | "{}", "interval '{}' is out of range" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/le/scan.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | "window '{}' is out of range" [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 79 | "window '{}' is out of range", ... [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 79 | "{}", "window '{}' is out of range" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "345a2ac05b8f9df00a709cb52ebb77a329255100c81bca2f1f17afe0869c751b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345a2ac05b8f9df00a709cb52ebb77a329255100c81bca2f1f17afe0869c751b", kill_on_drop: false }` [INFO] [stdout] 345a2ac05b8f9df00a709cb52ebb77a329255100c81bca2f1f17afe0869c751b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 153eb72b6adb2cba03f023eee24132c821aa1c10edf1d2e4c447887ac425c0b0 [INFO] running `Command { std: "docker" "start" "-a" "153eb72b6adb2cba03f023eee24132c821aa1c10edf1d2e4c447887ac425c0b0", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `winrt` dependency) [INFO] [stderr] warning: invalid feature `windows_drivers` in required-features of target `windows_test`: `windows_drivers` is not present in [features] section [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stdout] warning: unexpected `cfg` condition value: `winrt_drives` [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "winrt_drives")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"winrt_drivers"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bluez_socket`, `classic`, `default`, `hci`, `hci_usb`, `libc`, `nix`, `remote`, `serde`, `serde-1`, `std`, `tokio`, `usbw`, `winrt`, and `winrt_drivers` [INFO] [stdout] = help: consider adding `winrt_drives` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/buffer.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 33 | range: impl core::ops::RangeBounds, [INFO] [stdout] 34 | ) -> alloc::collections::vec_deque::Drain> { [INFO] [stdout] | ------------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> alloc::collections::vec_deque::Drain<'_, EventPacket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/le.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 267 | is_enabled: bool, [INFO] [stdout] 268 | ) -> LocalBoxFuture> { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 268 | ) -> LocalBoxFuture<'_, Result<(), adapter::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/le.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 274 | advertisement_parameters: AdvertisingParameters, [INFO] [stdout] 275 | ) -> LocalBoxFuture> { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 275 | ) -> LocalBoxFuture<'_, Result<(), adapter::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/le/scan.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | "interval '{}' is out of range" [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 51 | "interval '{}' is out of range", ... [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 51 | "{}", "interval '{}' is out of range" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/le/scan.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | "window '{}' is out of range" [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 79 | "window '{}' is out of range", ... [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 79 | "{}", "window '{}' is out of range" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling btle v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `usbw` [INFO] [stdout] --> examples/advertisement_dump.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use usbw::libusb; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `usbw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `usbw`, use `cargo add usbw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertise_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let manager = btle::hci::socket::Manager::new().map_err(StdError)?; [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertise_test.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | let socket = match manager.get_adapter_socket(btle::hci::socket::AdapterID(adapter_id)) { [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertisement_dump.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | let manager = btle::hci::socket::Manager::new().map_err(StdError)?; [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertise_test.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | Err(btle::hci::socket::HCISocketError::PermissionDenied) => { [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertise_test.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | return Err(btle::hci::socket::HCISocketError::PermissionDenied) [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertisement_dump.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | let socket = match manager.get_adapter_socket(btle::hci::socket::AdapterID(adapter_id)) { [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertise_test.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let async_socket = btle::hci::socket::AsyncHCISocket::try_from(socket)?; [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btle::error::IOError` [INFO] [stdout] --> examples/advertise_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use btle::error::IOError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/advertise_test.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn dump_bluez(adapter_id: u16) -> Result<(), Box> { [INFO] [stdout] | ---------------------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 56 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertisement_dump.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | Err(btle::hci::socket::HCISocketError::PermissionDenied) => { [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertisement_dump.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | return Err(btle::hci::socket::HCISocketError::PermissionDenied) [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `socket` in `hci` [INFO] [stdout] --> examples/advertisement_dump.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let async_socket = btle::hci::socket::AsyncHCISocket::try_from(socket)?; [INFO] [stdout] | ^^^^^^ could not find `socket` in `hci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btle::error::IOError` [INFO] [stdout] --> examples/advertisement_dump.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use btle::error::IOError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/advertisement_dump.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dump_bluez(adapter_id: u16) -> Result<(), Box> { [INFO] [stdout] | ---------------------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 57 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), Box>` is not a future [INFO] [stdout] --> examples/advertise_test.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 16 | / dump_bluez( [INFO] [stdout] 17 | | std::env::args() [INFO] [stdout] 18 | | .skip(1) [INFO] [stdout] 19 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 22 | | .expect("invalid adapter id"), [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_________- this call returns `Result<(), Box>` [INFO] [stdout] 24 | .await; [INFO] [stdout] | ^^^^^ `Result<(), Box>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `Result<(), Box>` [INFO] [stdout] = note: Result<(), Box> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), Box>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 24 - .await; [INFO] [stdout] 24 + ; [INFO] [stdout] | [INFO] [stdout] help: alternatively, consider making `fn dump_bluez` asynchronous [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn dump_bluez(adapter_id: u16) -> Result<(), Box> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Adapter, DummyUnrecognizedEventHandler>: Adapter` is not satisfied [INFO] [stdout] --> examples/advertise_test.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | dump_adapter(adapter) [INFO] [stdout] | ------------ ^^^^^^^ the trait `btle::hci::adapter::Adapter` is not implemented for `btle::hci::adapters::Adapter, DummyUnrecognizedEventHandler>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `btle::hci::adapter::Adapter`: [INFO] [stdout] DummyAdapter [INFO] [stdout] Stream [INFO] [stdout] note: required by a bound in `dump_adapter` [INFO] [stdout] --> examples/advertise_test.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn dump_adapter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `dump_adapter` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/advertise_test-db0910c4be89bf32.long-type-16431849831276903122.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Adapter, DummyUnrecognizedEventHandler>: Adapter` is not satisfied [INFO] [stdout] --> examples/advertise_test.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | dump_adapter(adapter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `btle::hci::adapter::Adapter` is not implemented for `btle::hci::adapters::Adapter, DummyUnrecognizedEventHandler>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `btle::hci::adapter::Adapter`: [INFO] [stdout] DummyAdapter [INFO] [stdout] Stream [INFO] [stdout] note: required by a bound in `dump_adapter` [INFO] [stdout] --> examples/advertise_test.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn dump_adapter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `dump_adapter` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/advertise_test-db0910c4be89bf32.long-type-16431849831276903122.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), Box>` is not a future [INFO] [stdout] --> examples/advertisement_dump.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 17 | / dump_bluez( [INFO] [stdout] 18 | | std::env::args() [INFO] [stdout] 19 | | .skip(1) [INFO] [stdout] 20 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 23 | | .expect("invalid adapter id"), [INFO] [stdout] 24 | | ) [INFO] [stdout] | |_________- this call returns `Result<(), Box>` [INFO] [stdout] 25 | .await; [INFO] [stdout] | ^^^^^ `Result<(), Box>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `Result<(), Box>` [INFO] [stdout] = note: Result<(), Box> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result<(), Box>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 25 - .await; [INFO] [stdout] 25 + ; [INFO] [stdout] | [INFO] [stdout] help: alternatively, consider making `fn dump_bluez` asynchronous [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn dump_bluez(adapter_id: u16) -> Result<(), Box> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Adapter, DummyUnrecognizedEventHandler>: Adapter` is not satisfied [INFO] [stdout] --> examples/advertisement_dump.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | dump_adapter(adapter) [INFO] [stdout] | ------------ ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `btle::hci::adapter::Adapter` is not implemented for `btle::hci::adapters::Adapter, DummyUnrecognizedEventHandler>` [INFO] [stdout] = help: the following other types implement trait `btle::hci::adapter::Adapter`: [INFO] [stdout] DummyAdapter [INFO] [stdout] btle::hci::stream::Stream [INFO] [stdout] note: required by a bound in `dump_adapter` [INFO] [stdout] --> examples/advertisement_dump.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn dump_adapter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `dump_adapter` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/advertisement_dump-2fe49d51a242283a.long-type-10620601733919123761.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Adapter, DummyUnrecognizedEventHandler>: Adapter` is not satisfied [INFO] [stdout] --> examples/advertisement_dump.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | dump_adapter(adapter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `btle::hci::adapter::Adapter` is not implemented for `btle::hci::adapters::Adapter, DummyUnrecognizedEventHandler>` [INFO] [stdout] = help: the following other types implement trait `btle::hci::adapter::Adapter`: [INFO] [stdout] DummyAdapter [INFO] [stdout] btle::hci::stream::Stream [INFO] [stdout] note: required by a bound in `dump_adapter` [INFO] [stdout] --> examples/advertisement_dump.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn dump_adapter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `dump_adapter` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/advertisement_dump-2fe49d51a242283a.long-type-10620601733919123761.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `btle` (example "advertise_test") due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btle` (example "advertisement_dump") due to 10 previous errors; 1 warning emitted [INFO] [stdout] warning: unexpected `cfg` condition value: `winrt_drives` [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "winrt_drives")] [INFO] [stdout] | ^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"winrt_drivers"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bluez_socket`, `classic`, `default`, `hci`, `hci_usb`, `libc`, `nix`, `remote`, `serde`, `serde-1`, `std`, `tokio`, `usbw`, `winrt`, and `winrt_drivers` [INFO] [stdout] = help: consider adding `winrt_drives` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/bytes.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | implement_to_from_bytes!(u8, i8, u16, i16, u32, i32, u64, i64, u128, i128); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_to_from_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/uuid.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/buffer.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 33 | range: impl core::ops::RangeBounds, [INFO] [stdout] 34 | ) -> alloc::collections::vec_deque::Drain> { [INFO] [stdout] | ------------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> alloc::collections::vec_deque::Drain<'_, EventPacket> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/le.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 267 | is_enabled: bool, [INFO] [stdout] 268 | ) -> LocalBoxFuture> { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 268 | ) -> LocalBoxFuture<'_, Result<(), adapter::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hci/adapters/le.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 274 | advertisement_parameters: AdvertisingParameters, [INFO] [stdout] 275 | ) -> LocalBoxFuture> { [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 275 | ) -> LocalBoxFuture<'_, Result<(), adapter::Error>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/le/scan.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | "interval '{}' is out of range" [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 51 | "interval '{}' is out of range", ... [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 51 | "{}", "interval '{}' is out of range" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/le/scan.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | "window '{}' is out of range" [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 79 | "window '{}' is out of range", ... [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 79 | "{}", "window '{}' is out of range" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "153eb72b6adb2cba03f023eee24132c821aa1c10edf1d2e4c447887ac425c0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153eb72b6adb2cba03f023eee24132c821aa1c10edf1d2e4c447887ac425c0b0", kill_on_drop: false }` [INFO] [stdout] 153eb72b6adb2cba03f023eee24132c821aa1c10edf1d2e4c447887ac425c0b0