[INFO] fetching crate uu_split 0.0.27... [INFO] checking uu_split-0.0.27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uu_split 0.0.27 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate uu_split 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 uu_split 0.0.27 [INFO] finished tweaking crates.io crate uu_split 0.0.27 [INFO] tweaked toml for crates.io crate uu_split 0.0.27 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate uu_split 0.0.27 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e3ce8322b84b7c533b9a245457374d98f4599dd3d8fbcb15a4c4209ff05fb23a [INFO] running `Command { std: "docker" "start" "-a" "e3ce8322b84b7c533b9a245457374d98f4599dd3d8fbcb15a4c4209ff05fb23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3ce8322b84b7c533b9a245457374d98f4599dd3d8fbcb15a4c4209ff05fb23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ce8322b84b7c533b9a245457374d98f4599dd3d8fbcb15a4c4209ff05fb23a", kill_on_drop: false }` [INFO] [stdout] e3ce8322b84b7c533b9a245457374d98f4599dd3d8fbcb15a4c4209ff05fb23a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 75053abe814d60caa12a4d490b5519ce292b7264117a91eb4977381838fb07c0 [INFO] running `Command { std: "docker" "start" "-a" "75053abe814d60caa12a4d490b5519ce292b7264117a91eb4977381838fb07c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling uuhelp_parser v0.0.27 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking os_display v0.1.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling uucore_procs v0.0.27 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking uucore v0.0.27 [INFO] [stderr] Checking uu_split v0.0.27 (/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/split.rs:740:12 [INFO] [stdout] | [INFO] [stdout] 739 | let inner = settings.instantiate_current_writer(&filename, true)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 740 | Ok(ByteChunkWriter { [INFO] [stdout] | ____________^ [INFO] [stdout] 741 | | settings, [INFO] [stdout] 742 | | chunk_size, [INFO] [stdout] 743 | | num_bytes_remaining_in_current_chunk: chunk_size, [INFO] [stdout] ... | [INFO] [stdout] 746 | | filename_iterator, [INFO] [stdout] 747 | | }) [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] | |_________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] = 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/split.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 863 | let inner = settings.instantiate_current_writer(&filename, true)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 864 | Ok(LineChunkWriter { [INFO] [stdout] | ____________^ [INFO] [stdout] 865 | | settings, [INFO] [stdout] 866 | | chunk_size, [INFO] [stdout] 867 | | num_lines_remaining_in_current_chunk: chunk_size, [INFO] [stdout] ... | [INFO] [stdout] 870 | | filename_iterator, [INFO] [stdout] 871 | | }) [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] | |_________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/split.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 969 | let inner = settings.instantiate_current_writer(&filename, true)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 970 | Ok(LineBytesChunkWriter { [INFO] [stdout] | ____________^ [INFO] [stdout] 971 | | settings, [INFO] [stdout] 972 | | chunk_size, [INFO] [stdout] 973 | | num_bytes_remaining_in_current_chunk: usize::try_from(chunk_size).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 976 | | filename_iterator, [INFO] [stdout] 977 | | }) [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] | |_________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/platform/unix.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 79 | let _with_env_var_set = WithEnvVarSet::new("FILE", filepath); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | [INFO] [stdout] 81 | let shell_process = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(Self { shell_process }) [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] [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/platform/unix.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 160 | let p1 = if p1 == "-" { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | fs::infos_refer_to_same_file(p1, FileInformation::from_path(Path::new(p2), true)) [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] [stderr] error: could not compile `uu_split` (lib) due to 6 previous errors [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/split.rs:740:12 [INFO] [stdout] | [INFO] [stdout] 739 | let inner = settings.instantiate_current_writer(&filename, true)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 740 | Ok(ByteChunkWriter { [INFO] [stdout] | ____________^ [INFO] [stdout] 741 | | settings, [INFO] [stdout] 742 | | chunk_size, [INFO] [stdout] 743 | | num_bytes_remaining_in_current_chunk: chunk_size, [INFO] [stdout] ... | [INFO] [stdout] 746 | | filename_iterator, [INFO] [stdout] 747 | | }) [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] | |_________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] = 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/split.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 863 | let inner = settings.instantiate_current_writer(&filename, true)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 864 | Ok(LineChunkWriter { [INFO] [stdout] | ____________^ [INFO] [stdout] 865 | | settings, [INFO] [stdout] 866 | | chunk_size, [INFO] [stdout] 867 | | num_lines_remaining_in_current_chunk: chunk_size, [INFO] [stdout] ... | [INFO] [stdout] 870 | | filename_iterator, [INFO] [stdout] 871 | | }) [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] | |_________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/split.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 969 | let inner = settings.instantiate_current_writer(&filename, true)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 970 | Ok(LineBytesChunkWriter { [INFO] [stdout] | ____________^ [INFO] [stdout] 971 | | settings, [INFO] [stdout] 972 | | chunk_size, [INFO] [stdout] 973 | | num_bytes_remaining_in_current_chunk: usize::try_from(chunk_size).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 976 | | filename_iterator, [INFO] [stdout] 977 | | }) [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] | |_________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/platform/unix.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 79 | let _with_env_var_set = WithEnvVarSet::new("FILE", filepath); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | [INFO] [stdout] 81 | let shell_process = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(Self { shell_process }) [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] [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/platform/unix.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 160 | let p1 = if p1 == "-" { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | fs::infos_refer_to_same_file(p1, FileInformation::from_path(Path::new(p2), true)) [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] [stderr] error: could not compile `uu_split` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "75053abe814d60caa12a4d490b5519ce292b7264117a91eb4977381838fb07c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75053abe814d60caa12a4d490b5519ce292b7264117a91eb4977381838fb07c0", kill_on_drop: false }` [INFO] [stdout] 75053abe814d60caa12a4d490b5519ce292b7264117a91eb4977381838fb07c0