[INFO] fetching crate ouch 0.5.1... [INFO] checking ouch-0.5.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ouch 0.5.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ouch 0.5.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 ouch 0.5.1 [INFO] finished tweaking crates.io crate ouch 0.5.1 [INFO] tweaked toml for crates.io crate ouch 0.5.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate ouch 0.5.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 42b889b045f6d3692e3cbb446526313d546f589d23080ae8dd5fb86c3276e410 [INFO] running `Command { std: "docker" "start" "-a" "42b889b045f6d3692e3cbb446526313d546f589d23080ae8dd5fb86c3276e410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42b889b045f6d3692e3cbb446526313d546f589d23080ae8dd5fb86c3276e410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b889b045f6d3692e3cbb446526313d546f589d23080ae8dd5fb86c3276e410", kill_on_drop: false }` [INFO] [stdout] 42b889b045f6d3692e3cbb446526313d546f589d23080ae8dd5fb86c3276e410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0710fc9c882c6c364ca03d5589c96dde9d642e7994acafa2f7c43d4dab0eb95d [INFO] running `Command { std: "docker" "start" "-a" "0710fc9c882c6c364ca03d5589c96dde9d642e7994acafa2f7c43d4dab0eb95d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling unrar_sys v0.3.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling snap v1.1.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking core_affinity v0.8.1 [INFO] [stderr] Checking filetime_creation v0.1.6 [INFO] [stderr] Checking nt-time v0.5.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking lzma-rust v0.1.5 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking sevenz-rust v0.5.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking lz4_flex v0.11.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking gzp v0.11.3 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling clap_complete v4.4.4 [INFO] [stderr] Compiling clap_mangen v0.2.15 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Compiling test-strategy v0.3.1 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Compiling ouch v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parse-display-derive v0.8.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking parse-display v0.8.2 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking unrar v0.5.2 [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] --> tests/utils.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap_or_else(|| Command::cargo_bin("ouch").expect("Failed to find ouch executable")) [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] --> tests/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn run_in(folder: impl AsRef, bin: impl AsRef, args: &str) -> io::Result { [INFO] [stdout] | ------------------------ ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Command::new(bin) [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 [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] --> tests/utils.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap_or_else(|| Command::cargo_bin("ouch").expect("Failed to find ouch executable")) [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] --> tests/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn run_in(folder: impl AsRef, bin: impl AsRef, args: &str) -> io::Result { [INFO] [stdout] | ------------------------ ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Command::new(bin) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ouch` (test "utils") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ouch` (test "mime") due to 3 previous errors [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] --> tests/ui.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | let dir = tempfile::tempdir()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let path = dir.path().to_path_buf().into_boxed_path(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok((dir, Box::leak(path))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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] --> tests/utils.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap_or_else(|| Command::cargo_bin("ouch").expect("Failed to find ouch executable")) [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] --> tests/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn run_in(folder: impl AsRef, bin: impl AsRef, args: &str) -> io::Result { [INFO] [stdout] | ------------------------ ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Command::new(bin) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ouch` (test "ui") due to 4 previous errors [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] --> tests/utils.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap_or_else(|| Command::cargo_bin("ouch").expect("Failed to find ouch executable")) [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] --> tests/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn run_in(folder: impl AsRef, bin: impl AsRef, args: &str) -> io::Result { [INFO] [stdout] | ------------------------ ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Command::new(bin) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ouch` (test "integration") due to 3 previous errors [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/main.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | static CURRENT_DIRECTORY: Lazy = Lazy::new(|| env::current_dir().unwrap_or_default()); [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/archive/tar.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 86 | writer: W, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let mut builder = tar::Builder::new(writer); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let output_handle = Handle::from_path(output_path); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Ok(builder.into_inner()?) [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/archive/zip.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | let file = match archive.by_index(idx) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok(f) => f, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Err(e) => return Some(Err(e.into())), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | Some(Ok(FileInArchive { path, is_dir })) [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/check.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | Err(error.into()) [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/main.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | static CURRENT_DIRECTORY: Lazy = Lazy::new(|| env::current_dir().unwrap_or_default()); [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/archive/tar.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 86 | writer: W, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let mut builder = tar::Builder::new(writer); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let output_handle = Handle::from_path(output_path); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Ok(builder.into_inner()?) [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/archive/zip.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 114 | let file = match archive.by_index(idx) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok(f) => f, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | Err(e) => return Some(Err(e.into())), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | Some(Ok(FileInArchive { path, is_dir })) [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/check.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | Err(error.into()) [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/utils/file_visibility.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_walker(&self, path: impl AsRef) -> ignore::Walk { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ignore::WalkBuilder::new(path) [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/cli/args.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | fn to_paths(iter: impl IntoIterator) -> Vec { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | iter.into_iter().map(PathBuf::from).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/utils/file_visibility.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn build_walker(&self, path: impl AsRef) -> ignore::Walk { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ignore::WalkBuilder::new(path) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ouch` (bin "ouch") due to 6 previous errors [INFO] [stderr] error: could not compile `ouch` (bin "ouch" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "0710fc9c882c6c364ca03d5589c96dde9d642e7994acafa2f7c43d4dab0eb95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0710fc9c882c6c364ca03d5589c96dde9d642e7994acafa2f7c43d4dab0eb95d", kill_on_drop: false }` [INFO] [stdout] 0710fc9c882c6c364ca03d5589c96dde9d642e7994acafa2f7c43d4dab0eb95d