[INFO] fetching crate cargo-trim 0.12.3... [INFO] checking cargo-trim-0.12.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-trim 0.12.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cargo-trim 0.12.3 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 cargo-trim 0.12.3 [INFO] finished tweaking crates.io crate cargo-trim 0.12.3 [INFO] tweaked toml for crates.io crate cargo-trim 0.12.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-trim 0.12.3 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-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] e83a90b4c8d36e34af41549c8d5eaf4bb695fdf1716c4c0c95a7914416c8e388 [INFO] running `Command { std: "docker" "start" "-a" "e83a90b4c8d36e34af41549c8d5eaf4bb695fdf1716c4c0c95a7914416c8e388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e83a90b4c8d36e34af41549c8d5eaf4bb695fdf1716c4c0c95a7914416c8e388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83a90b4c8d36e34af41549c8d5eaf4bb695fdf1716c4c0c95a7914416c8e388", kill_on_drop: false }` [INFO] [stdout] e83a90b4c8d36e34af41549c8d5eaf4bb695fdf1716c4c0c95a7914416c8e388 [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] 9ea00ce5ad244a47ae8906b2f24c46983c8dfb063283efee146099df73b6ce32 [INFO] running `Command { std: "docker" "start" "-a" "9ea00ce5ad244a47ae8906b2f24c46983c8dfb063283efee146099df73b6ce32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking toml_edit v0.22.7 [INFO] [stderr] Checking toml v0.8.11 [INFO] [stderr] Checking cargo-trim v0.12.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: extern crate `anyhow` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use anyhow as _;` to the crate root [INFO] [stdout] = note: requested on the command line with `-W unused-crate-dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `clap` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use clap as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `dirs_next` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use dirs_next as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `owo_colors` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use owo_colors as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `semver` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use semver as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `serde` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use serde as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `serde_json` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use serde_json as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `toml` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use toml as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `url` is unused in crate `command_output` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use url as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/list_crate.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 95 | let installed_bin = crate_detail.list_installed_bin(bin_dir)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let installed_crate_registry = [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | crate_detail.list_installed_crate_registry(src_dir, cache_dir)?; [INFO] [stdout] 98 | let installed_crate_git = crate_detail.list_installed_crate_git(checkout_dir, db_dir)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let (old_crate_registry, old_crate_git) = list_old_crates( [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] ... [INFO] [stdout] 108 | let (cargo_lock_files, used_crate_registry, used_crate_git) = [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] ... [INFO] [stdout] 112 | let (orphan_crate_registry, orphan_crate_git) = list_orphan_crates( [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] ... [INFO] [stdout] 119 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | installed_bin, [INFO] [stdout] 121 | | installed_crate_registry, [INFO] [stdout] 122 | | installed_crate_git, [INFO] [stdout] ... | [INFO] [stdout] 127 | | cargo_lock_files, [INFO] [stdout] 128 | | }) [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] | | 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] | | 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/list_crate.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 202 | let mut present_crate_registry = Vec::new(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let mut present_crate_git = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | Ok((present_crate_registry, present_crate_git)) [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/list_crate.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 292 | installed_crate_registry: Vec, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let mut old_crate_registry = Vec::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let mut registry_crates = installed_crate_registry; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let mut old_crate_git = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | Ok((old_crate_registry, old_crate_git)) [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/list_crate.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 346 | let mut used_crate_registry = Vec::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | let mut used_crate_git = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Ok((cargo_lock_files, used_crate_registry, used_crate_git)) [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/registry_dir.rs:205:43 [INFO] [stdout] | [INFO] [stdout] 205 | if fs::read_dir(path).map(|mut i| i.next().is_none())? { [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/utils.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | let version = Version::from_str(version_vec.join("-").as_str()) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | .context("failed to parse semver version from splitted parts")?; [INFO] [stdout] 28 | Ok((clear_name, version)) [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: aborting due to 6 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] --> src/list_crate.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 95 | let installed_bin = crate_detail.list_installed_bin(bin_dir)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let installed_crate_registry = [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | crate_detail.list_installed_crate_registry(src_dir, cache_dir)?; [INFO] [stdout] 98 | let installed_crate_git = crate_detail.list_installed_crate_git(checkout_dir, db_dir)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let (old_crate_registry, old_crate_git) = list_old_crates( [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] ... [INFO] [stdout] 108 | let (cargo_lock_files, used_crate_registry, used_crate_git) = [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] ... [INFO] [stdout] 112 | let (orphan_crate_registry, orphan_crate_git) = list_orphan_crates( [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] ... [INFO] [stdout] 119 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | installed_bin, [INFO] [stdout] 121 | | installed_crate_registry, [INFO] [stdout] 122 | | installed_crate_git, [INFO] [stdout] ... | [INFO] [stdout] 127 | | cargo_lock_files, [INFO] [stdout] 128 | | }) [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] | | 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] | | 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/list_crate.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 202 | let mut present_crate_registry = Vec::new(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let mut present_crate_git = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | Ok((present_crate_registry, present_crate_git)) [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/list_crate.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 292 | installed_crate_registry: Vec, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let mut old_crate_registry = Vec::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let mut registry_crates = installed_crate_registry; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let mut old_crate_git = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | Ok((old_crate_registry, old_crate_git)) [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] [stderr] error: could not compile `cargo-trim` (bin "cargo-trim") due to 7 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/list_crate.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 346 | let mut used_crate_registry = Vec::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | let mut used_crate_git = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | Ok((cargo_lock_files, used_crate_registry, used_crate_git)) [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/registry_dir.rs:205:43 [INFO] [stdout] | [INFO] [stdout] 205 | if fs::read_dir(path).map(|mut i| i.next().is_none())? { [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/utils.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 26 | let version = Version::from_str(version_vec.join("-").as_str()) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | .context("failed to parse semver version from splitted parts")?; [INFO] [stdout] 28 | Ok((clear_name, version)) [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-trim` (bin "cargo-trim" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "9ea00ce5ad244a47ae8906b2f24c46983c8dfb063283efee146099df73b6ce32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea00ce5ad244a47ae8906b2f24c46983c8dfb063283efee146099df73b6ce32", kill_on_drop: false }` [INFO] [stdout] 9ea00ce5ad244a47ae8906b2f24c46983c8dfb063283efee146099df73b6ce32