[INFO] fetching crate trees-rs 0.1.1... [INFO] checking trees-rs-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate trees-rs 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate trees-rs 0.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 trees-rs 0.1.1 [INFO] finished tweaking crates.io crate trees-rs 0.1.1 [INFO] tweaked toml for crates.io crate trees-rs 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate trees-rs 0.1.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] c2c596f21775ef7054c9baf6ce70023a8532a5e63ea11f1e530a1e515c85dee9 [INFO] running `Command { std: "docker" "start" "-a" "c2c596f21775ef7054c9baf6ce70023a8532a5e63ea11f1e530a1e515c85dee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2c596f21775ef7054c9baf6ce70023a8532a5e63ea11f1e530a1e515c85dee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c596f21775ef7054c9baf6ce70023a8532a5e63ea11f1e530a1e515c85dee9", kill_on_drop: false }` [INFO] [stdout] c2c596f21775ef7054c9baf6ce70023a8532a5e63ea11f1e530a1e515c85dee9 [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] 3111e9d594091cf232e60c32a5c2a2b14f3a05f2435e71940fabd56045c4c850 [INFO] running `Command { std: "docker" "start" "-a" "3111e9d594091cf232e60c32a5c2a2b14f3a05f2435e71940fabd56045c4c850", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking trees-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `deep` [INFO] [stdout] --> src/report/depth.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn dummy(&mut self, deep: usize) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deep` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deep` [INFO] [stdout] --> src/report/depth.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn dummy(&mut self, deep: usize) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deep` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl AtimeColor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl BtimeColor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl MtimeColor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 268 | impl PmsColor { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deepest` is never read [INFO] [stdout] --> src/report/depth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Depth { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | deepest: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Depth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compare_with` and `dummy` are never used [INFO] [stdout] --> src/report/depth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Depth { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 13 | pub fn compare_with(&mut self, deep: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn dummy(&mut self, deep: usize) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SizeInfo` is never constructed [INFO] [stdout] --> src/report/size.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SizeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WidestDirectory` is never constructed [INFO] [stdout] --> src/report/widest.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WidestDirectory { [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/render/buffer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(writer: W) -> TResult { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let bufwr = io::BufWriter::new(writer); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(Buffer { bufwr }) [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/config/inspect.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 19 | .filter_map(|entry_result| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | entry_result.ok().and_then(|entry| { [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/config/inspect.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 35 | .filter_map(|entry_result| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | entry_result.ok().and_then(|entry| { [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/config/inspect.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 53 | .filter_map(|entry_result| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | entry_result.ok().and_then(|entry| { [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/walk/trctxt.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | let buf = Buffer::new(io::stdout().lock())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | branch, [INFO] [stdout] 43 | | buf, [INFO] [stdout] 44 | | level, [INFO] [stdout] ... | [INFO] [stdout] 49 | | path_builder, [INFO] [stdout] 50 | | }) [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/walk/visit.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(dent: DirEntry) -> TResult { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | abs: Some(abs), [INFO] [stdout] 37 | | dent, [INFO] [stdout] 38 | | filety, [INFO] [stdout] ... | [INFO] [stdout] 41 | | size: Some(size), [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: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trees-rs` (bin "trees-rs") due to 7 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl AtimeColor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl BtimeColor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl MtimeColor { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_color` and `closed_color` are never used [INFO] [stdout] --> src/config/color.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 268 | impl PmsColor { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn open_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn closed_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deepest` is never read [INFO] [stdout] --> src/report/depth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Depth { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | deepest: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Depth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compare_with` and `dummy` are never used [INFO] [stdout] --> src/report/depth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Depth { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 13 | pub fn compare_with(&mut self, deep: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn dummy(&mut self, deep: usize) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SizeInfo` is never constructed [INFO] [stdout] --> src/report/size.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SizeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WidestDirectory` is never constructed [INFO] [stdout] --> src/report/widest.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WidestDirectory { [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/render/buffer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(writer: W) -> TResult { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let bufwr = io::BufWriter::new(writer); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(Buffer { bufwr }) [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/config/inspect.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 19 | .filter_map(|entry_result| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | entry_result.ok().and_then(|entry| { [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/config/inspect.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 35 | .filter_map(|entry_result| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | entry_result.ok().and_then(|entry| { [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/config/inspect.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 53 | .filter_map(|entry_result| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | entry_result.ok().and_then(|entry| { [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/walk/trctxt.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | let buf = Buffer::new(io::stdout().lock())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | branch, [INFO] [stdout] 43 | | buf, [INFO] [stdout] 44 | | level, [INFO] [stdout] ... | [INFO] [stdout] 49 | | path_builder, [INFO] [stdout] 50 | | }) [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/walk/visit.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(dent: DirEntry) -> TResult { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | abs: Some(abs), [INFO] [stdout] 37 | | dent, [INFO] [stdout] 38 | | filety, [INFO] [stdout] ... | [INFO] [stdout] 41 | | size: Some(size), [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: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trees-rs` (bin "trees-rs" test) due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3111e9d594091cf232e60c32a5c2a2b14f3a05f2435e71940fabd56045c4c850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3111e9d594091cf232e60c32a5c2a2b14f3a05f2435e71940fabd56045c4c850", kill_on_drop: false }` [INFO] [stdout] 3111e9d594091cf232e60c32a5c2a2b14f3a05f2435e71940fabd56045c4c850