[INFO] fetching crate uucore 0.0.27... [INFO] checking uucore-0.0.27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uucore 0.0.27 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate uucore 0.0.27 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 uucore 0.0.27 [INFO] finished tweaking crates.io crate uucore 0.0.27 [INFO] tweaked toml for crates.io crate uucore 0.0.27 written to /workspace/builds/worker-2-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding nix v0.28.0 (latest: v0.29.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9fb64bf56623a9d94ec28445930978edb9bc2fe2acefbd9a9dbc5d8b506a0c77 [INFO] running `Command { std: "docker" "start" "-a" "9fb64bf56623a9d94ec28445930978edb9bc2fe2acefbd9a9dbc5d8b506a0c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fb64bf56623a9d94ec28445930978edb9bc2fe2acefbd9a9dbc5d8b506a0c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb64bf56623a9d94ec28445930978edb9bc2fe2acefbd9a9dbc5d8b506a0c77", kill_on_drop: false }` [INFO] [stdout] 9fb64bf56623a9d94ec28445930978edb9bc2fe2acefbd9a9dbc5d8b506a0c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 618190c9ff20814425af99896a5dabcfc15c668e8d3ec8e5a58ddf3a63867e95 [INFO] running `Command { std: "docker" "start" "-a" "618190c9ff20814425af99896a5dabcfc15c668e8d3ec8e5a58ddf3a63867e95", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling uuhelp_parser v0.0.27 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking os_display v0.1.3 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling uucore_procs v0.0.27 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking uucore v0.0.27 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib/mods/panic.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib/mods/panic.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn is_broken_pipe(info: &PanicInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib/mods/panic.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib/mods/panic.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn is_broken_pipe(info: &PanicInfo) -> bool { [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/lib/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | fn collect_lossy(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | self.map(|s| s.to_string_lossy().into_owned()).collect() [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/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | fn collect_ignore(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | self.filter_map(|s| s.into_string().ok()).collect() [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/mods/error.rs:387:18 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new>(kind: std::io::ErrorKind, context: S) -> Box { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 388 | | context: Some(context.into()), [INFO] [stdout] 389 | | inner: kind.into(), [INFO] [stdout] 390 | | }) [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/mods/error.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 466 | fn map_err_context(self, context: impl FnOnce() -> String) -> Box { [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] 467 | Box::new(UIoError { [INFO] [stdout] | __________________^ [INFO] [stdout] 468 | | context: Some((context)()), [INFO] [stdout] 469 | | inner: self, [INFO] [stdout] 470 | | }) [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/mods/error.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 475 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [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] 476 | self.map_err(|e| e.map_err_context(context) as Box) [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/mods/error.rs:476:26 [INFO] [stdout] | [INFO] [stdout] 475 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | self.map_err(|e| e.map_err_context(context) as Box) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/mods/error.rs:482:18 [INFO] [stdout] | [INFO] [stdout] 481 | fn map_err_context(self, context: impl FnOnce() -> String) -> Box { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 482 | Box::new(UIoError { [INFO] [stdout] | __________________^ [INFO] [stdout] 483 | | context: Some((context)()), [INFO] [stdout] 484 | | inner: std::io::Error::new(self, ""), [INFO] [stdout] 485 | | }) [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/mods/error.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 499 | fn from(f: std::io::Error) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | let u_error: UIoError = f.into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 501 | Box::new(u_error) as Self [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/mods/error.rs:522:22 [INFO] [stdout] | [INFO] [stdout] 521 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [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] 522 | self.map_err(|e| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 523 | | Box::new(UIoError { [INFO] [stdout] 524 | | context: Some((context)()), [INFO] [stdout] 525 | | inner: std::io::Error::from_raw_os_error(e as i32), [INFO] [stdout] 526 | | }) as Box [INFO] [stdout] 527 | | }) [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/mods/error.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 521 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | self.map_err(|e| { [INFO] [stdout] 523 | / Box::new(UIoError { [INFO] [stdout] 524 | | context: Some((context)()), [INFO] [stdout] 525 | | inner: std::io::Error::from_raw_os_error(e as i32), [INFO] [stdout] 526 | | }) as Box [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/mods/error.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 533 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | Err(Box::new(UIoError { [INFO] [stdout] | _____________^ [INFO] [stdout] 535 | | context: Some((context)()), [INFO] [stdout] 536 | | inner: std::io::Error::from_raw_os_error(self as i32), [INFO] [stdout] 537 | | }) as Box) [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/mods/error.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 554 | let u_error: UIoError = f.into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 555 | Box::new(u_error) as Self [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/mods/error.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 701 | fn from(e: clap::Error) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 702 | Box::new(ClapErrorWrapper { code: 1, error: e }) [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/mods/io.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from(t: T) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | fx: t.as_fd().try_clone_to_owned()?, [INFO] [stdout] 67 | | }) [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/parser/shortcut_value_parser.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | .filter(|x| x.get_name_and_aliases().any(|name| name.starts_with(value))) [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/parser/shortcut_value_parser.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 95 | fn from(values: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Self(values.into_iter().map(|t| t.into()).collect()) [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 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uucore` (lib) due to 17 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | fn collect_lossy(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | self.map(|s| s.to_string_lossy().into_owned()).collect() [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/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | fn collect_ignore(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | self.filter_map(|s| s.into_string().ok()).collect() [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/mods/error.rs:387:18 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn new>(kind: std::io::ErrorKind, context: S) -> Box { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 388 | | context: Some(context.into()), [INFO] [stdout] 389 | | inner: kind.into(), [INFO] [stdout] 390 | | }) [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/mods/error.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 466 | fn map_err_context(self, context: impl FnOnce() -> String) -> Box { [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] 467 | Box::new(UIoError { [INFO] [stdout] | __________________^ [INFO] [stdout] 468 | | context: Some((context)()), [INFO] [stdout] 469 | | inner: self, [INFO] [stdout] 470 | | }) [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/mods/error.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 475 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [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] 476 | self.map_err(|e| e.map_err_context(context) as Box) [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/mods/error.rs:476:26 [INFO] [stdout] | [INFO] [stdout] 475 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | self.map_err(|e| e.map_err_context(context) as Box) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/mods/error.rs:482:18 [INFO] [stdout] | [INFO] [stdout] 481 | fn map_err_context(self, context: impl FnOnce() -> String) -> Box { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 482 | Box::new(UIoError { [INFO] [stdout] | __________________^ [INFO] [stdout] 483 | | context: Some((context)()), [INFO] [stdout] 484 | | inner: std::io::Error::new(self, ""), [INFO] [stdout] 485 | | }) [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/mods/error.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 499 | fn from(f: std::io::Error) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | let u_error: UIoError = f.into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 501 | Box::new(u_error) as Self [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/mods/error.rs:522:22 [INFO] [stdout] | [INFO] [stdout] 521 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [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] 522 | self.map_err(|e| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 523 | | Box::new(UIoError { [INFO] [stdout] 524 | | context: Some((context)()), [INFO] [stdout] 525 | | inner: std::io::Error::from_raw_os_error(e as i32), [INFO] [stdout] 526 | | }) as Box [INFO] [stdout] 527 | | }) [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/mods/error.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 521 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | self.map_err(|e| { [INFO] [stdout] 523 | / Box::new(UIoError { [INFO] [stdout] 524 | | context: Some((context)()), [INFO] [stdout] 525 | | inner: std::io::Error::from_raw_os_error(e as i32), [INFO] [stdout] 526 | | }) as Box [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/mods/error.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 533 | fn map_err_context(self, context: impl FnOnce() -> String) -> UResult { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | Err(Box::new(UIoError { [INFO] [stdout] | _____________^ [INFO] [stdout] 535 | | context: Some((context)()), [INFO] [stdout] 536 | | inner: std::io::Error::from_raw_os_error(self as i32), [INFO] [stdout] 537 | | }) as Box) [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/mods/error.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 554 | let u_error: UIoError = f.into(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 555 | Box::new(u_error) as Self [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/mods/error.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 701 | fn from(e: clap::Error) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 702 | Box::new(ClapErrorWrapper { code: 1, error: e }) [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/mods/io.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from(t: T) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | fx: t.as_fd().try_clone_to_owned()?, [INFO] [stdout] 67 | | }) [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/parser/shortcut_value_parser.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | .filter(|x| x.get_name_and_aliases().any(|name| name.starts_with(value))) [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/parser/shortcut_value_parser.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 95 | fn from(values: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Self(values.into_iter().map(|t| t.into()).collect()) [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 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uucore` (lib test) due to 17 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "618190c9ff20814425af99896a5dabcfc15c668e8d3ec8e5a58ddf3a63867e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618190c9ff20814425af99896a5dabcfc15c668e8d3ec8e5a58ddf3a63867e95", kill_on_drop: false }` [INFO] [stdout] 618190c9ff20814425af99896a5dabcfc15c668e8d3ec8e5a58ddf3a63867e95