[INFO] fetching crate semantic-release-cargo 2.3.57... [INFO] checking semantic-release-cargo-2.3.57 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate semantic-release-cargo 2.3.57 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate semantic-release-cargo 2.3.57 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 semantic-release-cargo 2.3.57 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate semantic-release-cargo 2.3.57 [INFO] tweaked toml for crates.io crate semantic-release-cargo 2.3.57 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate semantic-release-cargo 2.3.57 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4d06ffeb80159e7cae3c0eaaaa2191bb1ab9d69678cb3e7d0ad694962522873e [INFO] running `Command { std: "docker" "start" "-a" "4d06ffeb80159e7cae3c0eaaaa2191bb1ab9d69678cb3e7d0ad694962522873e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d06ffeb80159e7cae3c0eaaaa2191bb1ab9d69678cb3e7d0ad694962522873e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d06ffeb80159e7cae3c0eaaaa2191bb1ab9d69678cb3e7d0ad694962522873e", kill_on_drop: false }` [INFO] [stdout] 4d06ffeb80159e7cae3c0eaaaa2191bb1ab9d69678cb3e7d0ad694962522873e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bc5b44e87e4e40934558fe9f3e64bcd75188a09724ee035fd634aa863c771562 [INFO] running `Command { std: "docker" "start" "-a" "bc5b44e87e4e40934558fe9f3e64bcd75188a09724ee035fd634aa863c771562", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling guppy-workspace-hack v0.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling target-spec v3.2.1 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling semantic-release-cargo v2.3.57 (/opt/rustwide/workdir) [INFO] [stderr] Checking nested v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking debug-ignore v1.0.5 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking cfg-expr v0.16.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking loggerv v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking guppy v0.17.7 [INFO] [stderr] Checking cargo-config2 v0.1.27 [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.rs:181:52 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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] = 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.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 219 | dependency_has_version(&cargo, &link, DependencyType::Normal).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | / writeln!( [INFO] [stdout] 221 | | output, [INFO] [stdout] 222 | | "Dependency {0} of {1} makes {1} not publishable.", [INFO] [stdout] 223 | | link.to().name(), [INFO] [stdout] ... | [INFO] [stdout] 226 | | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [INFO] [stdout] 227 | | .and::<()>(Err(err)) [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.rs:226:60 [INFO] [stdout] | [INFO] [stdout] 226 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 232 | dependency_has_version(&cargo, &link, DependencyType::Build).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | / writeln!( [INFO] [stdout] 234 | | output, [INFO] [stdout] 235 | | "Build dependency {0} of {1} makes {1} not publishable.", [INFO] [stdout] 236 | | link.to().name(), [INFO] [stdout] ... | [INFO] [stdout] 239 | | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [INFO] [stdout] 240 | | .and::<()>(Err(err)) [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.rs:239:60 [INFO] [stdout] | [INFO] [stdout] 239 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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.rs:305:45 [INFO] [stdout] | [INFO] [stdout] 305 | .filter(|link| !link.dev_only() || !link.version_req().comparators.is_empty()) [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.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 469 | _ => last_id.map(|id| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 470 | / graph [INFO] [stdout] 471 | | .metadata(&id) [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.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 560 | fn get_package_graph(manifest_path: Option>) -> Result { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 570 | command.build_graph().map_err(|err| { [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.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 570 | command.build_graph().map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | Error::workspace_error(err, path).into() [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.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | .map_err(|err| Error::toml_error(err, path).into()) [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.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 759 | fn write_cargo_toml(path: &Path, cargo: DocumentMut) -> Result<()> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 760 | fs::write(path, cargo.to_string()).map_err(|err| Error::file_write_error(err, path).into()) [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.rs:760:54 [INFO] [stdout] | [INFO] [stdout] 760 | fs::write(path, cargo.to_string()).map_err(|err| Error::file_write_error(err, path).into()) [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.rs:814:24 [INFO] [stdout] | [INFO] [stdout] 814 | .ok_or_else(|| Error::bad_dependency(link, typ).into()) [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/error.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) fn workspace_error(metadata_error: GuppyError, manifest_path: PathBuf) -> Error { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | Error::WorkspaceError(WorkspaceError { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 215 | | metadata_error, [INFO] [stdout] 216 | | manifest_path, [INFO] [stdout] 217 | | }) [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/error.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn write_release_error(inner: serde_json::Error, main_crate: &str) -> Error { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | Error::WriteReleaseError(WriteReleaseError { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 279 | | inner, [INFO] [stdout] 280 | | main_crate: main_crate.to_owned(), [INFO] [stdout] 281 | | }) [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/itertools.rs:401:20 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn new(iter: J, f: F) -> ChunkBy [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] 401 | inner: RefCell::new(GroupInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 402 | | key: f, [INFO] [stdout] 403 | | iter: iter.into_iter(), [INFO] [stdout] 404 | | current_key: None, [INFO] [stdout] ... | [INFO] [stdout] 411 | | dropped_group: !0, [INFO] [stdout] 412 | | }), [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/itertools.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 482 | inner.step(index).map(|elt| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | let key = inner.group_key(index); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 486 | / Group { [INFO] [stdout] 487 | | parent: self.parent, [INFO] [stdout] 488 | | index, [INFO] [stdout] 489 | | first: Some(elt), [INFO] [stdout] 490 | | }, [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/itertools.rs:641:24 [INFO] [stdout] | [INFO] [stdout] 638 | inner.step(index).map(|elt| Chunk { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | first: Some(elt), [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 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `semantic-release-cargo` (lib) due to 20 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/lib.rs:181:52 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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] = 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.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 219 | dependency_has_version(&cargo, &link, DependencyType::Normal).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | / writeln!( [INFO] [stdout] 221 | | output, [INFO] [stdout] 222 | | "Dependency {0} of {1} makes {1} not publishable.", [INFO] [stdout] 223 | | link.to().name(), [INFO] [stdout] ... | [INFO] [stdout] 226 | | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [INFO] [stdout] 227 | | .and::<()>(Err(err)) [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.rs:226:60 [INFO] [stdout] | [INFO] [stdout] 226 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 232 | dependency_has_version(&cargo, &link, DependencyType::Build).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | / writeln!( [INFO] [stdout] 234 | | output, [INFO] [stdout] 235 | | "Build dependency {0} of {1} makes {1} not publishable.", [INFO] [stdout] 236 | | link.to().name(), [INFO] [stdout] ... | [INFO] [stdout] 239 | | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [INFO] [stdout] 240 | | .and::<()>(Err(err)) [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.rs:239:60 [INFO] [stdout] | [INFO] [stdout] 239 | .map_err(|io_error| -> anyhow::Error { Error::output_error(io_error).into() }) [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.rs:305:45 [INFO] [stdout] | [INFO] [stdout] 305 | .filter(|link| !link.dev_only() || !link.version_req().comparators.is_empty()) [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.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 469 | _ => last_id.map(|id| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 470 | / graph [INFO] [stdout] 471 | | .metadata(&id) [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.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 560 | fn get_package_graph(manifest_path: Option>) -> Result { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 570 | command.build_graph().map_err(|err| { [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.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 570 | command.build_graph().map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 580 | Error::workspace_error(err, path).into() [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.rs:756:24 [INFO] [stdout] | [INFO] [stdout] 756 | .map_err(|err| Error::toml_error(err, path).into()) [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.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 759 | fn write_cargo_toml(path: &Path, cargo: DocumentMut) -> Result<()> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 760 | fs::write(path, cargo.to_string()).map_err(|err| Error::file_write_error(err, path).into()) [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.rs:760:54 [INFO] [stdout] | [INFO] [stdout] 760 | fs::write(path, cargo.to_string()).map_err(|err| Error::file_write_error(err, path).into()) [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.rs:814:24 [INFO] [stdout] | [INFO] [stdout] 814 | .ok_or_else(|| Error::bad_dependency(link, typ).into()) [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/error.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 213 | pub(crate) fn workspace_error(metadata_error: GuppyError, manifest_path: PathBuf) -> Error { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | Error::WorkspaceError(WorkspaceError { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 215 | | metadata_error, [INFO] [stdout] 216 | | manifest_path, [INFO] [stdout] 217 | | }) [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/error.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn write_release_error(inner: serde_json::Error, main_crate: &str) -> Error { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | Error::WriteReleaseError(WriteReleaseError { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 279 | | inner, [INFO] [stdout] 280 | | main_crate: main_crate.to_owned(), [INFO] [stdout] 281 | | }) [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/itertools.rs:401:20 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn new(iter: J, f: F) -> ChunkBy [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] 401 | inner: RefCell::new(GroupInner { [INFO] [stdout] | ____________________^ [INFO] [stdout] 402 | | key: f, [INFO] [stdout] 403 | | iter: iter.into_iter(), [INFO] [stdout] 404 | | current_key: None, [INFO] [stdout] ... | [INFO] [stdout] 411 | | dropped_group: !0, [INFO] [stdout] 412 | | }), [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/itertools.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 482 | inner.step(index).map(|elt| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | let key = inner.group_key(index); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 486 | / Group { [INFO] [stdout] 487 | | parent: self.parent, [INFO] [stdout] 488 | | index, [INFO] [stdout] 489 | | first: Some(elt), [INFO] [stdout] 490 | | }, [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/itertools.rs:641:24 [INFO] [stdout] | [INFO] [stdout] 638 | inner.step(index).map(|elt| Chunk { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | first: Some(elt), [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 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `semantic-release-cargo` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "bc5b44e87e4e40934558fe9f3e64bcd75188a09724ee035fd634aa863c771562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc5b44e87e4e40934558fe9f3e64bcd75188a09724ee035fd634aa863c771562", kill_on_drop: false }` [INFO] [stdout] bc5b44e87e4e40934558fe9f3e64bcd75188a09724ee035fd634aa863c771562