[INFO] fetching crate cargo 0.82.0... [INFO] checking cargo-0.82.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cargo 0.82.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cargo 0.82.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate cargo 0.82.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo 0.82.0 [INFO] tweaked toml for crates.io crate cargo 0.82.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo 0.82.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7464c79c4693fe9a98446cfa4bec167b47d4e63dd9634297b9e6e31ef97fac3 [INFO] running `Command { std: "docker" "start" "-a" "b7464c79c4693fe9a98446cfa4bec167b47d4e63dd9634297b9e6e31ef97fac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7464c79c4693fe9a98446cfa4bec167b47d4e63dd9634297b9e6e31ef97fac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7464c79c4693fe9a98446cfa4bec167b47d4e63dd9634297b9e6e31ef97fac3", kill_on_drop: false }` [INFO] [stdout] b7464c79c4693fe9a98446cfa4bec167b47d4e63dd9634297b9e6e31ef97fac3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fa4f1c9d98a184ad66263a08085ea312a7a2d02f86660d9913bf637f53c82a3 [INFO] running `Command { std: "docker" "start" "-a" "1fa4f1c9d98a184ad66263a08085ea312a7a2d02f86660d9913bf637f53c82a3", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking gix-trace v0.1.9 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking unicode-bom v2.0.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking gix-sec v0.10.7 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking prodash v28.0.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking clru v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking fiat-crypto v0.2.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.92 [INFO] [stderr] Compiling libnghttp2-sys v0.1.9+1.58.0 [INFO] [stderr] Compiling curl-sys v0.4.73+curl-8.8.0 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking anstyle-lossy v1.1.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling cargo v0.82.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking anstyle-svg v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking snapbox-macros v0.3.9 [INFO] [stderr] Checking annotate-snippets v0.11.4 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking http-auth v0.1.9 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Compiling cargo-test-support v0.3.0 [INFO] [stderr] Compiling cargo-test-macro v0.3.0 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking gix-utils v0.1.12 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking opener v0.7.1 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stderr] Compiling gix-macros v0.1.5 [INFO] [stderr] Checking color-print v0.3.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking gix-hash v0.14.2 [INFO] [stderr] Checking gix-path v0.10.9 [INFO] [stderr] Checking gix-validate v0.8.5 [INFO] [stderr] Checking gix-chunk v0.4.8 [INFO] [stderr] Checking gix-quote v0.4.12 [INFO] [stderr] Checking gix-bitmap v0.2.11 [INFO] [stderr] Checking gix-packetline v0.17.5 [INFO] [stderr] Checking gix-features v0.38.2 [INFO] [stderr] Checking gix-hashtable v0.5.2 [INFO] [stderr] Checking gix-config-value v0.14.7 [INFO] [stderr] Checking gix-command v0.3.8 [INFO] [stderr] Checking gix-packetline-blocking v0.17.4 [INFO] [stderr] Checking cargo-util v0.2.14 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking gix-fs v0.11.2 [INFO] [stderr] Checking gix-commitgraph v0.24.3 [INFO] [stderr] Checking gix-glob v0.16.4 [INFO] [stderr] Checking gix-url v0.27.4 [INFO] [stderr] Checking gix-tempfile v14.0.0 [INFO] [stderr] Checking gix-prompt v0.8.6 [INFO] [stderr] Checking orion v0.17.6 [INFO] [stderr] Checking gix-lock v14.0.0 [INFO] [stderr] Checking gix-credentials v0.24.4 [INFO] [stderr] Checking gix-attributes v0.22.3 [INFO] [stderr] Checking gix-ignore v0.11.3 [INFO] [stderr] Checking gix-transport v0.42.2 [INFO] [stderr] Checking gix-pathspec v0.7.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking erased-serde v0.4.4 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking serde_ignored v0.1.10 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking serde-untagged v0.1.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking crates-io v0.40.4 [INFO] [stderr] Checking tracing-chrome v0.7.2 [INFO] [stderr] Checking rustfix v0.8.5 [INFO] [stderr] Checking snapbox v0.6.10 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking gix-date v0.8.7 [INFO] [stderr] Checking pasetors v0.6.8 [INFO] [stderr] Checking cargo-credential v0.4.6 [INFO] [stderr] Checking cargo-util-schemas v0.5.0 [INFO] [stderr] Checking gix-actor v0.31.5 [INFO] [stderr] Checking gix-protocol v0.45.2 [INFO] [stderr] Checking gix-object v0.42.3 [INFO] [stderr] Checking cargo-credential-libsecret v0.4.7 [INFO] [stderr] Checking git2-curl v0.20.0 [INFO] [stderr] Checking gix-revwalk v0.13.2 [INFO] [stderr] Checking gix-ref v0.45.0 [INFO] [stderr] Checking gix-pack v0.51.1 [INFO] [stderr] Checking gix-filter v0.11.3 [INFO] [stderr] Checking gix-diff v0.44.1 [INFO] [stderr] Checking gix-traverse v0.39.2 [INFO] [stderr] Checking gix-revision v0.27.2 [INFO] [stderr] Checking gix-negotiate v0.13.2 [INFO] [stderr] Checking gix-index v0.33.1 [INFO] [stderr] Checking gix-refspec v0.23.1 [INFO] [stderr] Checking gix-discover v0.33.0 [INFO] [stderr] Checking gix-config v0.38.0 [INFO] [stderr] Checking gix-odb v0.61.1 [INFO] [stderr] Checking gix-worktree v0.34.1 [INFO] [stderr] Checking gix-dir v0.6.0 [INFO] [stderr] Checking gix-submodule v0.12.0 [INFO] [stderr] Checking gix v0.64.0 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/cargo/core/workspace.rs:590:66 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn default_members<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/cargo/core/workspace.rs:590:66 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn default_members<'a>(&'a self) -> impl Iterator { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, compiler::unit::Unit, BuildScripts>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1223:15 [INFO] [stdout] | [INFO] [stdout] 1186 | let mut ret = BuildScripts::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1204 | let mut dependencies: Vec = build_runner [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1223 | match out.entry(unit.clone()) { [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: this value of type `std::collections::hash_map::Entry<'_, compiler::unit::Unit, BuildScripts>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1223:15 [INFO] [stdout] | [INFO] [stdout] 1186 | let mut ret = BuildScripts::default(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1204 | let mut dependencies: Vec = build_runner [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1223 | match out.entry(unit.clone()) { [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: this value of type `Poll, anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/future_incompat.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 330 | let Ok(dep) = Dependency::parse(pkg_id.name(), None, pkg_id.source_id()) else { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | match source.query_vec(&dep, QueryKind::Exact) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:824:30 [INFO] [stdout] | [INFO] [stdout] 742 | mut self, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 824 | if let Some(error) = errors.to_error() { [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: this value of type `Poll, anyhow::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/future_incompat.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 330 | let Ok(dep) = Dependency::parse(pkg_id.name(), None, pkg_id.source_id()) else { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | match source.query_vec(&dep, QueryKind::Exact) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:824:30 [INFO] [stdout] | [INFO] [stdout] 742 | mut self, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 824 | if let Some(error) = errors.to_error() { [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: this value of type `std::collections::hash_map::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 172 | std_unit_deps: UnitGraph, [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | for (unit, deps) in std_unit_deps.into_iter() { [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: this value of type `std::collections::hash_map::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 172 | std_unit_deps: UnitGraph, [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | for (unit, deps) in std_unit_deps.into_iter() { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 379 | let mut stmt = [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | conn.prepare_cached(&format!("SELECT id FROM {table_name} WHERE name = ?"))?; [INFO] [stdout] 381 | match stmt.query_row([encoded_name], |row| row.get(0)) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 379 | let mut stmt = [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | conn.prepare_cached(&format!("SELECT id FROM {table_name} WHERE name = ?"))?; [INFO] [stdout] 381 | match stmt.query_row([encoded_name], |row| row.get(0)) { [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: this value of type `(std::option::Option<::Item>, std::option::Option<::Item>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:755:11 [INFO] [stdout] | [INFO] [stdout] 750 | fn one(mut i: I, f: F) -> CargoResult> [INFO] [stdout] | ----- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 755 | match (i.next(), i.next()) { [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: this value of type `(std::option::Option<::Item>, std::option::Option<::Item>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:755:11 [INFO] [stdout] | [INFO] [stdout] 750 | fn one(mut i: I, f: F) -> CargoResult> [INFO] [stdout] | ----- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 755 | match (i.next(), i.next()) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/ops/fix.rs:1365:15 [INFO] [stdout] | [INFO] [stdout] 1357 | let mut temp = tempfile::Builder::new().tempfile().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1358 | let main_rs = tempfile::Builder::new().suffix(".rs").tempfile().unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1365 | match FixArgs::from_args(args.map(|x| x.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: this value of type `SummariesCache<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/sources/registry/index/mod.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 552 | let mut cached_summaries = None; [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | let mut cache = SummariesCache::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] [INFO] [stdout] [INFO] [stdout] error: this value of type `SummariesCache<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/sources/registry/index/mod.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 552 | let mut cached_summaries = None; [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | let mut cache = SummariesCache::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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, cargo_credential::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/credential/process.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cmd = Command::new(&self.path); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let mut child = cmd.spawn().context("failed to spawn credential process")?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | match self.run(&mut child, action, registry, args) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/edit_distance.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 115 | key: impl Fn(&T) -> &'a str, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> String { [INFO] [stdout] 117 | match closest(choice, iter, &key) { [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: this value of type `Result, cargo_credential::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/credential/process.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cmd = Command::new(&self.path); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let mut child = cmd.spawn().context("failed to spawn credential process")?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | match self.run(&mut child, action, registry, args) { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/edit_distance.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 115 | key: impl Fn(&T) -> &'a str, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> String { [INFO] [stdout] 117 | match closest(choice, iter, &key) { [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: this value of type `RetryResult<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/network/retry.rs:306:11 [INFO] [stdout] | [INFO] [stdout] 286 | let gctx = GlobalContext::default().unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | match retry.r#try(|| spurious()) { [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: this value of type `VersionReq` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/toml_mut/upgrade.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 12 | let raw_req = semver::VersionReq::parse(&req_text) [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let new_req = semver::VersionReq { comparators }; [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: this value of type `DocumentMut` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/toml_mut/dependency.rs:1162:28 [INFO] [stdout] | [INFO] [stdout] 1157 | let mut local = LocalManifest { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1162 | for (key, item) in local.data.clone().iter() { [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: this value of type `VersionReq` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo/util/toml_mut/upgrade.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 12 | let raw_req = semver::VersionReq::parse(&req_text) [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let new_req = semver::VersionReq { comparators }; [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo` (lib test) due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1fa4f1c9d98a184ad66263a08085ea312a7a2d02f86660d9913bf637f53c82a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa4f1c9d98a184ad66263a08085ea312a7a2d02f86660d9913bf637f53c82a3", kill_on_drop: false }` [INFO] [stdout] 1fa4f1c9d98a184ad66263a08085ea312a7a2d02f86660d9913bf637f53c82a3