[INFO] fetching crate io_bluetooth 0.1.0... [INFO] checking io_bluetooth-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate io_bluetooth 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate io_bluetooth 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate io_bluetooth 0.1.0 [INFO] finished tweaking crates.io crate io_bluetooth 0.1.0 [INFO] tweaked toml for crates.io crate io_bluetooth 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding nix v0.13.1 (latest: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5b27c13064594652b8336b08259cd11faf7467606dfa823e145fb68fac892f0 [INFO] running `Command { std: "docker" "start" "-a" "f5b27c13064594652b8336b08259cd11faf7467606dfa823e145fb68fac892f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5b27c13064594652b8336b08259cd11faf7467606dfa823e145fb68fac892f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b27c13064594652b8336b08259cd11faf7467606dfa823e145fb68fac892f0", kill_on_drop: false }` [INFO] [stdout] f5b27c13064594652b8336b08259cd11faf7467606dfa823e145fb68fac892f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b72528fc5fd937e3b31606b26425561b7ba42eb17aae8cc105f91093ba326c0 [INFO] running `Command { std: "docker" "start" "-a" "2b72528fc5fd937e3b31606b26425561b7ba42eb17aae8cc105f91093ba326c0", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking libbluetooth v0.1.0 [INFO] [stderr] Checking io_bluetooth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTPROTO_L2CAP`, `BTPROTO_RFCOMM`, `IREQ_CACHE_FLUSH`, `bdaddr_t`, `hci_close_dev`, `hci_get_route`, `hci_inquiry`, `hci_open_dev`, `inquiry_info`, and `rfcomm::sockaddr_rc` [INFO] [stdout] --> src/sys/unix/c.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | bluetooth::{bdaddr_t, BTPROTO_L2CAP, BTPROTO_RFCOMM}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | hci::{inquiry_info, IREQ_CACHE_FLUSH}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | hci_lib::{hci_close_dev, hci_get_route, hci_inquiry, hci_open_dev}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | rfcomm::sockaddr_rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AF_BLUETOOTH`, `SHUT_RDWR`, `SOCK_STREAM`, `accept`, `bind`, `connect`, `getpeername`, `getsockname`, `shutdown`, `sockaddr`, `socket`, and `socklen_t` [INFO] [stdout] --> src/sys/unix/c.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | accept, bind, connect, getpeername, getsockname, shutdown, sockaddr, socket, socklen_t, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | AF_BLUETOOTH, SHUT_RDWR, SOCK_STREAM, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/bt.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | target_os = "haiku", target_os = "bitrig" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTPROTO_L2CAP`, `BTPROTO_RFCOMM`, `IREQ_CACHE_FLUSH`, `bdaddr_t`, `hci_close_dev`, `hci_get_route`, `hci_inquiry`, `hci_open_dev`, `inquiry_info`, and `rfcomm::sockaddr_rc` [INFO] [stdout] --> src/sys/unix/c.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | bluetooth::{bdaddr_t, BTPROTO_L2CAP, BTPROTO_RFCOMM}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | hci::{inquiry_info, IREQ_CACHE_FLUSH}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | hci_lib::{hci_close_dev, hci_get_route, hci_inquiry, hci_open_dev}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | rfcomm::sockaddr_rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AF_BLUETOOTH`, `SHUT_RDWR`, `SOCK_STREAM`, `accept`, `bind`, `connect`, `getpeername`, `getsockname`, `shutdown`, `sockaddr`, `socket`, and `socklen_t` [INFO] [stdout] --> src/sys/unix/c.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | accept, bind, connect, getpeername, getsockname, shutdown, sockaddr, socket, socklen_t, [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 9 | AF_BLUETOOTH, SHUT_RDWR, SOCK_STREAM, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/sys_common/bt.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | target_os = "haiku", target_os = "bitrig" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsInnerMut` is never used [INFO] [stdout] --> src/sys_common/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait AsInnerMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/sys_common/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoInner { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 18 | fn into_inner(self) -> Inner; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromInner` is never used [INFO] [stdout] --> src/sys_common/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait FromInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `socket` and `into_socket` are never used [INFO] [stdout] --> src/sys_common/bt.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl BtListener { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn socket(&self) -> &Socket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn into_socket(self) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `socket` and `into_socket` are never used [INFO] [stdout] --> src/sys_common/bt.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl BtStream { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn socket(&self) -> &Socket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn into_socket(self) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn bind<'a, I>(addrs: I, protocol: BtProtocol) -> io::Result [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | each_addr(addrs, |addr| bt_imp::BtListener::bind(addr, protocol)).map(BtListener) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | self.0.accept().map(|(a, b)| (BtStream(a), b)) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 202 | addrs: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | each_addr(addrs, |addr| bt_imp::BtStream::connect(addr, protocol)).map(BtStream) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 485 | fn each_addr<'a, I, F, T>(addrs: I, mut f: F) -> io::Result [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | let mut last_err = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | Err(last_err.unwrap_or_else(|| { [INFO] [stdout] | _________^ [INFO] [stdout] 498 | | io::Error::new( [INFO] [stdout] 499 | | io::ErrorKind::InvalidInput, [INFO] [stdout] 500 | | "could not resolve to any addresses", [INFO] [stdout] 501 | | ) [INFO] [stdout] 502 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys/unix/bt.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | let fd = FileDesc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | fd.set_cloexec()?; [INFO] [stdout] 106 | Ok((Socket(fd), BtAddr(addr.rc_bdaddr.b))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 84 | let socket = Socket::new(protocol)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | inner: socket, [INFO] [stdout] 98 | | protocol, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 103 | self.inner.accept().map(|(socket, addr)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ( [INFO] [stdout] 105 | / BtStream { [INFO] [stdout] 106 | | inner: socket, [INFO] [stdout] 107 | | protocol: self.protocol, [INFO] [stdout] 108 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 172 | let socket = Socket::new(protocol)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | cvt_r(|| unsafe { c::connect(*socket.as_inner(), &addr as *const _ as *const _, len) })?; [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | inner: socket, [INFO] [stdout] 176 | | protocol, [INFO] [stdout] 177 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 185 | let socket = Socket::new(protocol)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | socket.connect_timeout(addr, timeout)?; [INFO] [stdout] 187 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 188 | | inner: socket, [INFO] [stdout] 189 | | protocol, [INFO] [stdout] 190 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io_bluetooth` (lib) due to 10 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `AsInnerMut` is never used [INFO] [stdout] --> src/sys_common/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait AsInnerMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/sys_common/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoInner { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 18 | fn into_inner(self) -> Inner; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromInner` is never used [INFO] [stdout] --> src/sys_common/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait FromInner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `socket` and `into_socket` are never used [INFO] [stdout] --> src/sys_common/bt.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl BtListener { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn socket(&self) -> &Socket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn into_socket(self) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `socket` and `into_socket` are never used [INFO] [stdout] --> src/sys_common/bt.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl BtStream { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn socket(&self) -> &Socket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn into_socket(self) -> Socket { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn bind<'a, I>(addrs: I, protocol: BtProtocol) -> io::Result [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | each_addr(addrs, |addr| bt_imp::BtListener::bind(addr, protocol)).map(BtListener) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | self.0.accept().map(|(a, b)| (BtStream(a), b)) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 202 | addrs: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | each_addr(addrs, |addr| bt_imp::BtStream::connect(addr, protocol)).map(BtStream) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bt/mod.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 485 | fn each_addr<'a, I, F, T>(addrs: I, mut f: F) -> io::Result [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | let mut last_err = None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | Err(last_err.unwrap_or_else(|| { [INFO] [stdout] | _________^ [INFO] [stdout] 498 | | io::Error::new( [INFO] [stdout] 499 | | io::ErrorKind::InvalidInput, [INFO] [stdout] 500 | | "could not resolve to any addresses", [INFO] [stdout] 501 | | ) [INFO] [stdout] 502 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys/unix/bt.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 104 | let fd = FileDesc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | fd.set_cloexec()?; [INFO] [stdout] 106 | Ok((Socket(fd), BtAddr(addr.rc_bdaddr.b))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 84 | let socket = Socket::new(protocol)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | inner: socket, [INFO] [stdout] 98 | | protocol, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 103 | self.inner.accept().map(|(socket, addr)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ( [INFO] [stdout] 105 | / BtStream { [INFO] [stdout] 106 | | inner: socket, [INFO] [stdout] 107 | | protocol: self.protocol, [INFO] [stdout] 108 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 172 | let socket = Socket::new(protocol)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | cvt_r(|| unsafe { c::connect(*socket.as_inner(), &addr as *const _ as *const _, len) })?; [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | inner: socket, [INFO] [stdout] 176 | | protocol, [INFO] [stdout] 177 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sys_common/bt.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 185 | let socket = Socket::new(protocol)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | socket.connect_timeout(addr, timeout)?; [INFO] [stdout] 187 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 188 | | inner: socket, [INFO] [stdout] 189 | | protocol, [INFO] [stdout] 190 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io_bluetooth` (lib test) due to 10 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2b72528fc5fd937e3b31606b26425561b7ba42eb17aae8cc105f91093ba326c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b72528fc5fd937e3b31606b26425561b7ba42eb17aae8cc105f91093ba326c0", kill_on_drop: false }` [INFO] [stdout] 2b72528fc5fd937e3b31606b26425561b7ba42eb17aae8cc105f91093ba326c0