[INFO] fetching crate wasmer-wasi-local-networking 3.1.1... [INFO] checking wasmer-wasi-local-networking-3.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmer-wasi-local-networking 3.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasmer-wasi-local-networking 3.1.1 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 wasmer-wasi-local-networking 3.1.1 [INFO] finished tweaking crates.io crate wasmer-wasi-local-networking 3.1.1 [INFO] tweaked toml for crates.io crate wasmer-wasi-local-networking 3.1.1 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 18 packages to latest compatible versions [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] d9e2215113bf2e7b7268207c5ea166bc33e481211ab16c669b90be47ed0300de [INFO] running `Command { std: "docker" "start" "-a" "d9e2215113bf2e7b7268207c5ea166bc33e481211ab16c669b90be47ed0300de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9e2215113bf2e7b7268207c5ea166bc33e481211ab16c669b90be47ed0300de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e2215113bf2e7b7268207c5ea166bc33e481211ab16c669b90be47ed0300de", kill_on_drop: false }` [INFO] [stdout] d9e2215113bf2e7b7268207c5ea166bc33e481211ab16c669b90be47ed0300de [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] a93fe96b3212d07e5d8570c611eb458827859bf030d2181b2bafaad0480823ec [INFO] running `Command { std: "docker" "start" "-a" "a93fe96b3212d07e5d8570c611eb458827859bf030d2181b2bafaad0480823ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking wasmer-vfs v3.1.1 [INFO] [stderr] Checking wasmer-vnet v3.1.1 [INFO] [stderr] Checking wasmer-wasi-local-networking v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct LocalUdpSocket(std::net::UdpSocket, SocketAddr); [INFO] [stdout] | -------------- field in this struct ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LocalUdpSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|sock| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Box::new(LocalTcpListener { [INFO] [stdout] | __________________________^ [INFO] [stdout] 106 | | stream: sock, [INFO] [stdout] 107 | | timeout: None, [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] = 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/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | let socket = std::net::UdpSocket::bind(addr).map_err(io_err_into_net_error)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Ok(Box::new(LocalUdpSocket(socket, addr))) [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/lib.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 134 | let stream = if let Some(timeout) = timeout { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(Box::new(LocalTcpStream { [INFO] [stdout] | ____________^ [INFO] [stdout] 142 | | stream, [INFO] [stdout] 143 | | addr: peer, [INFO] [stdout] 144 | | connect_timeout: None, [INFO] [stdout] 145 | | })) [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] [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/lib.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 179 | let (sock, addr) = self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | Ok((sock, addr)) [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/lib.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 182 | .map(|(sock, addr)| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | ( [INFO] [stdout] 184 | / Box::new(LocalTcpStream { [INFO] [stdout] 185 | | stream: sock, [INFO] [stdout] 186 | | addr, [INFO] [stdout] 187 | | connect_timeout: None, [INFO] [stdout] 188 | | }), [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/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 355 | fn send(&mut self, data: Bytes) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | / self.stream [INFO] [stdout] 357 | | .write_all(&data[..]) [INFO] [stdout] 358 | | .map(|_| data.len()) [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/lib.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 368 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 375 | | data: buf, [INFO] [stdout] 376 | | truncated: read == buf_size, [INFO] [stdout] 377 | | }) [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/lib.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 382 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 389 | | data: buf, [INFO] [stdout] 390 | | truncated: read == buf_size, [INFO] [stdout] 391 | | }) [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/lib.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 499 | fn send(&mut self, data: Bytes) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | self.0.send(&data[..]).map_err(io_err_into_net_error) [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/lib.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 509 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 510 | let read = self.0.recv(&mut buf[..]).map_err(io_err_into_net_error)?; [INFO] [stdout] 511 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 513 | | data: buf, [INFO] [stdout] 514 | | truncated: read == buf_size, [INFO] [stdout] 515 | | }) [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/lib.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 520 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 521 | let read = self.0.peek(&mut buf[..]).map_err(io_err_into_net_error)?; [INFO] [stdout] 522 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 523 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 524 | | data: buf, [INFO] [stdout] 525 | | truncated: read == buf_size, [INFO] [stdout] 526 | | }) [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/lib.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 531 | fn send_to(&mut self, data: Bytes, addr: SocketAddr) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | / self.0 [INFO] [stdout] 533 | | .send_to(&data[..], addr) [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/lib.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 539 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | Ok(SocketReceiveFrom { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | data: buf, [INFO] [stdout] 547 | | truncated: read == buf_size, [INFO] [stdout] 548 | | addr: peer, [INFO] [stdout] 549 | | }) [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/lib.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 554 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 559 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 560 | Ok(SocketReceiveFrom { [INFO] [stdout] | ____________^ [INFO] [stdout] 561 | | data: buf, [INFO] [stdout] 562 | | truncated: read == buf_size, [INFO] [stdout] 563 | | addr: peer, [INFO] [stdout] 564 | | }) [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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-wasi-local-networking` (lib test) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:414:48 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct LocalUdpSocket(std::net::UdpSocket, SocketAddr); [INFO] [stdout] | -------------- field in this struct ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LocalUdpSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|sock| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Box::new(LocalTcpListener { [INFO] [stdout] | __________________________^ [INFO] [stdout] 106 | | stream: sock, [INFO] [stdout] 107 | | timeout: None, [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] = 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/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | let socket = std::net::UdpSocket::bind(addr).map_err(io_err_into_net_error)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Ok(Box::new(LocalUdpSocket(socket, addr))) [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/lib.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 134 | let stream = if let Some(timeout) = timeout { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(Box::new(LocalTcpStream { [INFO] [stdout] | ____________^ [INFO] [stdout] 142 | | stream, [INFO] [stdout] 143 | | addr: peer, [INFO] [stdout] 144 | | connect_timeout: None, [INFO] [stdout] 145 | | })) [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] [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/lib.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 179 | let (sock, addr) = self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | Ok((sock, addr)) [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/lib.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 182 | .map(|(sock, addr)| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | ( [INFO] [stdout] 184 | / Box::new(LocalTcpStream { [INFO] [stdout] 185 | | stream: sock, [INFO] [stdout] 186 | | addr, [INFO] [stdout] 187 | | connect_timeout: None, [INFO] [stdout] 188 | | }), [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/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 355 | fn send(&mut self, data: Bytes) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | / self.stream [INFO] [stdout] 357 | | .write_all(&data[..]) [INFO] [stdout] 358 | | .map(|_| data.len()) [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/lib.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 368 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 375 | | data: buf, [INFO] [stdout] 376 | | truncated: read == buf_size, [INFO] [stdout] 377 | | }) [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/lib.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 382 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 389 | | data: buf, [INFO] [stdout] 390 | | truncated: read == buf_size, [INFO] [stdout] 391 | | }) [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/lib.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 499 | fn send(&mut self, data: Bytes) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | self.0.send(&data[..]).map_err(io_err_into_net_error) [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/lib.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 509 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 510 | let read = self.0.recv(&mut buf[..]).map_err(io_err_into_net_error)?; [INFO] [stdout] 511 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 513 | | data: buf, [INFO] [stdout] 514 | | truncated: read == buf_size, [INFO] [stdout] 515 | | }) [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/lib.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 520 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 521 | let read = self.0.peek(&mut buf[..]).map_err(io_err_into_net_error)?; [INFO] [stdout] 522 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 523 | Ok(SocketReceive { [INFO] [stdout] | ____________^ [INFO] [stdout] 524 | | data: buf, [INFO] [stdout] 525 | | truncated: read == buf_size, [INFO] [stdout] 526 | | }) [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/lib.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 531 | fn send_to(&mut self, data: Bytes, addr: SocketAddr) -> Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | / self.0 [INFO] [stdout] 533 | | .send_to(&data[..], addr) [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/lib.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 539 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | Ok(SocketReceiveFrom { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | data: buf, [INFO] [stdout] 547 | | truncated: read == buf_size, [INFO] [stdout] 548 | | addr: peer, [INFO] [stdout] 549 | | }) [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/lib.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 554 | let mut buf = BytesMut::with_capacity(buf_size); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 559 | let buf = Bytes::from(buf).slice(..read); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 560 | Ok(SocketReceiveFrom { [INFO] [stdout] | ____________^ [INFO] [stdout] 561 | | data: buf, [INFO] [stdout] 562 | | truncated: read == buf_size, [INFO] [stdout] 563 | | addr: peer, [INFO] [stdout] 564 | | }) [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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-wasi-local-networking` (lib) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a93fe96b3212d07e5d8570c611eb458827859bf030d2181b2bafaad0480823ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93fe96b3212d07e5d8570c611eb458827859bf030d2181b2bafaad0480823ec", kill_on_drop: false }` [INFO] [stdout] a93fe96b3212d07e5d8570c611eb458827859bf030d2181b2bafaad0480823ec