[INFO] fetching crate bluetooth-serial-port 0.6.0...
[INFO] testing bluetooth-serial-port-0.6.0 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate bluetooth-serial-port 0.6.0 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bluetooth-serial-port 0.6.0 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.100.0-beta.13" "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.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nix v0.13.1
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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] 482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e
[INFO] running `"docker" "start" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[INFO] running `"docker" "inspect" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[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" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[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" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "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: 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 3.56s
[INFO] running `"docker" "inspect" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[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" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[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: 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] [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: 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.88s
[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" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[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" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "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: 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 14 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 19 warnings (14 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.05s
[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/a8a1507fc611c311/out/bluetooth_serial_port-a8a1507fc611c311)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test bluetooth::tests::btaddr_to_string ... ok
[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] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- bluetooth::tests::scans_devices stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'bluetooth::tests::scans_devices' (261) 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:     0x569c8b5d9921 - <<std[f3a103f8b3fbc6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x569c8b5ed8da - core[a2c1a7cd948629ec]::fmt::write
[INFO] [stdout]    2:     0x569c8b5ddbec - <alloc[9de6908353064a78]::vec::Vec<u8> as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x569c8b5b5d86 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x569c8b5d1f69 - std[f3a103f8b3fbc6]::panicking::default_hook
[INFO] [stdout]    5:     0x569c8b56e600 - test[4d2796dde4b18a79]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x569c8b5d2122 - std[f3a103f8b3fbc6]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x569c8b5b5e32 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x569c8b5af939 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace::<std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x569c8b5b6a3d - __rustc[72b30b8c63551d82]::rust_begin_unwind
[INFO] [stdout]   10:     0x569c8b5ee00c - core[a2c1a7cd948629ec]::panicking::panic_fmt
[INFO] [stdout]   11:     0x569c8b5edde2 - core[a2c1a7cd948629ec]::result::unwrap_failed
[INFO] [stdout]   12:     0x569c8b56106d - <bluetooth_serial_port[422027aa1a629969]::bluetooth::tests::scans_devices::{closure#0} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x569c8b561a4b - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::<core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>>
[INFO] [stdout]   14:     0x569c8b56ec25 - test[4d2796dde4b18a79]::run_test::{closure#0}
[INFO] [stdout]   15:     0x569c8b568014 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace::<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x569c8b571cb2 - <std[f3a103f8b3fbc6]::thread::lifecycle::spawn_unchecked<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x569c8b5d917f - <std[f3a103f8b3fbc6]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7f6f698a8dfa - <unknown>
[INFO] [stdout]   19:     0x7f6f6993c3d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- bluetooth::tests::creates_rfcomm_socket stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'bluetooth::tests::creates_rfcomm_socket' (260) 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:     0x569c8b5d9921 - <<std[f3a103f8b3fbc6]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x569c8b5ed8da - core[a2c1a7cd948629ec]::fmt::write
[INFO] [stdout]    2:     0x569c8b5ddbec - <alloc[9de6908353064a78]::vec::Vec<u8> as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x569c8b5b5d86 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x569c8b5d1f69 - std[f3a103f8b3fbc6]::panicking::default_hook
[INFO] [stdout]    5:     0x569c8b56e600 - test[4d2796dde4b18a79]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x569c8b5d2122 - std[f3a103f8b3fbc6]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x569c8b5b5e32 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x569c8b5af939 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace::<std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x569c8b5b6a3d - __rustc[72b30b8c63551d82]::rust_begin_unwind
[INFO] [stdout]   10:     0x569c8b5ee00c - core[a2c1a7cd948629ec]::panicking::panic_fmt
[INFO] [stdout]   11:     0x569c8b5edde2 - core[a2c1a7cd948629ec]::result::unwrap_failed
[INFO] [stdout]   12:     0x569c8b56162e - <bluetooth_serial_port[422027aa1a629969]::bluetooth::tests::creates_rfcomm_socket::{closure#0} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x569c8b561a4b - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::<core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>>
[INFO] [stdout]   14:     0x569c8b56ec25 - test[4d2796dde4b18a79]::run_test::{closure#0}
[INFO] [stdout]   15:     0x569c8b568014 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace::<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x569c8b571cb2 - <std[f3a103f8b3fbc6]::thread::lifecycle::spawn_unchecked<test[4d2796dde4b18a79]::run_test::{closure#1}, ()>::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x569c8b5d917f - <std[f3a103f8b3fbc6]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x7f6f698a8dfa - <unknown>
[INFO] [stdout]   19:     0x7f6f6993c3d4 - clone
[INFO] [stdout]   20:                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.10s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[INFO] running `"docker" "rm" "-f" "482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e"`
[INFO] [stdout] 482c41253a3ea519327eb8bfe3195a7146ed2115e4798881b68edd9fe1e5346e
