[INFO] crate btleplug 0.4.1 is already in cache [INFO] testing btleplug-0.4.1 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate btleplug 0.4.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate btleplug 0.4.1 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate btleplug 0.4.1 [INFO] finished tweaking crates.io crate btleplug 0.4.1 [INFO] tweaked toml for crates.io crate btleplug 0.4.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate btleplug 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a8ea9056fba4d21cf408b1161b9ea2db3e4fab1a5ab6746a2c2a81e4059e45d7 [INFO] running `"docker" "start" "-a" "a8ea9056fba4d21cf408b1161b9ea2db3e4fab1a5ab6746a2c2a81e4059e45d7"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling winrt v0.6.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling async-task v1.2.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling btleplug v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | (usize) | 4 /* (sizeof(i32)) */ << 0i32 + 8i32 + 8i32; [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:81 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/bluez/protocol/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | named!(pub parse_uuid_128<&[u8], [u8; 16]>, count_fixed!(u8, le_u8, 16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `"docker" "inspect" "a8ea9056fba4d21cf408b1161b9ea2db3e4fab1a5ab6746a2c2a81e4059e45d7"` [INFO] running `"docker" "rm" "-f" "a8ea9056fba4d21cf408b1161b9ea2db3e4fab1a5ab6746a2c2a81e4059e45d7"` [INFO] [stdout] a8ea9056fba4d21cf408b1161b9ea2db3e4fab1a5ab6746a2c2a81e4059e45d7 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3a15f6d7f6c2e650f98343bb466336ccf9632a60b6c41d04f312574dea85baa7 [INFO] running `"docker" "start" "-a" "3a15f6d7f6c2e650f98343bb466336ccf9632a60b6c41d04f312574dea85baa7"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | (usize) | 4 /* (sizeof(i32)) */ << 0i32 + 8i32 + 8i32; [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:81 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/bluez/protocol/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | named!(pub parse_uuid_128<&[u8], [u8; 16]>, count_fixed!(u8, le_u8, 16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling btleplug v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Rng`, `thread_rng` [INFO] [stderr] --> examples/discover_adapters_peripherals.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::{Rng, thread_rng}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Characteristic`, `UUID` [INFO] [stderr] --> examples/discover_adapters_peripherals.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use btleplug::api::{UUID, Central, Peripheral, Characteristic}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | (usize) | 4 /* (sizeof(i32)) */ << 0i32 + 8i32 + 8i32; [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:81 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/bluez/protocol/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | named!(pub parse_uuid_128<&[u8], [u8; 16]>, count_fixed!(u8, le_u8, 16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.67s [INFO] running `"docker" "inspect" "3a15f6d7f6c2e650f98343bb466336ccf9632a60b6c41d04f312574dea85baa7"` [INFO] running `"docker" "rm" "-f" "3a15f6d7f6c2e650f98343bb466336ccf9632a60b6c41d04f312574dea85baa7"` [INFO] [stdout] 3a15f6d7f6c2e650f98343bb466336ccf9632a60b6c41d04f312574dea85baa7 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0b1c8559f87ca1ea376f4fb8b54597846c46c8331e66f0bfdae3f4c1b49966cf [INFO] running `"docker" "start" "-a" "0b1c8559f87ca1ea376f4fb8b54597846c46c8331e66f0bfdae3f4c1b49966cf"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | (usize) | 4 /* (sizeof(i32)) */ << 0i32 + 8i32 + 8i32; [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:81 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/bluez/protocol/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | named!(pub parse_uuid_128<&[u8], [u8; 16]>, count_fixed!(u8, le_u8, 16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (210i32 << 0i32) as (u32)) as [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | (usize) | 4 /* (sizeof(i32)) */ << 0i32 + 8i32 + 8i32; [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/bluez/mod.rs:39:81 [INFO] [stderr] | [INFO] [stderr] 39 | (b'H' as (i32) << 0i32 + 8i32) as (u32) | (211i32 << 0i32) as (u32)) as (usize) | [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/bluez/protocol/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | named!(pub parse_uuid_128<&[u8], [u8; 16]>, count_fixed!(u8, le_u8, 16)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rng`, `thread_rng` [INFO] [stderr] --> examples/discover_adapters_peripherals.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::{Rng, thread_rng}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Characteristic`, `UUID` [INFO] [stderr] --> examples/discover_adapters_peripherals.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use btleplug::api::{UUID, Central, Peripheral, Characteristic}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/btleplug-35aca425e674baf0 [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test bluez::protocol::att::tests::test_characteristics ... ok [INFO] [stdout] test api::tests::parse_addr ... ok [INFO] [stdout] test api::tests::parse_uud ... ok [INFO] [stdout] test bluez::protocol::att::tests::test_error ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_acl_data_packet ... ok [INFO] [stdout] test bluez::protocol::att::tests::test_value_notification ... ok [INFO] [stdout] test bluez::protocol::att::tests::test_read_req ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_cmd_status ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_decode_device_discovery ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_bd_addr ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_recv_le_meta ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_broken_le_advertising_data ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_le_advertising_info ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_le_advertising_data ... ok [INFO] [stdout] test bluez::protocol::hci::tests::test_decode_device_discovery2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests btleplug [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "0b1c8559f87ca1ea376f4fb8b54597846c46c8331e66f0bfdae3f4c1b49966cf"` [INFO] running `"docker" "rm" "-f" "0b1c8559f87ca1ea376f4fb8b54597846c46c8331e66f0bfdae3f4c1b49966cf"` [INFO] [stdout] 0b1c8559f87ca1ea376f4fb8b54597846c46c8331e66f0bfdae3f4c1b49966cf