[INFO] fetching crate mavlink-core 0.13.1... [INFO] checking mavlink-core-0.13.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mavlink-core 0.13.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mavlink-core 0.13.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 mavlink-core 0.13.1 [INFO] finished tweaking crates.io crate mavlink-core 0.13.1 [INFO] tweaked toml for crates.io crate mavlink-core 0.13.1 written to /workspace/builds/worker-5-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 23 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding ioctl-rs v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding termios v0.2.2 (latest: v0.3.3) [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] f7fd17d04a219571251ce18a68504cd3f099af13660821c9831310910939d992 [INFO] running `Command { std: "docker" "start" "-a" "f7fd17d04a219571251ce18a68504cd3f099af13660821c9831310910939d992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7fd17d04a219571251ce18a68504cd3f099af13660821c9831310910939d992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7fd17d04a219571251ce18a68504cd3f099af13660821c9831310910939d992", kill_on_drop: false }` [INFO] [stdout] f7fd17d04a219571251ce18a68504cd3f099af13660821c9831310910939d992 [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] 3e1187beee9ee49dc7b96073174c2dcee44fdc0e9b231ee2af9a66ecbc9185a3 [INFO] running `Command { std: "docker" "start" "-a" "3e1187beee9ee49dc7b96073174c2dcee44fdc0e9b231ee2af9a66ecbc9185a3", kill_on_drop: false }` [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking serde_arrays v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crc-any v2.5.0 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking mavlink-core v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `RustDefault` is never used [INFO] [stdout] --> src/utils.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait RustDefault: Copy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / M::parse( [INFO] [stdout] 447 | | MavlinkVersion::V1, [INFO] [stdout] 448 | | u32::from(message.message_id()), [INFO] [stdout] 449 | | message.payload(), [INFO] [stdout] ... | [INFO] [stdout] 459 | | ) [INFO] [stdout] 460 | | }) [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/lib.rs:742:5 [INFO] [stdout] | [INFO] [stdout] 742 | / M::parse(MavlinkVersion::V2, message.message_id(), message.payload()) [INFO] [stdout] 743 | | .map(|msg| { [INFO] [stdout] 744 | | ( [INFO] [stdout] 745 | | MavHeader { [INFO] [stdout] ... | [INFO] [stdout] 751 | | ) [INFO] [stdout] 752 | | }) [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/connection/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | let (header, msg) = self.recv()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let protocol_version = self.get_protocol_version(); [INFO] [stdout] 38 | Ok(MavFrame { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | header, [INFO] [stdout] 40 | | msg, [INFO] [stdout] 41 | | protocol_version, [INFO] [stdout] 42 | | }) [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/connection/tcp.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 18 | let connection = if let Some(address) = address.strip_prefix("tcpout:") { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok(Box::new(connection?)) [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/connection/tcp.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn tcpout(address: T) -> io::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let socket = TcpStream::connect(addr)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(TcpConnection { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | reader: Mutex::new(PeekReader::new(socket.try_clone()?)), [INFO] [stdout] 40 | | writer: Mutex::new(TcpWrite { [INFO] [stdout] 41 | | socket, [INFO] [stdout] ... | [INFO] [stdout] 44 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 45 | | }) [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/connection/tcp.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tcpin(address: T) -> io::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let addr = get_socket_addr(address)?; [INFO] [stdout] 50 | let listener = TcpListener::bind(addr)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Err(io::Error::new( [INFO] [stdout] | _________^ [INFO] [stdout] 72 | | io::ErrorKind::NotConnected, [INFO] [stdout] 73 | | "No incoming connections!", [INFO] [stdout] 74 | | )) [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/connection/udp.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 19 | let connection = if let Some(address) = address.strip_prefix("udpin:") { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(Box::new(connection?)) [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/connection/udp.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn new(socket: UdpSocket, server: bool, dest: Option) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 99 | | server, [INFO] [stdout] 100 | | reader: Mutex::new(PeekReader::new(UdpRead { [INFO] [stdout] 101 | | socket: socket.try_clone()?, [INFO] [stdout] ... | [INFO] [stdout] 110 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 111 | | }) [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/connection/direct_serial.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | let mut port = serial::open(port_name)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(SerialConnection { [INFO] [stdout] | ________^ [INFO] [stdout] 45 | | port: Mutex::new(PeekReader::new(port)), [INFO] [stdout] 46 | | sequence: Mutex::new(0), [INFO] [stdout] 47 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 48 | | }) [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/connection/file.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | let file = File::open(file_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | Ok(FileConnection { [INFO] [stdout] | ________^ [INFO] [stdout] 16 | | file: Mutex::new(PeekReader::new(file)), [INFO] [stdout] 17 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 18 | | }) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RustDefault` is never used [INFO] [stdout] --> src/utils.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait RustDefault: Copy { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / M::parse( [INFO] [stdout] 447 | | MavlinkVersion::V1, [INFO] [stdout] 448 | | u32::from(message.message_id()), [INFO] [stdout] 449 | | message.payload(), [INFO] [stdout] ... | [INFO] [stdout] 459 | | ) [INFO] [stdout] 460 | | }) [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/lib.rs:742:5 [INFO] [stdout] | [INFO] [stdout] 742 | / M::parse(MavlinkVersion::V2, message.message_id(), message.payload()) [INFO] [stdout] 743 | | .map(|msg| { [INFO] [stdout] 744 | | ( [INFO] [stdout] 745 | | MavHeader { [INFO] [stdout] ... | [INFO] [stdout] 751 | | ) [INFO] [stdout] 752 | | }) [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/connection/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | let (header, msg) = self.recv()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let protocol_version = self.get_protocol_version(); [INFO] [stdout] 38 | Ok(MavFrame { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | header, [INFO] [stdout] 40 | | msg, [INFO] [stdout] 41 | | protocol_version, [INFO] [stdout] 42 | | }) [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/connection/tcp.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 18 | let connection = if let Some(address) = address.strip_prefix("tcpout:") { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok(Box::new(connection?)) [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/connection/tcp.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn tcpout(address: T) -> io::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let socket = TcpStream::connect(addr)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(TcpConnection { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | reader: Mutex::new(PeekReader::new(socket.try_clone()?)), [INFO] [stdout] 40 | | writer: Mutex::new(TcpWrite { [INFO] [stdout] 41 | | socket, [INFO] [stdout] ... | [INFO] [stdout] 44 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 45 | | }) [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/connection/tcp.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn tcpin(address: T) -> io::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let addr = get_socket_addr(address)?; [INFO] [stdout] 50 | let listener = TcpListener::bind(addr)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Err(io::Error::new( [INFO] [stdout] | _________^ [INFO] [stdout] 72 | | io::ErrorKind::NotConnected, [INFO] [stdout] 73 | | "No incoming connections!", [INFO] [stdout] 74 | | )) [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/connection/udp.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 19 | let connection = if let Some(address) = address.strip_prefix("udpin:") { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(Box::new(connection?)) [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/connection/udp.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | fn new(socket: UdpSocket, server: bool, dest: Option) -> io::Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 99 | | server, [INFO] [stdout] 100 | | reader: Mutex::new(PeekReader::new(UdpRead { [INFO] [stdout] 101 | | socket: socket.try_clone()?, [INFO] [stdout] ... | [INFO] [stdout] 110 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 111 | | }) [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/connection/direct_serial.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | let mut port = serial::open(port_name)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(SerialConnection { [INFO] [stdout] | ________^ [INFO] [stdout] 45 | | port: Mutex::new(PeekReader::new(port)), [INFO] [stdout] 46 | | sequence: Mutex::new(0), [INFO] [stdout] 47 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 48 | | }) [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/connection/file.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | let file = File::open(file_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | Ok(FileConnection { [INFO] [stdout] | ________^ [INFO] [stdout] 16 | | file: Mutex::new(PeekReader::new(file)), [INFO] [stdout] 17 | | protocol_version: MavlinkVersion::V2, [INFO] [stdout] 18 | | }) [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] [stderr] error: could not compile `mavlink-core` (lib test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mavlink-core` (lib) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3e1187beee9ee49dc7b96073174c2dcee44fdc0e9b231ee2af9a66ecbc9185a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1187beee9ee49dc7b96073174c2dcee44fdc0e9b231ee2af9a66ecbc9185a3", kill_on_drop: false }` [INFO] [stdout] 3e1187beee9ee49dc7b96073174c2dcee44fdc0e9b231ee2af9a66ecbc9185a3