[INFO] fetching crate tokio-smoltcp 0.4.1... [INFO] checking tokio-smoltcp-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tokio-smoltcp 0.4.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tokio-smoltcp 0.4.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 tokio-smoltcp 0.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tokio-smoltcp 0.4.1 [INFO] tweaked toml for crates.io crate tokio-smoltcp 0.4.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate tokio-smoltcp 0.4.1 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] aec914409513afec21df9e9d6f1165885d98fafffca995f90843e3c1d7e08fbd [INFO] running `Command { std: "docker" "start" "-a" "aec914409513afec21df9e9d6f1165885d98fafffca995f90843e3c1d7e08fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec914409513afec21df9e9d6f1165885d98fafffca995f90843e3c1d7e08fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec914409513afec21df9e9d6f1165885d98fafffca995f90843e3c1d7e08fbd", kill_on_drop: false }` [INFO] [stdout] aec914409513afec21df9e9d6f1165885d98fafffca995f90843e3c1d7e08fbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4ef579de9fa880cd6733d3895c90f3e1c9d4bf5a35309209164f3875ec18d83e [INFO] running `Command { std: "docker" "start" "-a" "4ef579de9fa880cd6733d3895c90f3e1c9d4bf5a35309209164f3875ec18d83e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling smoltcp v0.10.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling pcap v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-smoltcp v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AnySocket` and `Socket` [INFO] [stdout] --> src/socket.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub use smoltcp::socket::{raw, tcp, udp, AnySocket, Socket}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnySocket` and `Socket` [INFO] [stdout] --> src/socket.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub use smoltcp::socket::{raw, tcp, udp, AnySocket, Socket}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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:116:13 [INFO] [stdout] | [INFO] [stdout] 84 | device: D, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let mut iface = Interface::new(config.interface_config, &mut buffer_device, Instant::now()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let stopper = Arc::new(Notify::new()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let (reactor, fut) = Reactor::new( [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] 116 | / Net { [INFO] [stdout] 117 | | reactor: Arc::new(reactor), [INFO] [stdout] 118 | | ip_addr: config.ip_addr, [INFO] [stdout] 119 | | from_port: AtomicU16::new(10001), [INFO] [stdout] 120 | | stopper, [INFO] [stdout] 121 | | }, [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/device/unix.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(obj: T, recv: R, send: S, caps: DeviceCapabilities) -> 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let async_fd = AsyncFd::with_interest(obj.as_raw_fd(), Interest::READABLE)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Ok(AsyncCapture { [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | obj, [INFO] [stdout] 50 | | recv, [INFO] [stdout] 51 | | send, [INFO] [stdout] ... | [INFO] [stdout] 55 | | caps, [INFO] [stdout] 56 | | }) [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/device/channel_capture.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(recv: R, send: S, caps: DeviceCapabilities) -> Self [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] 29 | let (tx1, rx1) = channel(1000); [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] 30 | let (tx2, rx2) = channel(1000); [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] 40 | send: PollSender::new(tx1), [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:116:13 [INFO] [stdout] | [INFO] [stdout] 84 | device: D, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let mut iface = Interface::new(config.interface_config, &mut buffer_device, Instant::now()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let stopper = Arc::new(Notify::new()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let (reactor, fut) = Reactor::new( [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] 116 | / Net { [INFO] [stdout] 117 | | reactor: Arc::new(reactor), [INFO] [stdout] 118 | | ip_addr: config.ip_addr, [INFO] [stdout] 119 | | from_port: AtomicU16::new(10001), [INFO] [stdout] 120 | | stopper, [INFO] [stdout] 121 | | }, [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/reactor.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 101 | async_device: impl crate::device::AsyncDevice, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | iface: Interface, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | stopper: Arc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> (Self, impl Future> + Send) { [INFO] [stdout] 107 | let iface = Arc::new(Mutex::new(iface)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let notify = Arc::new(Notify::new()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let socket_allocator = SocketAlloctor::new(buffer_size); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let fut = run( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | / Reactor { [INFO] [stdout] 121 | | notify, [INFO] [stdout] 122 | | iface: iface.clone(), [INFO] [stdout] 123 | | socket_allocator, [INFO] [stdout] 124 | | }, [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:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | let (tcp, _) = ready!(self.0.poll_accept(cx))?; [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] 78 | Poll::Ready(Some(Ok(tcp))) [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] = 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:143:12 [INFO] [stdout] | [INFO] [stdout] 128 | let reactor = listener.reactor.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | let new_handle = reactor.socket_allocator().new_tcp_socket(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let socket = reactor.get_socket::(*listener.handle); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | TcpStream { [INFO] [stdout] 145 | | handle: replace(&mut listener.handle, new_handle), [INFO] [stdout] 146 | | reactor: reactor.clone(), [INFO] [stdout] ... | [INFO] [stdout] 150 | | peer_addr, [INFO] [stdout] 151 | | )) [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_allocator.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 64 | let mut set = self.sockets.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let handle = set.add(self.alloc_tcp_socket()); [INFO] [stdout] 66 | SocketHandle::new(handle, self.sockets.clone()) [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_allocator.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 69 | let mut set = self.sockets.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let handle = set.add(self.alloc_udp_socket()); [INFO] [stdout] 71 | SocketHandle::new(handle, self.sockets.clone()) [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_allocator.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 74 | let mut set = self.sockets.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let handle = set.add(self.alloc_raw_socket(ip_version, ip_protocol)); [INFO] [stdout] 76 | SocketHandle::new(handle, self.sockets.clone()) [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/device/unix.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(obj: T, recv: R, send: S, caps: DeviceCapabilities) -> 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let async_fd = AsyncFd::with_interest(obj.as_raw_fd(), Interest::READABLE)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Ok(AsyncCapture { [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | obj, [INFO] [stdout] 50 | | recv, [INFO] [stdout] 51 | | send, [INFO] [stdout] ... | [INFO] [stdout] 55 | | caps, [INFO] [stdout] 56 | | }) [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/device/channel_capture.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(recv: R, send: S, caps: DeviceCapabilities) -> Self [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] 29 | let (tx1, rx1) = channel(1000); [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] 30 | let (tx2, rx2) = channel(1000); [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] 40 | send: PollSender::new(tx1), [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/reactor.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 101 | async_device: impl crate::device::AsyncDevice, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | iface: Interface, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | stopper: Arc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> (Self, impl Future> + Send) { [INFO] [stdout] 107 | let iface = Arc::new(Mutex::new(iface)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let notify = Arc::new(Notify::new()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let socket_allocator = SocketAlloctor::new(buffer_size); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let fut = run( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | / Reactor { [INFO] [stdout] 121 | | notify, [INFO] [stdout] 122 | | iface: iface.clone(), [INFO] [stdout] 123 | | socket_allocator, [INFO] [stdout] 124 | | }, [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:78:21 [INFO] [stdout] | [INFO] [stdout] 77 | let (tcp, _) = ready!(self.0.poll_accept(cx))?; [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] 78 | Poll::Ready(Some(Ok(tcp))) [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] = 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:143:12 [INFO] [stdout] | [INFO] [stdout] 128 | let reactor = listener.reactor.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | let new_handle = reactor.socket_allocator().new_tcp_socket(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let socket = reactor.get_socket::(*listener.handle); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | TcpStream { [INFO] [stdout] 145 | | handle: replace(&mut listener.handle, new_handle), [INFO] [stdout] 146 | | reactor: reactor.clone(), [INFO] [stdout] ... | [INFO] [stdout] 150 | | peer_addr, [INFO] [stdout] 151 | | )) [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; 1 warning emitted [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_allocator.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 64 | let mut set = self.sockets.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let handle = set.add(self.alloc_tcp_socket()); [INFO] [stdout] 66 | SocketHandle::new(handle, self.sockets.clone()) [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_allocator.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 69 | let mut set = self.sockets.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let handle = set.add(self.alloc_udp_socket()); [INFO] [stdout] 71 | SocketHandle::new(handle, self.sockets.clone()) [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_allocator.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 74 | let mut set = self.sockets.lock(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let handle = set.add(self.alloc_raw_socket(ip_version, ip_protocol)); [INFO] [stdout] 76 | SocketHandle::new(handle, self.sockets.clone()) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-smoltcp` (lib test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-smoltcp` (lib) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4ef579de9fa880cd6733d3895c90f3e1c9d4bf5a35309209164f3875ec18d83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef579de9fa880cd6733d3895c90f3e1c9d4bf5a35309209164f3875ec18d83e", kill_on_drop: false }` [INFO] [stdout] 4ef579de9fa880cd6733d3895c90f3e1c9d4bf5a35309209164f3875ec18d83e