[INFO] fetching crate timestamped-socket 0.2.4... [INFO] checking timestamped-socket-0.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate timestamped-socket 0.2.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate timestamped-socket 0.2.4 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 timestamped-socket 0.2.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate timestamped-socket 0.2.4 [INFO] tweaked toml for crates.io crate timestamped-socket 0.2.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate timestamped-socket 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d3f24f760c96621dd670bbe00a68530c5faed3a3522089e0b70904cb04e317b2 [INFO] running `Command { std: "docker" "start" "-a" "d3f24f760c96621dd670bbe00a68530c5faed3a3522089e0b70904cb04e317b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f24f760c96621dd670bbe00a68530c5faed3a3522089e0b70904cb04e317b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f24f760c96621dd670bbe00a68530c5faed3a3522089e0b70904cb04e317b2", kill_on_drop: false }` [INFO] [stdout] d3f24f760c96621dd670bbe00a68530c5faed3a3522089e0b70904cb04e317b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0c2cacf77ed6a6b2c9bffb020b204d268e86f1856a2a20ecf6cbbf48b24c3c75 [INFO] running `Command { std: "docker" "start" "-a" "0c2cacf77ed6a6b2c9bffb020b204d268e86f1856a2a20ecf6cbbf48b24c3c75", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking timestamped-socket v0.2.4 (/opt/rustwide/workdir) [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/interface/linux.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(ChangeDetector { [INFO] [stdout] | ____________^ [INFO] [stdout] 113 | | fd: AsyncFd::new(fd)?, [INFO] [stdout] 114 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/socket.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | A::from_sockaddr(addr, PrivateToken).ok_or_else(|| std::io::ErrorKind::Other.into()) [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/socket.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | A::from_sockaddr(addr, PrivateToken).ok_or_else(|| std::io::ErrorKind::Other.into()) [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/socket.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 134 | let (bytes_read, control_messages, remote_address) = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let remote_addr = A::from_sockaddr(remote_address, PrivateToken) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(RecvResult { [INFO] [stdout] | ____________________^ [INFO] [stdout] 170 | | bytes_read, [INFO] [stdout] 171 | | remote_addr, [INFO] [stdout] 172 | | timestamp, [INFO] [stdout] 173 | | }) [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] | |_________________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/socket.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn connect(self, addr: A) -> std::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] 210 | Ok(Socket { [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | timestamp_mode: self.timestamp_mode, [INFO] [stdout] 212 | | socket: self.socket, [INFO] [stdout] 213 | | #[cfg(target_os = "linux")] [INFO] [stdout] ... | [INFO] [stdout] 216 | | _state: PhantomData, [INFO] [stdout] 217 | | }) [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/socket.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 263 | let socket = match addr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 272 | | timestamp_mode: timestamping.into(), [INFO] [stdout] 273 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 274 | | #[cfg(target_os = "linux")] [INFO] [stdout] ... | [INFO] [stdout] 277 | | _state: PhantomData, [INFO] [stdout] 278 | | }) [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/socket.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 286 | let socket = match addr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 295 | | timestamp_mode: timestamping.into(), [INFO] [stdout] 296 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 297 | | #[cfg(target_os = "linux")] [INFO] [stdout] ... | [INFO] [stdout] 300 | | _state: PhantomData, [INFO] [stdout] 301 | | }) [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/socket/linux.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 165 | let socket = RawSocket::open(libc::PF_INET6, libc::SOCK_DGRAM, libc::IPPROTO_UDP)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 189 | | timestamp_mode: timestamping, [INFO] [stdout] 190 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 191 | | send_counter: 0, [INFO] [stdout] 192 | | _addr: PhantomData, [INFO] [stdout] 193 | | _state: PhantomData, [INFO] [stdout] 194 | | }) [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/socket/linux.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 204 | let socket = RawSocket::open(libc::PF_INET, libc::SOCK_DGRAM, libc::IPPROTO_UDP)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 227 | | timestamp_mode: timestamping, [INFO] [stdout] 228 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 229 | | send_counter: 0, [INFO] [stdout] 230 | | _addr: PhantomData, [INFO] [stdout] 231 | | _state: PhantomData, [INFO] [stdout] 232 | | }) [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/socket/linux.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 242 | let socket = RawSocket::open(libc::PF_INET6, libc::SOCK_DGRAM, libc::IPPROTO_UDP)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 266 | | timestamp_mode: timestamping, [INFO] [stdout] 267 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 268 | | send_counter: 0, [INFO] [stdout] 269 | | _addr: PhantomData, [INFO] [stdout] 270 | | _state: PhantomData, [INFO] [stdout] 271 | | }) [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/socket/linux.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 280 | let socket = RawSocket::open( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 312 | | timestamp_mode: timestamping, [INFO] [stdout] 313 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 314 | | send_counter: 0, [INFO] [stdout] 315 | | _addr: PhantomData, [INFO] [stdout] 316 | | _state: PhantomData, [INFO] [stdout] 317 | | }) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timestamped-socket` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/interface/linux.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(ChangeDetector { [INFO] [stdout] | ____________^ [INFO] [stdout] 113 | | fd: AsyncFd::new(fd)?, [INFO] [stdout] 114 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/socket.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | A::from_sockaddr(addr, PrivateToken).ok_or_else(|| std::io::ErrorKind::Other.into()) [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/socket.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | A::from_sockaddr(addr, PrivateToken).ok_or_else(|| std::io::ErrorKind::Other.into()) [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/socket.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 134 | let (bytes_read, control_messages, remote_address) = [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let remote_addr = A::from_sockaddr(remote_address, PrivateToken) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Ok(RecvResult { [INFO] [stdout] | ____________________^ [INFO] [stdout] 170 | | bytes_read, [INFO] [stdout] 171 | | remote_addr, [INFO] [stdout] 172 | | timestamp, [INFO] [stdout] 173 | | }) [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] | |_________________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/socket.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn connect(self, addr: A) -> std::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] 210 | Ok(Socket { [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | timestamp_mode: self.timestamp_mode, [INFO] [stdout] 212 | | socket: self.socket, [INFO] [stdout] 213 | | #[cfg(target_os = "linux")] [INFO] [stdout] ... | [INFO] [stdout] 216 | | _state: PhantomData, [INFO] [stdout] 217 | | }) [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/socket.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 263 | let socket = match addr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 271 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 272 | | timestamp_mode: timestamping.into(), [INFO] [stdout] 273 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 274 | | #[cfg(target_os = "linux")] [INFO] [stdout] ... | [INFO] [stdout] 277 | | _state: PhantomData, [INFO] [stdout] 278 | | }) [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/socket.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 286 | let socket = match addr { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 295 | | timestamp_mode: timestamping.into(), [INFO] [stdout] 296 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 297 | | #[cfg(target_os = "linux")] [INFO] [stdout] ... | [INFO] [stdout] 300 | | _state: PhantomData, [INFO] [stdout] 301 | | }) [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/socket/linux.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 165 | let socket = RawSocket::open(libc::PF_INET6, libc::SOCK_DGRAM, libc::IPPROTO_UDP)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 189 | | timestamp_mode: timestamping, [INFO] [stdout] 190 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 191 | | send_counter: 0, [INFO] [stdout] 192 | | _addr: PhantomData, [INFO] [stdout] 193 | | _state: PhantomData, [INFO] [stdout] 194 | | }) [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/socket/linux.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 204 | let socket = RawSocket::open(libc::PF_INET, libc::SOCK_DGRAM, libc::IPPROTO_UDP)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 227 | | timestamp_mode: timestamping, [INFO] [stdout] 228 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 229 | | send_counter: 0, [INFO] [stdout] 230 | | _addr: PhantomData, [INFO] [stdout] 231 | | _state: PhantomData, [INFO] [stdout] 232 | | }) [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/socket/linux.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 242 | let socket = RawSocket::open(libc::PF_INET6, libc::SOCK_DGRAM, libc::IPPROTO_UDP)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 266 | | timestamp_mode: timestamping, [INFO] [stdout] 267 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 268 | | send_counter: 0, [INFO] [stdout] 269 | | _addr: PhantomData, [INFO] [stdout] 270 | | _state: PhantomData, [INFO] [stdout] 271 | | }) [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/socket/linux.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 280 | let socket = RawSocket::open( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Socket { [INFO] [stdout] | ________^ [INFO] [stdout] 312 | | timestamp_mode: timestamping, [INFO] [stdout] 313 | | socket: AsyncFd::new(socket)?, [INFO] [stdout] 314 | | send_counter: 0, [INFO] [stdout] 315 | | _addr: PhantomData, [INFO] [stdout] 316 | | _state: PhantomData, [INFO] [stdout] 317 | | }) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timestamped-socket` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "0c2cacf77ed6a6b2c9bffb020b204d268e86f1856a2a20ecf6cbbf48b24c3c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2cacf77ed6a6b2c9bffb020b204d268e86f1856a2a20ecf6cbbf48b24c3c75", kill_on_drop: false }` [INFO] [stdout] 0c2cacf77ed6a6b2c9bffb020b204d268e86f1856a2a20ecf6cbbf48b24c3c75