[INFO] fetching crate moxi 0.1.0... [INFO] checking moxi-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate moxi 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate moxi 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate moxi 0.1.0 [INFO] finished tweaking crates.io crate moxi 0.1.0 [INFO] tweaked toml for crates.io crate moxi 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate moxi 0.1.0 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] d791055ac5d26b432fd599d6dd2ec0bf62a19eab0378bb6aa8a5bb67db302c18 [INFO] running `Command { std: "docker" "start" "-a" "d791055ac5d26b432fd599d6dd2ec0bf62a19eab0378bb6aa8a5bb67db302c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d791055ac5d26b432fd599d6dd2ec0bf62a19eab0378bb6aa8a5bb67db302c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d791055ac5d26b432fd599d6dd2ec0bf62a19eab0378bb6aa8a5bb67db302c18", kill_on_drop: false }` [INFO] [stdout] d791055ac5d26b432fd599d6dd2ec0bf62a19eab0378bb6aa8a5bb67db302c18 [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] 0fbcde0f9170ff550a616fb907f0bc87170a1749a67ed1b66653760db594f8a1 [INFO] running `Command { std: "docker" "start" "-a" "0fbcde0f9170ff550a616fb907f0bc87170a1749a67ed1b66653760db594f8a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling cpp_demangle v0.4.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking goblin v0.6.1 [INFO] [stderr] Checking clap_builder v4.3.3 [INFO] [stderr] Checking ruzstd v0.3.1 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking clap v4.3.3 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking moxi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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: aborting due to 1 previous error [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/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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] [stderr] error: could not compile `moxi` (bin "moxi_start") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moxi` (bin "moxi_breakpoint" test) due to 2 previous errors [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/daemon.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_void, fs, io::{BufRead, BufReader}, process::Command, rc::Rc, borrow::Cow, path::Path, collections::HashMap, net::TcpLis... [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/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `writer::Writer` [INFO] [stdout] --> src/daemon.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use writer::Writer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moxi` (bin "moxi_start" test) due to 2 previous errors [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/step.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, anyhow}; [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/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/step.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/daemon.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_void, fs, io::{BufRead, BufReader}, process::Command, rc::Rc, borrow::Cow, path::Path, collections::HashMap, net::TcpLis... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `writer::Writer` [INFO] [stdout] --> src/daemon.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use writer::Writer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moxi` (bin "moxi_step") due to 2 previous errors; 1 warning emitted [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/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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: aborting due to 1 previous error; 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/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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] [stderr] error: could not compile `moxi` (bin "moxi_step" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moxi` (bin "moxi_breakpoint") due to 2 previous errors [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/daemon.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | _ => break, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/daemon.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 235 | Cmd::Breakpoint => do_breakpoint(&debuggee, message, &mut breakpoints)?, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 236 | Cmd::Start => todo!(), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 237 | Cmd::Step => do_step(&debuggee, message)?, [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 238 | _ => break, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/daemon.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | _ => break, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/daemon.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 235 | Cmd::Breakpoint => do_breakpoint(&debuggee, message, &mut breakpoints)?, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 236 | Cmd::Start => todo!(), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 237 | Cmd::Step => do_step(&debuggee, message)?, [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 238 | _ => break, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_command` is never used [INFO] [stdout] --> src/daemon.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn make_command() -> clap::Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Writer` is never constructed [INFO] [stdout] --> src/writer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Writer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/writer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Writer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn write(&mut self, input: &[u8]) -> std::io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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/reader.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(stream: TcpStream) -> Reader { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Reader { [INFO] [stdout] 29 | reader: BufReader::new(stream), [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_command` is never used [INFO] [stdout] --> src/daemon.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn make_command() -> clap::Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Writer` is never constructed [INFO] [stdout] --> src/writer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Writer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/writer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Writer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn write(&mut self, input: &[u8]) -> std::io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/writer.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(stream: TcpStream, cmd_name: &str) -> Writer { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Writer { [INFO] [stdout] 12 | writer: BufWriter::new(stream), [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/reader.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(stream: TcpStream) -> Reader { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Reader { [INFO] [stdout] 29 | reader: BufReader::new(stream), [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moxi` (bin "moxid") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] error: could not compile `moxi` (bin "moxid" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0fbcde0f9170ff550a616fb907f0bc87170a1749a67ed1b66653760db594f8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fbcde0f9170ff550a616fb907f0bc87170a1749a67ed1b66653760db594f8a1", kill_on_drop: false }` [INFO] [stdout] 0fbcde0f9170ff550a616fb907f0bc87170a1749a67ed1b66653760db594f8a1