[INFO] fetching crate bluetooth-serial-port 0.6.0...
[INFO] testing bluetooth-serial-port-0.6.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate bluetooth-serial-port 0.6.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate bluetooth-serial-port 0.6.0
[INFO] finished tweaking crates.io crate bluetooth-serial-port 0.6.0
[INFO] tweaked toml for crates.io crate bluetooth-serial-port 0.6.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bluetooth-serial-port 0.6.0 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 27 packages to highest compatible versions
[INFO] [stderr]       Adding mio v0.6.23 (available: v1.2.5)
[INFO] [stderr]       Adding nix v0.13.1 (available: v0.32.0)
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c
[INFO] running `"docker" "start" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] running `"docker" "inspect" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/linux/sdp.rs:391:10
[INFO] [stdout]     |
[INFO] [stdout] 391 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/linux/socket.rs:209:33
[INFO] [stdout]     |
[INFO] [stdout] 209 | ...                   mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     unused_qualifications
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 209 -                                 mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stdout] 209 +                                 size_of::<sockaddr_rc>() as u32,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/linux/socket.rs:231:35
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 231 -                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout] 231 +                 let mut socklen = size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:174:45
[INFO] [stdout]     |
[INFO] [stdout] 174 |         write!(f, "{:}", std::error::Error::description(self))
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::vec::from_elem`: use the `vec!` macro instead
[INFO] [stdout]   --> src/linux/hci.rs:79:34
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut inquiry_infos = vec::from_elem(InquiryInfo::default(), 256);
[INFO] [stdout]    |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bluetooth.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a mio::Evented, mio::Ready),
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a dyn mio::Evented, mio::Ready),
[INFO] [stdout]     |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:184:46
[INFO] [stdout]     |
[INFO] [stdout] 184 |             BtError::IoError(ref err) => err.description(),
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/linux/hci.rs:82:35
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let max_secs = u64::from(u32::max_value());
[INFO] [stdout]    |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl i32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/linux/hci.rs:95:48
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let timeout = timeout.min(f64::from(c_int::max_value())).max(1.) as c_int;
[INFO] [stdout]    |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:18:48
[INFO] [stdout]    |
[INFO] [stdout] 18 |         format!("{:}: {:}", message, nix_error.description()),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |             e.description().to_string(),
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bluetooth.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stdout]    |                          ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bluetooth.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stdout]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linux/socket.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stdout]    |                    ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/linux/socket.rs:181:20
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stdout]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.41s
[INFO] running `"docker" "inspect" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/linux/sdp.rs:391:10
[INFO] [stdout]     |
[INFO] [stdout] 391 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/linux/socket.rs:209:33
[INFO] [stdout]     |
[INFO] [stdout] 209 | ...                   mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     unused_qualifications
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 209 -                                 mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stdout] 209 +                                 size_of::<sockaddr_rc>() as u32,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/linux/socket.rs:231:35
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 231 -                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout] 231 +                 let mut socklen = size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:174:45
[INFO] [stdout]     |
[INFO] [stdout] 174 |         write!(f, "{:}", std::error::Error::description(self))
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::vec::from_elem`: use the `vec!` macro instead
[INFO] [stdout]   --> src/linux/hci.rs:79:34
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut inquiry_infos = vec::from_elem(InquiryInfo::default(), 256);
[INFO] [stdout]    |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bluetooth.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a mio::Evented, mio::Ready),
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a dyn mio::Evented, mio::Ready),
[INFO] [stdout]     |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:184:46
[INFO] [stdout]     |
[INFO] [stdout] 184 |             BtError::IoError(ref err) => err.description(),
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/linux/hci.rs:82:35
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let max_secs = u64::from(u32::max_value());
[INFO] [stdout]    |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl i32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/linux/hci.rs:95:48
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let timeout = timeout.min(f64::from(c_int::max_value())).max(1.) as c_int;
[INFO] [stdout]    |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:18:48
[INFO] [stdout]    |
[INFO] [stdout] 18 |         format!("{:}: {:}", message, nix_error.description()),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |             e.description().to_string(),
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bluetooth.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stdout]    |                          ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bluetooth.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stdout]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linux/socket.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stdout]    |                    ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/linux/socket.rs:181:20
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stdout]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 312 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout]     = note: `#[warn(ill_formed_attribute_input)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:334:5
[INFO] [stdout]     |
[INFO] [stdout] 334 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:340:5
[INFO] [stdout]     |
[INFO] [stdout] 340 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:352:5
[INFO] [stdout]     |
[INFO] [stdout] 352 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute must be of the form `#[test]`
[INFO] [stdout]    --> src/bluetooth.rs:358:5
[INFO] [stdout]     |
[INFO] [stdout] 358 |     #[test()]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/linux/sdp.rs:391:10
[INFO] [stdout]     |
[INFO] [stdout] 391 |         };
[INFO] [stdout]     |          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/linux/socket.rs:209:33
[INFO] [stdout]     |
[INFO] [stdout] 209 | ...                   mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     unused_qualifications
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 209 -                                 mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stdout] 209 +                                 size_of::<sockaddr_rc>() as u32,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/linux/socket.rs:231:35
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 231 -                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout] 231 +                 let mut socklen = size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:174:45
[INFO] [stdout]     |
[INFO] [stdout] 174 |         write!(f, "{:}", std::error::Error::description(self))
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::vec::from_elem`: use the `vec!` macro instead
[INFO] [stdout]   --> src/linux/hci.rs:79:34
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut inquiry_infos = vec::from_elem(InquiryInfo::default(), 256);
[INFO] [stdout]    |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/bluetooth.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a mio::Evented, mio::Ready),
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 126 |     WaitFor(&'a dyn mio::Evented, mio::Ready),
[INFO] [stdout]     |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/bluetooth.rs:184:46
[INFO] [stdout]     |
[INFO] [stdout] 184 |             BtError::IoError(ref err) => err.description(),
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/linux/hci.rs:82:35
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let max_secs = u64::from(u32::max_value());
[INFO] [stdout]    |                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl i32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/linux/hci.rs:95:48
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let timeout = timeout.min(f64::from(c_int::max_value())).max(1.) as c_int;
[INFO] [stdout]    |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:18:48
[INFO] [stdout]    |
[INFO] [stdout] 18 |         format!("{:}: {:}", message, nix_error.description()),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/linux/socket.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |             e.description().to_string(),
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bluetooth.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stdout]    |                          ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/bluetooth.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stdout]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linux/socket.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stdout]    |                    ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/linux/socket.rs:181:20
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stdout]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.87s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `"docker" "inspect" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/linux/sdp.rs:391:10
[INFO] [stderr]     |
[INFO] [stderr] 391 |         };
[INFO] [stderr]     |          ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary qualification
[INFO] [stderr]    --> src/linux/socket.rs:209:33
[INFO] [stderr]     |
[INFO] [stderr] 209 | ...                   mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:9:5
[INFO] [stderr]     |
[INFO] [stderr]   9 |     unused_qualifications
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: remove the unnecessary path segments
[INFO] [stderr]     |
[INFO] [stderr] 209 -                                 mem::size_of::<sockaddr_rc>() as u32,
[INFO] [stderr] 209 +                                 size_of::<sockaddr_rc>() as u32,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary qualification
[INFO] [stderr]    --> src/linux/socket.rs:231:35
[INFO] [stderr]     |
[INFO] [stderr] 231 |                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: remove the unnecessary path segments
[INFO] [stderr]     |
[INFO] [stderr] 231 -                 let mut socklen = mem::size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stderr] 231 +                 let mut socklen = size_of::<sockaddr_rc>() as libc::socklen_t;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/bluetooth.rs:174:45
[INFO] [stderr]     |
[INFO] [stderr] 174 |         write!(f, "{:}", std::error::Error::description(self))
[INFO] [stderr]     |                                             ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `std::vec::from_elem`: use the `vec!` macro instead
[INFO] [stderr]   --> src/linux/hci.rs:79:34
[INFO] [stderr]    |
[INFO] [stderr] 79 |     let mut inquiry_infos = vec::from_elem(InquiryInfo::default(), 256);
[INFO] [stderr]    |                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bluetooth.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |     WaitFor(&'a mio::Evented, mio::Ready),
[INFO] [stderr]     |                 ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 126 |     WaitFor(&'a dyn mio::Evented, mio::Ready),
[INFO] [stderr]     |                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/bluetooth.rs:184:46
[INFO] [stderr]     |
[INFO] [stderr] 184 |             BtError::IoError(ref err) => err.description(),
[INFO] [stderr]     |                                              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/linux/hci.rs:82:35
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let max_secs = u64::from(u32::max_value());
[INFO] [stderr]    |                                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl i32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/linux/hci.rs:95:48
[INFO] [stderr]    |
[INFO] [stderr] 95 |     let timeout = timeout.min(f64::from(c_int::max_value())).max(1.) as c_int;
[INFO] [stderr]    |                                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/linux/socket.rs:18:48
[INFO] [stderr]    |
[INFO] [stderr] 18 |         format!("{:}: {:}", message, nix_error.description()),
[INFO] [stderr]    |                                                ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/linux/socket.rs:99:15
[INFO] [stderr]    |
[INFO] [stderr] 99 |             e.description().to_string(),
[INFO] [stderr]    |               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/bluetooth.rs:69:26
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stderr]    |                          ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn connect_async(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stderr]    |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/bluetooth.rs:144:20
[INFO] [stderr]     |
[INFO] [stderr] 144 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stderr]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 144 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stderr]     |                                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/linux/socket.rs:83:20
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect {
[INFO] [stderr]    |                    ^^^^^^^^^                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pub fn connect(&mut self, addr: BtAddr) -> BtSocketConnect<'_> {
[INFO] [stderr]    |                                                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/linux/socket.rs:181:20
[INFO] [stderr]     |
[INFO] [stderr] 181 |     pub fn advance(&mut self) -> Result<BtAsync, BtError> {
[INFO] [stderr]     |                    ^^^^^^^^^            ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 181 |     pub fn advance(&mut self) -> Result<BtAsync<'_>, BtError> {
[INFO] [stderr]     |                                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `bluetooth-serial-port` (lib) generated 15 warnings (run `cargo fix --lib -p bluetooth-serial-port` to apply 7 suggestions)
[INFO] [stderr] warning: attribute must be of the form `#[test]`
[INFO] [stderr]    --> src/bluetooth.rs:312:5
[INFO] [stderr]     |
[INFO] [stderr] 312 |     #[test()]
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stderr]     = note: `#[warn(ill_formed_attribute_input)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: attribute must be of the form `#[test]`
[INFO] [stderr]    --> src/bluetooth.rs:334:5
[INFO] [stderr]     |
[INFO] [stderr] 334 |     #[test()]
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stderr] 
[INFO] [stderr] warning: attribute must be of the form `#[test]`
[INFO] [stderr]    --> src/bluetooth.rs:340:5
[INFO] [stderr]     |
[INFO] [stderr] 340 |     #[test()]
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stderr] 
[INFO] [stderr] warning: attribute must be of the form `#[test]`
[INFO] [stderr]    --> src/bluetooth.rs:352:5
[INFO] [stderr]     |
[INFO] [stderr] 352 |     #[test()]
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stderr] 
[INFO] [stderr] warning: attribute must be of the form `#[test]`
[INFO] [stderr]    --> src/bluetooth.rs:358:5
[INFO] [stderr]     |
[INFO] [stderr] 358 |     #[test()]
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
[INFO] [stderr] 
[INFO] [stderr] warning: `bluetooth-serial-port` (lib test) generated 20 warnings (15 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluetooth-serial-port v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/bluetooth-serial-port/4fe346e45877aa02/out/bluetooth_serial_port-4fe346e45877aa02)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test bluetooth::tests::btaddr_from_string ... ok
[INFO] [stdout] test bluetooth::tests::btaddr_roundtrips_to_from_str ... ok
[INFO] [stdout] test bluetooth::tests::scans_devices ... FAILED
[INFO] [stdout] test bluetooth::tests::creates_rfcomm_socket ... FAILED
[INFO] [stdout] test bluetooth::tests::btaddr_to_string ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- bluetooth::tests::scans_devices stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'bluetooth::tests::scans_devices' (265) panicked at src/bluetooth.rs:360:53:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Errno(97, "hci_get_route(): No local bluetooth adapter found: Address family not supported by protocol")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ddf5c20c731 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ddf5c220b4a - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5ddf5c210c2c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ddf5c1e9316 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ddf5c204c89 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5ddf5c1a1d60 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5ddf5c204e42 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ddf5c1e93c2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ddf5c1e1cf9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ddf5c1e9fcd - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ddf5c22185c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ddf5c2259f2 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner
[INFO] [stdout]   12:     0x5ddf5c193467 - core[5c14b8d5a259cc4e]::result::unwrap_failed::<bluetooth_serial_port[739ff2bb79cb170e]::bluetooth::BtError>
[INFO] [stdout]   13:     0x5ddf5c194250 - <bluetooth_serial_port[739ff2bb79cb170e]::bluetooth::tests::scans_devices::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x5ddf5c194bcb - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x5ddf5c1a2385 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x5ddf5c19b7d4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x5ddf5c1a5312 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x5ddf5c20bfcf - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7f3e7fcf8dfa - <unknown>
[INFO] [stdout]   20:     0x7f3e7fd8c3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- bluetooth::tests::creates_rfcomm_socket stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'bluetooth::tests::creates_rfcomm_socket' (264) panicked at src/bluetooth.rs:354:43:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Errno(97, "Failed to create Bluetooth socket: Address family not supported by protocol")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5ddf5c20c731 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5ddf5c220b4a - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5ddf5c210c2c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5ddf5c1e9316 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5ddf5c204c89 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5ddf5c1a1d60 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5ddf5c204e42 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5ddf5c1e93c2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5ddf5c1e1cf9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5ddf5c1e9fcd - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5ddf5c22185c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5ddf5c2259f2 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner
[INFO] [stdout]   12:     0x5ddf5c193467 - core[5c14b8d5a259cc4e]::result::unwrap_failed::<bluetooth_serial_port[739ff2bb79cb170e]::bluetooth::BtError>
[INFO] [stdout]   13:     0x5ddf5c1947f8 - <bluetooth_serial_port[739ff2bb79cb170e]::bluetooth::tests::creates_rfcomm_socket::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x5ddf5c194bcb - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x5ddf5c1a2385 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x5ddf5c19b7d4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x5ddf5c1a5312 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x5ddf5c20bfcf - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7f3e7fcf8dfa - <unknown>
[INFO] [stdout]   20:     0x7f3e7fd8c3d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     bluetooth::tests::creates_rfcomm_socket
[INFO] [stdout]     bluetooth::tests::scans_devices
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] running `"docker" "rm" "-f" "8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c"`
[INFO] [stdout] 8093c629bf0a354481a611dd7463984921ec41d16c64da074954a413b96ad48c
