[INFO] fetching crate cargo 0.82.0... [INFO] checking cargo-0.82.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate cargo 0.82.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cargo 0.82.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ab238657473ed979cedd6307f3e7e3bce846fe1a7689e4b5ee6dedf51265994 [INFO] running `Command { std: "docker" "start" "-a" "9ab238657473ed979cedd6307f3e7e3bce846fe1a7689e4b5ee6dedf51265994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ab238657473ed979cedd6307f3e7e3bce846fe1a7689e4b5ee6dedf51265994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab238657473ed979cedd6307f3e7e3bce846fe1a7689e4b5ee6dedf51265994", kill_on_drop: false }` [INFO] [stdout] 9ab238657473ed979cedd6307f3e7e3bce846fe1a7689e4b5ee6dedf51265994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 373af6d7a16f142ba6d64211d52148a008b8152819122d96dc39152844f48ad5 [INFO] running `Command { std: "docker" "start" "-a" "373af6d7a16f142ba6d64211d52148a008b8152819122d96dc39152844f48ad5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking gix-trace v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking prodash v28.0.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.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] Compiling time-macros v0.2.18 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [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 libz-sys v1.1.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling openssl-sys v0.9.92 [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 block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libnghttp2-sys v0.1.9+1.58.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling curl-sys v0.4.73+curl-8.8.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking gix-utils v0.1.12 [INFO] [stderr] Checking unicode-bom v2.0.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Checking gix-sec v0.10.7 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [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] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking clru v0.6.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling semver v1.0.23 [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-features v0.38.2 [INFO] [stderr] Checking gix-hashtable v0.5.2 [INFO] [stderr] Checking gix-quote v0.4.12 [INFO] [stderr] Checking gix-config-value v0.14.7 [INFO] [stderr] Checking gix-command v0.3.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking gix-bitmap v0.2.11 [INFO] [stderr] Checking regex-automata v0.1.10 [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 gix-lock v14.0.0 [INFO] [stderr] Checking gix-attributes v0.22.3 [INFO] [stderr] Checking gix-ignore v0.11.3 [INFO] [stderr] Checking gix-credentials v0.24.4 [INFO] [stderr] Checking gix-packetline v0.17.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking fiat-crypto v0.2.7 [INFO] [stderr] Checking gix-transport v0.42.2 [INFO] [stderr] Checking gix-packetline-blocking v0.17.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking gix-pathspec v0.7.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking ed25519-compact v2.1.1 [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 thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking cargo-util v0.2.14 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling cargo v0.82.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stderr] Compiling gix-macros v0.1.5 [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 toml_edit v0.22.14 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crates-io v0.40.4 [INFO] [stderr] Checking serde-untagged v0.1.6 [INFO] [stderr] Checking anstyle-lossy v1.1.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking orion v0.17.6 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle-svg v0.1.3 [INFO] [stderr] Checking rustfix v0.8.5 [INFO] [stderr] Checking tracing-chrome v0.7.2 [INFO] [stderr] Checking color-print v0.3.6 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking serde_ignored v0.1.10 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking annotate-snippets v0.11.4 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking gix-date v0.8.7 [INFO] [stderr] Checking cargo-credential v0.4.6 [INFO] [stderr] Checking pasetors v0.6.8 [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 cargo-util-schemas v0.5.0 [INFO] [stderr] Checking snapbox-macros v0.3.9 [INFO] [stderr] Checking opener v0.7.1 [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 bytesize v1.3.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Compiling cargo-test-support v0.3.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Compiling cargo-test-macro v0.3.0 [INFO] [stderr] Checking snapbox v0.6.10 [INFO] [stderr] Checking gix-revwalk v0.13.2 [INFO] [stderr] Checking gix-ref v0.45.0 [INFO] [stderr] Checking gix-traverse v0.39.2 [INFO] [stderr] Checking gix-revision v0.27.2 [INFO] [stderr] Checking gix-pack v0.51.1 [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-filter v0.11.3 [INFO] [stderr] Checking gix-diff v0.44.1 [INFO] [stderr] Checking gix-discover v0.33.0 [INFO] [stderr] Checking gix-config v0.38.0 [INFO] [stderr] Checking gix-worktree v0.34.1 [INFO] [stderr] Checking gix-odb v0.61.1 [INFO] [stderr] Checking gix-dir v0.6.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking gix-submodule v0.12.0 [INFO] [stderr] Checking gix v0.64.0 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking git2-curl v0.20.0 [INFO] [stderr] Migrating src/cargo/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cargo` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/cargo/core/compiler/custom_build.rs [INFO] [stderr] * src/cargo/core/features.rs [INFO] [stderr] * src/cargo/core/global_cache_tracker.rs [INFO] [stderr] * src/cargo/core/workspace.rs [INFO] [stderr] * src/cargo/macros.rs [INFO] [stderr] * src/cargo/util/context/mod.rs [INFO] [stderr] * src/cargo/util/network/mod.rs [INFO] [stderr] * src/cargo/version.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/macros.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | let (default, default_name) = $e:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/compiler/custom_build.rs:836:18 [INFO] [stderr] | [INFO] [stderr] 836 | ($target_kind: expr_2021, $is_target_kind: expr_2021, $link_type: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/compiler/custom_build.rs:836:43 [INFO] [stderr] | [INFO] [stderr] 836 | ($target_kind: expr_2021, $is_target_kind: expr_2021, $link_type: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/compiler/custom_build.rs:836:71 [INFO] [stderr] | [INFO] [stderr] 836 | ($target_kind: expr_2021, $is_target_kind: expr_2021, $link_type: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/features.rs:368:43 [INFO] [stderr] | [INFO] [stderr] 368 | ($stab:ident, $feature:ident, $version:expr_2021, $docs:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/features.rs:368:63 [INFO] [stderr] | [INFO] [stderr] 368 | ($stab:ident, $feature:ident, $version:expr_2021, $docs:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/global_cache_tracker.rs:1349:6 [INFO] [stderr] | [INFO] [stderr] 1349 | ($self:expr_2021, $conn:expr_2021, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/global_cache_tracker.rs:1349:23 [INFO] [stderr] | [INFO] [stderr] 1349 | ($self:expr_2021, $conn:expr_2021, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/global_cache_tracker.rs:1349:40 [INFO] [stderr] | [INFO] [stderr] 1349 | ($self:expr_2021, $conn:expr_2021, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:118:43 [INFO] [stderr] | [INFO] [stderr] 118 | ($name:ident, $ty:ty, $variant:ident, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2887:6 [INFO] [stderr] | [INFO] [stderr] 2887 | ($config:expr_2021, $which:ident, $newline:literal, $($arg:tt)*) => ({ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2899:6 [INFO] [stderr] | [INFO] [stderr] 2899 | ($config:expr_2021) => ( $crate::drop_print!($config, "\n") ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2900:6 [INFO] [stderr] | [INFO] [stderr] 2900 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2907:6 [INFO] [stderr] | [INFO] [stderr] 2907 | ($config:expr_2021) => ( $crate::drop_eprint!($config, "\n") ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2908:6 [INFO] [stderr] | [INFO] [stderr] 2908 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2915:6 [INFO] [stderr] | [INFO] [stderr] 2915 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2922:6 [INFO] [stderr] | [INFO] [stderr] 2922 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:39:6 [INFO] [stderr] | [INFO] [stderr] 39 | ($e:expr_2021, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | ($e:expr_2021, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:74:6 [INFO] [stderr] | [INFO] [stderr] 74 | ($multiplexing:expr_2021, $handle:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:74:31 [INFO] [stderr] | [INFO] [stderr] 74 | ($multiplexing:expr_2021, $handle:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/version.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | ($name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/cargo/core/workspace.rs:590:66 [INFO] [stderr] | [INFO] [stderr] 590 | pub fn default_members<'a>(&'a self) -> impl Iterator { [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/macros.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | let (default, default_name) = $e:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 7 | let (default, default_name) = $e:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:836:32 [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr_2021, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:836:55 [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr_2021, $link_type: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:836:73 [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/features.rs:368:52 [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr, $docs:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr_2021, $docs:expr), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/features.rs:368:64 [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr, $docs:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr, $docs:expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1349:12 [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr_2021, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1349:24 [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr_2021, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1349:42 [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ~~~~~~~~~ [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] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:118:53 [INFO] [stdout] | [INFO] [stdout] 118 | ($name:ident, $ty:ty, $variant:ident, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 118 | ($name:ident, $ty:ty, $variant:ident, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2888:14 [INFO] [stdout] | [INFO] [stdout] 2888 | ($config:expr, $which:ident, $newline:literal, $($arg:tt)*) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2888 | ($config:expr_2021, $which:ident, $newline:literal, $($arg:tt)*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2900:14 [INFO] [stdout] | [INFO] [stdout] 2900 | ($config:expr) => ( $crate::drop_print!($config, "\n") ); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2900 | ($config:expr_2021) => ( $crate::drop_print!($config, "\n") ); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2901:14 [INFO] [stdout] | [INFO] [stdout] 2901 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2901 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2908:14 [INFO] [stdout] | [INFO] [stdout] 2908 | ($config:expr) => ( $crate::drop_eprint!($config, "\n") ); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2908 | ($config:expr_2021) => ( $crate::drop_eprint!($config, "\n") ); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2909:14 [INFO] [stdout] | [INFO] [stdout] 2909 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2909 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2916:14 [INFO] [stdout] | [INFO] [stdout] 2916 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2916 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2923:14 [INFO] [stdout] | [INFO] [stdout] 2923 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2923 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr_2021, $msg:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr, $handle:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr_2021, $handle:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr, $handle:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr, $handle:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/version.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | ($name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setsid` is unsafe and requires unsafe block [INFO] [stdout] --> src/cargo/util/job.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | libc::setsid(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cargo/util/job.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn setup() -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 973 | if let Some(width) = gctx.shell().err_width().diagnostic_terminal_width() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 973 ~ match gctx.shell().err_width().diagnostic_terminal_width() { Some(width) => { [INFO] [stdout] 974 | cmd.arg(format!("--diagnostic-width={width}")); [INFO] [stdout] 975 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1661:12 [INFO] [stdout] | [INFO] [stdout] 1661 | if let Some((path, cell)) = &mut options.cache_cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1667:9 [INFO] [stdout] | [INFO] [stdout] 1667 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1661 ~ match &mut options.cache_cell { Some((path, cell)) => { [INFO] [stdout] 1662 | // Cache the output, which will be replayed later when Fresh. [INFO] [stdout] ... [INFO] [stdout] 1666 | f.write_all(&[b'\n'])?; [INFO] [stdout] 1667 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1760:16 [INFO] [stdout] | [INFO] [stdout] 1760 | if let Ok(mut msg) = serde_json::from_str::(compiler_message.get()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1789:13 [INFO] [stdout] | [INFO] [stdout] 1789 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1760 ~ match serde_json::from_str::(compiler_message.get()) { Ok(mut msg) => { [INFO] [stdout] 1761 | if msg.message.starts_with("aborting due to") [INFO] [stdout] ... [INFO] [stdout] 1788 | return Ok(true); [INFO] [stdout] 1789 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1802:16 [INFO] [stdout] | [INFO] [stdout] 1802 | if let Ok(mut error) = serde_json::from_str::(compiler_message.get()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1807:13 [INFO] [stdout] | [INFO] [stdout] 1807 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1802 ~ match serde_json::from_str::(compiler_message.get()) { Ok(mut error) => { [INFO] [stdout] 1803 | error.rendered = anstream::adapter::strip_str(&error.rendered).to_string(); [INFO] [stdout] ... [INFO] [stdout] 1806 | compiler_message = new_msg; [INFO] [stdout] 1807 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_context/target_info.rs:747:15 [INFO] [stdout] | [INFO] [stdout] 747 | } else if let Some(rustflags) = [INFO] [stdout] | _______________^ [INFO] [stdout] 748 | | rustflags_from_target(gctx, host_triple, target_cfg, kind, flags)? [INFO] [stdout] | |_________-----------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 751 | } else if let Some(rustflags) = rustflags_from_build(gctx, flags)? { [INFO] [stdout] | ---------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_context/target_info.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | } else if let Some(rustflags) = rustflags_from_build(gctx, flags)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_context/target_info.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 747 ~ } else { match rustflags_from_target(gctx, host_triple, target_cfg, kind, flags)? [INFO] [stdout] 748 ~ { Some(rustflags) => { [INFO] [stdout] 749 | Ok(rustflags) [INFO] [stdout] 750 ~ } _ => { match rustflags_from_build(gctx, flags)? { Some(rustflags) => { [INFO] [stdout] 751 | Ok(rustflags) [INFO] [stdout] 752 ~ } _ => { [INFO] [stdout] 753 | Ok(Vec::new()) [INFO] [stdout] 754 ~ }}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | if let Some(output) = self.build_script_outputs.lock().unwrap().get(meta) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self.build_script_outputs.lock().unwrap().get(meta) { Some(output) => { [INFO] [stdout] 254 | for cfg in &output.cfgs { [INFO] [stdout] ... [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:553:27 [INFO] [stdout] | [INFO] [stdout] 553 | } else if let Some(prev) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 554 | | doc_bins.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] | |______________________________________-----------_______________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 553 ~ } else { match doc_bins.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] 554 ~ { Some(prev) => { [INFO] [stdout] 555 | doc_collision_error(unit, prev)?; [INFO] [stdout] 556 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:549:24 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(prev) = doc_libs.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 549 ~ match doc_libs.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] 550 ~ { Some(prev) => { [INFO] [stdout] 551 | doc_collision_error(unit, prev)?; [INFO] [stdout] 552 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/compilation.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(rustc) = primary_rustc_process.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/compilation.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match primary_rustc_process.as_mut() { Some(rustc) => { [INFO] [stdout] 138 | rustc.display_env_vars(); [INFO] [stdout] 139 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | if let Some(build_scripts) = build_scripts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 462 ~ match build_scripts { Some(build_scripts) => { [INFO] [stdout] 463 | super::add_plugin_deps( [INFO] [stdout] ... [INFO] [stdout] 468 | )?; [INFO] [stdout] 469 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1170:16 [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(links) = unit.pkg.manifest().links() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1183:13 [INFO] [stdout] | [INFO] [stdout] 1183 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1170 ~ match unit.pkg.manifest().links() { Some(links) => { [INFO] [stdout] 1171 | if let Some(output) = build_runner [INFO] [stdout] ... [INFO] [stdout] 1182 | } [INFO] [stdout] 1183 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1171:20 [INFO] [stdout] | [INFO] [stdout] 1171 | if let Some(output) = build_runner [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | _______________________________________| [INFO] [stdout] 1172 | || .bcx [INFO] [stdout] 1173 | || .target_data [INFO] [stdout] | ||________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1174 | | .script_override(links, unit.kind) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1171 ~ match build_runner [INFO] [stdout] 1172 | .bcx [INFO] [stdout] 1173 | .target_data [INFO] [stdout] 1174 | .script_override(links, unit.kind) [INFO] [stdout] 1175 ~ { Some(output) => { [INFO] [stdout] 1176 | let metadata = build_runner.get_run_build_script_metadata(unit); [INFO] [stdout] ... [INFO] [stdout] 1181 | ); [INFO] [stdout] 1182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1184:16 [INFO] [stdout] | [INFO] [stdout] 1184 | if let Some(item) = [INFO] [stdout] | ________________^ [INFO] [stdout] 1185 | | local.find_stale_item(mtime_cache, pkg_root, target_root, cargo_exe, gctx)? [INFO] [stdout] | |_________________--------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1184 ~ match local.find_stale_item(mtime_cache, pkg_root, target_root, cargo_exe, gctx)? [INFO] [stdout] 1185 ~ { Some(item) => { [INFO] [stdout] 1186 | item.log(); [INFO] [stdout] 1187 | self.fs_status = FsStatus::StaleItem(item); [INFO] [stdout] 1188 | return Ok(()); [INFO] [stdout] 1189 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1461:12 [INFO] [stdout] | [INFO] [stdout] 1461 | if let Ok(map) = build_runner.bcx.gctx.doc_extern_map() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1463:9 [INFO] [stdout] | [INFO] [stdout] 1463 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1461 ~ match build_runner.bcx.gctx.doc_extern_map() { Ok(map) => { [INFO] [stdout] 1462 | map.hash(&mut config); [INFO] [stdout] 1463 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1903:28 [INFO] [stdout] | [INFO] [stdout] 1903 | let skipable_dirs = if let Ok(cargo_home) = home::cargo_home() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1909:5 [INFO] [stdout] | [INFO] [stdout] 1909 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1903 ~ let skipable_dirs = match home::cargo_home() { Ok(cargo_home) => { [INFO] [stdout] 1904 | let skipable_dirs: Vec<_> = ["git", "registry"] [INFO] [stdout] ... [INFO] [stdout] 1908 | Some(skipable_dirs) [INFO] [stdout] 1909 ~ } _ => { [INFO] [stdout] 1910 | None [INFO] [stdout] 1911 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 552 | while let Some((unit, job, priority)) = self.queue.dequeue() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:767:20 [INFO] [stdout] | [INFO] [stdout] 767 | if let Err(e) = self.spawn_work_if_possible(build_runner, jobserver_helper, scope) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:769:17 [INFO] [stdout] | [INFO] [stdout] 769 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 767 ~ match self.spawn_work_if_possible(build_runner, jobserver_helper, scope) { Err(e) => { [INFO] [stdout] 768 | self.handle_error(&mut build_runner.bcx.gctx.shell(), &mut errors, e); [INFO] [stdout] 769 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:784:20 [INFO] [stdout] | [INFO] [stdout] 784 | if let Err(event_err) = self.handle_event(build_runner, plan, event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:786:17 [INFO] [stdout] | [INFO] [stdout] 786 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 784 ~ match self.handle_event(build_runner, plan, event) { Err(event_err) => { [INFO] [stdout] 785 | self.handle_error(&mut build_runner.bcx.gctx.shell(), &mut errors, event_err); [INFO] [stdout] 786 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | if let Err(e) = writeln!(shell.out(), "{}", msg) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | if let Some(error) = errors.to_error() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:828:9 [INFO] [stdout] | [INFO] [stdout] 828 | } else if self.queue.is_empty() && self.pending_queue.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ match errors.to_error() { Some(error) => { [INFO] [stdout] 825 | // Any errors up to this point have already been printed via the [INFO] [stdout] 826 | // `display_error` inside `handle_error`. [INFO] [stdout] 827 | Some(anyhow::Error::new(AlreadyPrintedError::new(error))) [INFO] [stdout] 828 ~ } _ => if self.queue.is_empty() && self.pending_queue.is_empty() { [INFO] [stdout] 829 | let profile_link = build_runner.bcx.gctx.shell().err_hyperlink( [INFO] [stdout] ... [INFO] [stdout] 847 | Some(internal("finished with jobs still left in the queue")) [INFO] [stdout] 848 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(paths) = fingerprint::parse_dep_info( [INFO] [stdout] | ____________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 60 | || unit.pkg.root(), [INFO] [stdout] 61 | || build_runner.files().host_root(), [INFO] [stdout] 62 | || &dep_info_loc, [INFO] [stdout] 63 | || )? { [INFO] [stdout] | ||__________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match fingerprint::parse_dep_info( [INFO] [stdout] 60 | unit.pkg.root(), [INFO] [stdout] 61 | build_runner.files().host_root(), [INFO] [stdout] 62 | &dep_info_loc, [INFO] [stdout] 63 ~ )? { Some(paths) => { [INFO] [stdout] 64 | for path in paths.files { [INFO] [stdout] 65 | deps.insert(path); [INFO] [stdout] 66 | } [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | debug!( [INFO] [stdout] ... [INFO] [stdout] 73 | return Err(internal("dep_info missing")); [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(output) = build_runner [INFO] [stdout] | _____________^ - [INFO] [stdout] | | _______________________________| [INFO] [stdout] 80 | || .build_script_outputs [INFO] [stdout] 81 | || .lock() [INFO] [stdout] 82 | || .unwrap() [INFO] [stdout] | ||_____________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 83 | | .get(metadata) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match build_runner [INFO] [stdout] 80 | .build_script_outputs [INFO] [stdout] ... [INFO] [stdout] 83 | .get(metadata) [INFO] [stdout] 84 ~ { Some(output) => { [INFO] [stdout] 85 | for path in &output.rerun_if_changed { [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/rustdoc.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if let Ok(index_url) = gctx.get_registry_index(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/rustdoc.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 190 ~ match gctx.get_registry_index(name) { Ok(index_url) => { [INFO] [stdout] 191 | Some((name, index_url)) [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | tracing::warn!( [INFO] [stdout] ... [INFO] [stdout] 197 | None [INFO] [stdout] 198 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(other_unit) = state.unit_dependencies.insert(unit, deps) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 ~ match state.unit_dependencies.insert(unit, deps) { Some(other_unit) => { [INFO] [stdout] 195 | panic!("std unit collision with existing unit: {:?}", other_unit); [INFO] [stdout] 196 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | if let Some(lib) = unit [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ____________________________| [INFO] [stdout] 660 | || .pkg [INFO] [stdout] | ||________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 661 | | .targets() [INFO] [stdout] 662 | | .iter() [INFO] [stdout] 663 | | .find(|t| t.is_linkable() && t.documented()) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 659 ~ match unit [INFO] [stdout] 660 | .pkg [INFO] [stdout] ... [INFO] [stdout] 663 | .find(|t| t.is_linkable() && t.documented()) [INFO] [stdout] 664 ~ { Some(lib) => { [INFO] [stdout] 665 | let dep_unit_for = unit_for.with_dependency(unit, lib, unit_for.root_compile_kind()); [INFO] [stdout] ... [INFO] [stdout] 676 | ret.push(lib_doc_unit); [INFO] [stdout] 677 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/gc.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if let Err(e) = auto_gc_inner(gctx) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/gc.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match auto_gc_inner(gctx) { Err(e) => { [INFO] [stdout] 64 | if global_cache_tracker::is_silent_error(&e) && !gctx.extra_verbose() { [INFO] [stdout] ... [INFO] [stdout] 72 | } [INFO] [stdout] 73 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:840:15 [INFO] [stdout] | [INFO] [stdout] 840 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1276:15 [INFO] [stdout] | [INFO] [stdout] 1276 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1330:15 [INFO] [stdout] | [INFO] [stdout] 1330 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1582:12 [INFO] [stdout] | [INFO] [stdout] 1582 | if let Err(e) = self.save_with_gctx(gctx) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1601:9 [INFO] [stdout] | [INFO] [stdout] 1601 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1582 ~ match self.save_with_gctx(gctx) { Err(e) => { [INFO] [stdout] 1583 | // Because there is an assertion in auto-gc that checks if this is [INFO] [stdout] ... [INFO] [stdout] 1600 | } [INFO] [stdout] 1601 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | let id = if let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1612 | / insert_or_update_parent!( [INFO] [stdout] 1613 | | self, [INFO] [stdout] 1614 | | conn, [INFO] [stdout] 1615 | | "registry_index", [INFO] [stdout] ... | [INFO] [stdout] 1618 | | encoded_registry_name [INFO] [stdout] 1619 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1612 | / insert_or_update_parent!( [INFO] [stdout] 1613 | | self, [INFO] [stdout] 1614 | | conn, [INFO] [stdout] 1615 | | "registry_index", [INFO] [stdout] ... | [INFO] [stdout] 1618 | | encoded_registry_name [INFO] [stdout] 1619 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `insert_or_update_parent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | let id = if let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1625 | / insert_or_update_parent!( [INFO] [stdout] 1626 | | self, [INFO] [stdout] 1627 | | conn, [INFO] [stdout] 1628 | | "git_db", [INFO] [stdout] ... | [INFO] [stdout] 1631 | | encoded_git_name [INFO] [stdout] 1632 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1625 | / insert_or_update_parent!( [INFO] [stdout] 1626 | | self, [INFO] [stdout] 1627 | | conn, [INFO] [stdout] 1628 | | "git_db", [INFO] [stdout] ... | [INFO] [stdout] 1631 | | encoded_git_name [INFO] [stdout] 1632 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `insert_or_update_parent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + '_` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn package_ids(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/package.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | impl<'gctx> PackageSet<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 414 | pub fn package_ids(&self) -> impl Iterator + '_ + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn packages(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/package.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | impl<'gctx> PackageSet<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 418 | pub fn packages(&self) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | ) -> impl Iterator)> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/package.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | impl<'gctx> PackageSet<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 607 | ) -> impl Iterator)> + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:962:20 [INFO] [stdout] | [INFO] [stdout] 962 | if let Some(result) = msg.result_for(handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:964:17 [INFO] [stdout] | [INFO] [stdout] 964 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 962 ~ match msg.result_for(handle) { Some(result) => { [INFO] [stdout] 963 | results.push((token, result)); [INFO] [stdout] 964 ~ } _ => { [INFO] [stdout] 965 | debug!(target: "network", "message without a result (?)"); [INFO] [stdout] 966 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/package_id_spec.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | let spec = if let Some(version) = self.partial_version().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/package_id_spec.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ let spec = match self.partial_version().cloned() { Some(version) => { [INFO] [stdout] 87 | spec.with_version(version) [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | spec [INFO] [stdout] 90 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | if let Some(build_override) = &toml.build_override { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 487 ~ match &toml.build_override { Some(build_override) => { [INFO] [stdout] 488 | merge_profile(profile, build_override); [INFO] [stdout] 489 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | if let Some(overrides) = toml.package.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 491 ~ match toml.package.as_ref() { Some(overrides) => { [INFO] [stdout] 492 | if !is_member { [INFO] [stdout] ... [INFO] [stdout] 520 | } [INFO] [stdout] 521 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:493:16 [INFO] [stdout] | [INFO] [stdout] 493 | if let Some(all) = overrides.get(&ProfilePackageSpec::All) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 493 ~ match overrides.get(&ProfilePackageSpec::All) { Some(all) => { [INFO] [stdout] 494 | merge_profile(profile, all); [INFO] [stdout] 495 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:1287:20 [INFO] [stdout] | [INFO] [stdout] 1287 | if let Some(config_profile) = get_config_profile(ws, &name)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:1292:17 [INFO] [stdout] | [INFO] [stdout] 1292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1287 ~ match get_config_profile(ws, &name)? { Some(config_profile) => { [INFO] [stdout] 1288 | if let Some(inherits) = &config_profile.inherits { [INFO] [stdout] ... [INFO] [stdout] 1291 | profiles.insert(name, config_profile); [INFO] [stdout] 1292 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | while let Some((just_here_for_the_error_messages, frame)) = [INFO] [stdout] | ___________^ [INFO] [stdout] 240 | | remaining_deps.pop_most_constrained() [INFO] [stdout] | |_________------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some(c) = generalize_conflicting( [INFO] [stdout] | ________________________^ [INFO] [stdout] 314 | | &resolver_ctx, [INFO] [stdout] | | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 315 | | registry, [INFO] [stdout] 316 | | &mut past_conflicting_activations, [INFO] [stdout] ... | [INFO] [stdout] 319 | | &conflicting_activations, [INFO] [stdout] 320 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match generalize_conflicting( [INFO] [stdout] 314 | &resolver_ctx, [INFO] [stdout] ... [INFO] [stdout] 319 | &conflicting_activations, [INFO] [stdout] 320 ~ ) { Some(c) => { [INFO] [stdout] 321 | generalize_conflicting_activations = Some(c); [INFO] [stdout] 322 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | if let Some(conflicting) = frame [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ____________________________________________________| [INFO] [stdout] 443 | || .remaining_siblings [INFO] [stdout] 444 | || .clone() [INFO] [stdout] 445 | || .filter_map(|(ref new_dep, _, _)| { [INFO] [stdout] 446 | || past_conflicting_activations.conflicting(&resolver_ctx, new_dep) [INFO] [stdout] 447 | || }) [INFO] [stdout] | ||______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 448 | | .next() [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 442 ~ match frame [INFO] [stdout] 443 | .remaining_siblings [INFO] [stdout] ... [INFO] [stdout] 448 | .next() [INFO] [stdout] 449 ~ { Some(conflicting) => { [INFO] [stdout] 450 | // If one of our deps is known unresolvable [INFO] [stdout] ... [INFO] [stdout] 464 | has_past_conflicting_dep = true; [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:475:28 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(known_related_bad_deps) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 476 | | past_conflicting_activations.dependencies_conflicting_with(pid) [INFO] [stdout] | |_____________________________----------------------------__________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:507:25 [INFO] [stdout] | [INFO] [stdout] 507 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 475 ~ match past_conflicting_activations.dependencies_conflicting_with(pid) [INFO] [stdout] 476 ~ { Some(known_related_bad_deps) => { [INFO] [stdout] 477 | if let Some((other_parent, conflict)) = remaining_deps [INFO] [stdout] ... [INFO] [stdout] 505 | } [INFO] [stdout] 506 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:478:32 [INFO] [stdout] | [INFO] [stdout] 478 | ... if let Some((other_parent, conflict)) = remaining_deps [INFO] [stdout] | ___________________________^ - [INFO] [stdout] | | _______________________________________________________________| [INFO] [stdout] 479 | || ... .iter() [INFO] [stdout] 480 | || ... // for deps related to us [INFO] [stdout] 481 | || ... .filter(|(_, other_dep)| known_related_bad_deps.contains(other_dep)) [INFO] [stdout] ... || [INFO] [stdout] 485 | || ... .map(|con| (other_parent, con)) [INFO] [stdout] 486 | || ... }) [INFO] [stdout] | ||____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 487 | | ... .next() [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:506:29 [INFO] [stdout] | [INFO] [stdout] 506 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 478 ~ match remaining_deps [INFO] [stdout] 479 | .iter() [INFO] [stdout] ... [INFO] [stdout] 487 | .next() [INFO] [stdout] 488 ~ { Some((other_parent, conflict)) => { [INFO] [stdout] 489 | let rel = conflict.get(&pid).unwrap().clone(); [INFO] [stdout] ... [INFO] [stdout] 505 | has_past_conflicting_dep = true; [INFO] [stdout] 506 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:601:16 [INFO] [stdout] | [INFO] [stdout] 601 | if let Some(b) = backtrack { [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 601 ~ match backtrack { Some(b) => { [INFO] [stdout] 602 | resolver_ctx = b.context; [INFO] [stdout] 603 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:760:20 [INFO] [stdout] | [INFO] [stdout] 760 | if let Some(&a) = cx.links.get(&link) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 760 ~ match cx.links.get(&link) { Some(&a) => { [INFO] [stdout] 761 | if a != b_id { [INFO] [stdout] ... [INFO] [stdout] 766 | } [INFO] [stdout] 767 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:792:16 [INFO] [stdout] | [INFO] [stdout] 792 | if let Some(r) = mem::replace(&mut self.has_another, Some(b)) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 792 ~ match mem::replace(&mut self.has_another, Some(b)) { Some(r) => { [INFO] [stdout] 793 | return Some((r, true)); [INFO] [stdout] 794 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:846:16 [INFO] [stdout] | [INFO] [stdout] 846 | if let Some(others) = registry [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ___________________________________| [INFO] [stdout] 847 | || .query(critical_parents_dep, first_version) [INFO] [stdout] 848 | || .expect("an already used dep now error!?") [INFO] [stdout] 849 | || .expect("an already used dep now pending!?") [INFO] [stdout] | ||____________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... | [INFO] [stdout] 869 | | }) [INFO] [stdout] 870 | | .collect::>>() [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 846 ~ match registry [INFO] [stdout] 847 | .query(critical_parents_dep, first_version) [INFO] [stdout] ... [INFO] [stdout] 870 | .collect::>>() [INFO] [stdout] 871 ~ { Some(others) => { [INFO] [stdout] 872 | let mut con = conflicting_activations.clone(); [INFO] [stdout] ... [INFO] [stdout] 903 | return Some(con); [INFO] [stdout] 904 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:957:11 [INFO] [stdout] | [INFO] [stdout] 957 | while let Some(mut frame) = backtrack_stack.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:998:5 [INFO] [stdout] | [INFO] [stdout] 998 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/conflict_cache.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(pid) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/conflict_cache.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match iter.next() { Some(pid) => { [INFO] [stdout] 79 | if let ConflictStoreTrie::Node(p) = self { [INFO] [stdout] ... [INFO] [stdout] 84 | // Else, we already have a subset of this in the `ConflictStore`. [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | // We are at the end of the set we are adding, there are three cases for what to do [INFO] [stdout] ... [INFO] [stdout] 105| *self = ConflictStoreTrie::Leaf(con) [INFO] [stdout] 106~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/context.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some((previous_summary, _)) = prev { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/context.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match prev { Some((previous_summary, _)) => { [INFO] [stdout] 141 | return Err( [INFO] [stdout] 142 | (previous_summary.package_id(), ConflictReason::Semver).into() [INFO] [stdout] 143 | ); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(r) = replace { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 205 ~ match replace { Some(r) => { [INFO] [stdout] 206 | self.used_replacements.insert(summary.package_id(), r); [INFO] [stdout] 207 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:366:24 [INFO] [stdout] | [INFO] [stdout] 366 | if let Err(e) = reqs.require_feature(*key) { [INFO] [stdout] | ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match reqs.require_feature(*key) { Err(e) => { [INFO] [stdout] 367 | return Err(e.into_activate_error(parent, s)); [INFO] [stdout] 368 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | if let Err(e) = reqs.require_value(fv) { [INFO] [stdout] | ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 373 ~ match reqs.require_value(fv) { Err(e) => { [INFO] [stdout] 374 | return Err(e.into_activate_error(parent, s)); [INFO] [stdout] 375 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | if let Err(e) = reqs.require_feature(*feature) { [INFO] [stdout] | ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 384 ~ match reqs.require_feature(*feature) { Err(e) => { [INFO] [stdout] 385 | return Err(e.into_activate_error(parent, s)); [INFO] [stdout] 386 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(source_id) = version_source.get(&pkg_version) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:432:21 [INFO] [stdout] | [INFO] [stdout] 432 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match version_source.get(&pkg_version) { Some(source_id) => { [INFO] [stdout] 431 | return Some(source_id); [INFO] [stdout] 432 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | if let Some(deps) = self.graph.edge(&from, replace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 443 ~ match self.graph.edge(&from, replace) { Some(deps) => { [INFO] [stdout] 444 | return deps; [INFO] [stdout] 445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | while let Some((mut deps_frame, insertion_time)) = self.data.remove_min() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | if let Some(sibling) = deps_frame.remaining_siblings.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 254 ~ match deps_frame.remaining_siblings.next() { Some(sibling) => { [INFO] [stdout] 255 | let parent = Summary::clone(&deps_frame.parent); [INFO] [stdout] 256 | self.data.insert((deps_frame, insertion_time)); [INFO] [stdout] 257 | return Some((just_here_for_the_error_messages, (parent, sibling))); [INFO] [stdout] 258 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:537:16 [INFO] [stdout] | [INFO] [stdout] 537 | if let Some(deps_from_config) = combined.get_mut(url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 537 ~ match combined.get_mut(url) { Some(deps_from_config) => { [INFO] [stdout] 538 | // We want from_config to take precedence for each patched name. [INFO] [stdout] ... [INFO] [stdout] 550 | deps_from_config.extend(from_manifest_pruned); [INFO] [stdout] 551 ~ } _ => { [INFO] [stdout] 552 | combined.insert(url.clone(), deps_from_manifest.clone()); [INFO] [stdout] 553 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:542:24 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(i) = from_manifest_pruned.iter().position(|dep_from_manifest| { [INFO] [stdout] | ^ -------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________________________| [INFO] [stdout] | | [INFO] [stdout] 543 | | // XXX: should this also take into account version numbers? [INFO] [stdout] 544 | | dep_from_config.name_in_toml() == dep_from_manifest.name_in_toml() [INFO] [stdout] 545 | | }) { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ match from_manifest_pruned.iter().position(|dep_from_manifest| { [INFO] [stdout] 543 | // XXX: should this also take into account version numbers? [INFO] [stdout] 544 | dep_from_config.name_in_toml() == dep_from_manifest.name_in_toml() [INFO] [stdout] 545 ~ }) { Some(i) => { [INFO] [stdout] 546 | from_manifest_pruned.swap_remove(i); [INFO] [stdout] 547 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:570:38 [INFO] [stdout] | [INFO] [stdout] 570 | pub fn members_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/workspace.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'gctx> Workspace<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 570 | pub fn members_mut(&mut self) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:601:46 [INFO] [stdout] | [INFO] [stdout] 601 | pub fn default_members_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/workspace.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'gctx> Workspace<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 601 | pub fn default_members_mut(&mut self) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:745:16 [INFO] [stdout] | [INFO] [stdout] 745 | if let Some(ref default) = workspace_config.default_members { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 745 ~ match workspace_config.default_members { Some(ref default) => { [INFO] [stdout] 746 | Some(workspace_config.members_paths(default)?) [INFO] [stdout] 747 ~ } _ => { [INFO] [stdout] 748 | None [INFO] [stdout] 749 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1087:24 [INFO] [stdout] | [INFO] [stdout] 1087 | if let Some(edition) = self [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | ____________________________________________| [INFO] [stdout] 1088 | || .members() [INFO] [stdout] 1089 | || .filter(|p| p.manifest_path() != root_manifest) [INFO] [stdout] 1090 | || .map(|p| p.manifest().edition()) [INFO] [stdout] 1091 | || .filter(|&e| e >= Edition::Edition2021) [INFO] [stdout] | ||_______________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1092 | | .max() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1107:21 [INFO] [stdout] | [INFO] [stdout] 1107 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match self [INFO] [stdout] 1088 | .members() [INFO] [stdout] ... [INFO] [stdout] 1092 | .max() [INFO] [stdout] 1093 ~ { Some(edition) => { [INFO] [stdout] 1094 | let resolver = edition.default_resolve_behavior().to_manifest(); [INFO] [stdout] ... [INFO] [stdout] 1106 | )?; [INFO] [stdout] 1107 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1700:45 [INFO] [stdout] | [INFO] [stdout] 1700 | fn local_overlays(&self) -> CargoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/workspace.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'gctx> Workspace<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1700 | fn local_overlays(&self) -> CargoResult> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1700 | fn local_overlays(&self) -> CargoResult + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1920:16 [INFO] [stdout] | [INFO] [stdout] 1920 | if let Some(ws_config) = roots.get(current) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1925:13 [INFO] [stdout] | [INFO] [stdout] 1925 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1920 ~ match roots.get(current) { Some(ws_config) => { [INFO] [stdout] 1921 | if !ws_config.is_excluded(manifest_path) { [INFO] [stdout] ... [INFO] [stdout] 1924 | } [INFO] [stdout] 1925 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1931:12 [INFO] [stdout] | [INFO] [stdout] 1931 | if let Some(ws_root_path) = loader(&ances_manifest_path)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1933:9 [INFO] [stdout] | [INFO] [stdout] 1933 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1931 ~ match loader(&ances_manifest_path)? { Some(ws_root_path) => { [INFO] [stdout] 1932 | return Ok(Some(ws_root_path)); [INFO] [stdout] 1933 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(table) = manifest [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ______________________________| [INFO] [stdout] 224 | || .get_table_mut(&dep_table) [INFO] [stdout] | ||______________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 225 | | .ok() [INFO] [stdout] 226 | | .and_then(TomlItem::as_table_like_mut) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match manifest [INFO] [stdout] 224 | .get_table_mut(&dep_table) [INFO] [stdout] 225 | .ok() [INFO] [stdout] 226 | .and_then(TomlItem::as_table_like_mut) [INFO] [stdout] 227 ~ { Some(table) => { [INFO] [stdout] 228 | table.sort_values(); [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:365:29 [INFO] [stdout] | [INFO] [stdout] 365 | let mut dependency = if let Some(mut old_dep) = old_dep.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ let mut dependency = match old_dep.clone() { Some(mut old_dep) => { [INFO] [stdout] 366 | if old_dep.name != selected_dep.name { [INFO] [stdout] ... [INFO] [stdout] 378 | } [INFO] [stdout] 379 ~ } _ => { [INFO] [stdout] 380 | selected_dep [INFO] [stdout] 381 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | if let Some(_dep) = find_workspace_dep(dependency.toml_key(), ws.root_manifest()).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 387 | dependency = dependency.set_source(WorkspaceSource::new()); [INFO] [stdout] 388 | } else if let Some(package) = ws.members().find(|p| p.name().as_str() == dependency.name) { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | } else if let Some(package) = ws.members().find(|p| p.name().as_str() == dependency.name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 386 ~ match find_workspace_dep(dependency.toml_key(), ws.root_manifest()).ok() { Some(_dep) => { [INFO] [stdout] 387 | dependency = dependency.set_source(WorkspaceSource::new()); [INFO] [stdout] 388 ~ } _ => { match ws.members().find(|p| p.name().as_str() == dependency.name) { Some(package) => { [INFO] [stdout] 389 | // Only special-case workspaces when the user doesn't provide any extra [INFO] [stdout] ... [INFO] [stdout] 398 | dependency = dependency.set_source(src); [INFO] [stdout] 399 ~ } _ => { [INFO] [stdout] 400 | let latest = [INFO] [stdout] ... [INFO] [stdout] 410 | dependency = dependency.set_source(latest.source.expect("latest always has a source")); [INFO] [stdout] 411 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:1051:8 [INFO] [stdout] | [INFO] [stdout] 1051 | if let Some(version) = &dep.available_version { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1051 ~ match &dep.available_version { Some(version) => { [INFO] [stdout] 1052 | let mut version = version.clone(); [INFO] [stdout] ... [INFO] [stdout] 1065 | } [INFO] [stdout] 1066 ~ } _ => { [INFO] [stdout] 1067 | "".to_owned() [INFO] [stdout] 1068 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_compile/mod.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | let std_roots = if let Some(crates) = standard_lib::std_crates(gctx, Some(&units)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_compile/mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 393 ~ let std_roots = match standard_lib::std_crates(gctx, Some(&units)) { Some(crates) => { [INFO] [stdout] 394 | let (std_resolve, std_features) = std_resolve_features.as_ref().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 404 | )? [INFO] [stdout] 405 ~ } _ => { [INFO] [stdout] 406 | Default::default() [INFO] [stdout] 407 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | if let Err(e) = Command::new(&browser).args(initial_args).arg(path).status() { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match Command::new(&browser).args(initial_args).arg(path).status() { Err(e) => { [INFO] [stdout] 149 | shell.warn(format!( [INFO] [stdout] ... [INFO] [stdout] 153 | ))?; [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | if let Err(e) = opener::open(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match opener::open(&path) { Err(e) => { [INFO] [stdout] 158 | let e = e.into(); [INFO] [stdout] 159 | crate::display_warning_with_error("couldn't open docs", &e, shell); [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | } else if let Some(dep) = dep { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ } else { match dep { Some(dep) => { [INFO] [stdout] 149 | let mut source = map.load(source_id, &HashSet::new())?; [INFO] [stdout] ... [INFO] [stdout] 172 | )? [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | bail!( [INFO] [stdout] ... [INFO] [stdout] 178 | ) [INFO] [stdout] 179 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | let target_dir = if let Some(dir) = self.gctx.target_dir()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 309 | dir [INFO] [stdout] 310 | } else if let Ok(td) = TempFileBuilder::new().prefix("cargo-install").tempdir() { [INFO] [stdout] | -------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | } else if let Ok(td) = TempFileBuilder::new().prefix("cargo-install").tempdir() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 308 ~ let target_dir = match self.gctx.target_dir()? { Some(dir) => { [INFO] [stdout] 309 | dir [INFO] [stdout] 310 ~ } _ => { match TempFileBuilder::new().prefix("cargo-install").tempdir() { Ok(td) => { [INFO] [stdout] 311 | let p = td.path().to_owned(); [INFO] [stdout] 312 | td_opt = Some(td); [INFO] [stdout] 313 | Filesystem::new(p) [INFO] [stdout] 314 ~ } _ => { [INFO] [stdout] 315 | needs_cleanup = true; [INFO] [stdout] 316 | Filesystem::new(self.gctx.cwd().join("target-install")) [INFO] [stdout] 317 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:807:12 [INFO] [stdout] | [INFO] [stdout] 807 | if let Ok(true) = is_installed(&pkg, gctx, opts, &rustc, &target, root, dst, force) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 807 ~ match is_installed(&pkg, gctx, opts, &rustc, &target, root, dst, force) { Ok(true) => { [INFO] [stdout] 808 | return Ok(Some(pkg)); [INFO] [stdout] 809 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 811 | if let Ok(mut workspace_document) = root_manifest.parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 811 ~ match root_manifest.parse::() { Ok(mut workspace_document) => { [INFO] [stdout] 812 | let display_path = get_display_path(&root_manifest_path, &path)?; [INFO] [stdout] ... [INFO] [stdout] 857 | } [INFO] [stdout] 858 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:900:16 [INFO] [stdout] | [INFO] [stdout] 900 | if let Err(e) = cargo_util::ProcessBuilder::new("rustfmt") [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 901 | || .arg(&path_of_source_file) [INFO] [stdout] 902 | || .exec_with_output() [INFO] [stdout] | ||___________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 900 ~ match cargo_util::ProcessBuilder::new("rustfmt") [INFO] [stdout] 901 | .arg(&path_of_source_file) [INFO] [stdout] 902 | .exec_with_output() [INFO] [stdout] 903 ~ { Err(e) => { [INFO] [stdout] 904 | tracing::warn!("failed to call rustfmt: {:#}", e); [INFO] [stdout] 905 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 569 | if let Ok(repo) = git2::Repository::discover(p.root()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 569 ~ match git2::Repository::discover(p.root()) { Ok(repo) => { [INFO] [stdout] 570 | if let Some(workdir) = repo.workdir() { [INFO] [stdout] ... [INFO] [stdout] 599 | } [INFO] [stdout] 600 ~ } _ => { [INFO] [stdout] 601 | gctx.shell().verbose(|shell| { [INFO] [stdout] 602 | shell.warn(format!("no (git) VCS found for `{}`", p.root().display())) [INFO] [stdout] 603 | })?; [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | if let Some(workdir) = repo.workdir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 570 ~ match repo.workdir() { Some(workdir) => { [INFO] [stdout] 571 | debug!("found a git repo at {:?}", workdir); [INFO] [stdout] ... [INFO] [stdout] 598 | })?; [INFO] [stdout] 599 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:700:16 [INFO] [stdout] | [INFO] [stdout] 700 | if let Ok(sub_repo) = submodule.open() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 700 ~ match submodule.open() { Ok(sub_repo) => { [INFO] [stdout] 701 | status_submodules(&sub_repo, dirty_files)?; [INFO] [stdout] 702 | collect_statuses(&sub_repo, dirty_files)?; [INFO] [stdout] 703 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if let Err(e) = cmd.exec() { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ match cmd.exec() { Err(e) => { [INFO] [stdout] 151 | let code = fail_fast_code(&e); [INFO] [stdout] ... [INFO] [stdout] 160 | } [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | if let Err(e) = p.exec() { [INFO] [stdout] | ^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 286 ~ match p.exec() { Err(e) => { [INFO] [stdout] 287 | let code = fail_fast_code(&e); [INFO] [stdout] ... [INFO] [stdout] 296 | } [INFO] [stdout] 297 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let Ok(unused_id) = [INFO] [stdout] | ________________^ [INFO] [stdout] 126 | | PackageIdSpec::query_str(name, previous_resolve.unused_patches().iter().cloned()) [INFO] [stdout] | |_________________--------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match PackageIdSpec::query_str(name, previous_resolve.unused_patches().iter().cloned()) [INFO] [stdout] 126 ~ { Ok(unused_id) => { [INFO] [stdout] 127 | to_avoid.insert(unused_id); [INFO] [stdout] 128 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:501:32 [INFO] [stdout] | [INFO] [stdout] 501 | let possibilities = if let Some(query) = diff.alternatives_query() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ let possibilities = match diff.alternatives_query() { Some(query) => { [INFO] [stdout] 502 | loop { [INFO] [stdout] ... [INFO] [stdout] 509 | } [INFO] [stdout] 510 ~ } _ => { [INFO] [stdout] 511 | vec![] [INFO] [stdout] 512 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:558:32 [INFO] [stdout] | [INFO] [stdout] 558 | let possibilities = if let Some(query) = diff.alternatives_query() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 558 ~ let possibilities = match diff.alternatives_query() { Some(query) => { [INFO] [stdout] 559 | loop { [INFO] [stdout] ... [INFO] [stdout] 566 | } [INFO] [stdout] 567 ~ } _ => { [INFO] [stdout] 568 | vec![] [INFO] [stdout] 569 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:653:32 [INFO] [stdout] | [INFO] [stdout] 653 | let possibilities = if let Some(query) = diff.alternatives_query() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 653 ~ let possibilities = match diff.alternatives_query() { Some(query) => { [INFO] [stdout] 654 | loop { [INFO] [stdout] ... [INFO] [stdout] 661 | } [INFO] [stdout] 662 ~ } _ => { [INFO] [stdout] 663 | vec![] [INFO] [stdout] 664 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:613:28 [INFO] [stdout] | [INFO] [stdout] 613 | if let Some(alt) = msrv_deps [INFO] [stdout] | ^ --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________________________| [INFO] [stdout] | | [INFO] [stdout] 614 | | .iter() [INFO] [stdout] 615 | | .map(|s| s.as_summary()) [INFO] [stdout] 616 | | .filter(|summary| { [INFO] [stdout] ... | [INFO] [stdout] 621 | | }) [INFO] [stdout] 622 | | .max_by_key(|s| s.package_id()) [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:635:25 [INFO] [stdout] | [INFO] [stdout] 635 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 613 ~ match msrv_deps [INFO] [stdout] 614 | .iter() [INFO] [stdout] ... [INFO] [stdout] 622 | .max_by_key(|s| s.package_id()) [INFO] [stdout] 623 ~ { Some(alt) => { [INFO] [stdout] 624 | if let Some(rust_version) = alt.rust_version() { [INFO] [stdout] ... [INFO] [stdout] 634 | } [INFO] [stdout] 635 ~ } _ => { [INFO] [stdout] 636 | String::new() [INFO] [stdout] 637 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | if let Ok(pkg_id) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 653 | | PackageId::try_new(dep.package_name(), &version[1..], source.source_id()) [INFO] [stdout] | |_____________________------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 652 ~ match PackageId::try_new(dep.package_name(), &version[1..], source.source_id()) [INFO] [stdout] 653 ~ { Ok(pkg_id) => { [INFO] [stdout] 654 | source.invalidate_cache(); [INFO] [stdout] ... [INFO] [stdout] 661 | } [INFO] [stdout] 662 ~ } _ => { [INFO] [stdout] 663 | false [INFO] [stdout] 664 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | return if let Some(dep) = dep { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:707:5 [INFO] [stdout] | [INFO] [stdout] 707 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 705 ~ return match dep { Some(dep) => { [INFO] [stdout] 706 | select_dep_pkg(source, dep, gctx, false, current_rust_version) [INFO] [stdout] 707 ~ } _ => { [INFO] [stdout] 708 | let candidates = list_all(source)?; [INFO] [stdout] ... [INFO] [stdout] 726 | Ok(pkg.clone()) [INFO] [stdout] 727 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:463:16 [INFO] [stdout] | [INFO] [stdout] 463 | if let Some(features) = parent [INFO] [stdout] | ________________^ [INFO] [stdout] 464 | | .entry("features") [INFO] [stdout] 465 | | .or_insert(toml_edit::table()) [INFO] [stdout] | | ------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 466 | | .as_table_like_mut() [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match parent [INFO] [stdout] 464 | .entry("features") [INFO] [stdout] 465 | .or_insert(toml_edit::table()) [INFO] [stdout] 466 | .as_table_like_mut() [INFO] [stdout] 467 ~ { Some(features) => { [INFO] [stdout] 468 | let activate_dep = format!("dep:{dep_name_in_toml}"); [INFO] [stdout] ... [INFO] [stdout] 504 | } [INFO] [stdout] 505 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 722 | while let Some(arg) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/lockfile.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Ok(true) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/lockfile.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match res { Ok(true) => { [INFO] [stdout] 213 | return true; [INFO] [stdout] 214 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | if let Ok(pkg) = ws.load(&path.join("Cargo.toml")) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 517 ~ match ws.load(&path.join("Cargo.toml")) { Ok(pkg) => { [INFO] [stdout] 518 | return Some(pkg); [INFO] [stdout] 519 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:589:15 [INFO] [stdout] | [INFO] [stdout] 589 | while let Some(member) = path_deps.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | if let Some(pkg) = path_pkg(node.source_id()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 657 ~ match path_pkg(node.source_id()) { Some(pkg) => { [INFO] [stdout] 658 | if pkg.package_id() != node { [INFO] [stdout] 659 | avoid_locking.insert(node); [INFO] [stdout] 660 | } [INFO] [stdout] 661 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | if let Ok(path) = try_canonicalize(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 126 ~ match try_canonicalize(path) { Ok(path) => { [INFO] [stdout] 127 | to_remove.remove(&path); [INFO] [stdout] 128 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | if let Ok(pkg) = packages.get_one(pkg) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 135 ~ match packages.get_one(pkg) { Ok(pkg) => { [INFO] [stdout] 136 | drop(fs::remove_dir_all(pkg.root())); [INFO] [stdout] 137 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 467 | let lib = if let Some(target) = &me.lib { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 467 ~ let lib = match &me.lib { Some(target) => { [INFO] [stdout] 468 | crate::util::toml::prepare_target_for_publish( [INFO] [stdout] ... [INFO] [stdout] 473 | )? [INFO] [stdout] 474 ~ } _ => { [INFO] [stdout] 475 | None [INFO] [stdout] 476 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/known_hosts.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | if let Some(index) = latent_errors [INFO] [stdout] | ^ ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________| [INFO] [stdout] | | [INFO] [stdout] 481 | | .iter() [INFO] [stdout] 482 | | .position(|e| matches!(e, KnownHostError::HostKeyHasChanged { .. })) [INFO] [stdout] | |________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/known_hosts.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 480 ~ match latent_errors [INFO] [stdout] 481 | .iter() [INFO] [stdout] 482 | .position(|e| matches!(e, KnownHostError::HostKeyHasChanged { .. })) [INFO] [stdout] 483 ~ { Some(index) => { [INFO] [stdout] 484 | return Err(latent_errors.remove(index)); [INFO] [stdout] 485 ~ } _ => { [INFO] [stdout] 486 | // Otherwise, we take the first error (which we expect to be [INFO] [stdout] 487 | // a CertAuthority error). [INFO] [stdout] 488 | Err(latent_errors.pop().unwrap()) [INFO] [stdout] 489 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | while let Some(root) = root.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some((_, objs)) = find_in(&tasks, |t| progress_by_id(resolve_objects, t)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 136 | find_in(&tasks, |t| progress_by_id(read_pack_bytes, t)).and_then(|read| { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 160 | find_in(&tasks, |t| progress_by_id(remote_progress, t)) [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } else if let Some((objs, read_pack)) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Some((action, remote)) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match find_in(&tasks, |t| progress_by_id(resolve_objects, t)) { Some((_, objs)) => { [INFO] [stdout] 125 | // Phase 3: Resolving deltas. [INFO] [stdout] ... [INFO] [stdout] 134 | )?; [INFO] [stdout] 135 ~ } _ => { match find_in(&tasks, |t| progress_by_id(read_pack_bytes, t)).and_then(|read| { [INFO] [stdout] 136 | find_in(&tasks, |t| progress_by_id(delta_index_objects, t)) [INFO] [stdout] 137 | .map(|delta| (delta.1, read.1)) [INFO] [stdout] 138 | }) [INFO] [stdout] 139 ~ { Some((objs, read_pack)) => { [INFO] [stdout] 140 | // Phase 2: Receiving objects. [INFO] [stdout] ... [INFO] [stdout] 157 | )?; [INFO] [stdout] 158 ~ } _ => { match find_in(&tasks, |t| progress_by_id(remote_progress, t)) [INFO] [stdout] 159 ~ { Some((action, remote)) => { [INFO] [stdout] 160 | if !is_shallow { [INFO] [stdout] ... [INFO] [stdout] 170 | } [INFO] [stdout] 171 ~ } _ => {}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/source.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(src) = self.path_source.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/source.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match self.path_source.as_mut() { Some(src) => { [INFO] [stdout] 251 | src.query(dep, kind, f) [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | Poll::Pending [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(rev) = resolve_ref(reference, &db.repo).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match resolve_ref(reference, &db.repo).ok() { Some(rev) => { [INFO] [stdout] 122 | return Ok((db, rev)); [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:770:15 [INFO] [stdout] | [INFO] [stdout] 770 | } else if let Some(e) = err.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 796 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 770 ~ } else { match err.downcast_ref::() { Some(e) => { [INFO] [stdout] 771 | match e.class() { [INFO] [stdout] ... [INFO] [stdout] 795 | } [INFO] [stdout] 796 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:1321:12 [INFO] [stdout] | [INFO] [stdout] 1321 | if let Ok(path) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1321 ~ match path { Ok(path) => { [INFO] [stdout] 1322 | match paths::remove_file(&path) { [INFO] [stdout] ... [INFO] [stdout] 1327 | } [INFO] [stdout] 1328 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/overlay.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(collision) = package_collision { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/overlay.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match package_collision { Some(collision) => { [INFO] [stdout] 76 | std::task::Poll::Ready(Err(anyhow::anyhow!( [INFO] [stdout] ... [INFO] [stdout] 80 | ))) [INFO] [stdout] 81 ~ } _ => { [INFO] [stdout] 82 | std::task::Poll::Ready(Ok(())) [INFO] [stdout] 83 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | if let Some(repo) = git_repo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 519 ~ match git_repo { Some(repo) => { [INFO] [stdout] 520 | return list_files_gix(pkg, &repo, &filter, gctx); [INFO] [stdout] 521 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:1013:16 [INFO] [stdout] | [INFO] [stdout] 1013 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1013 ~ match result { Err(err) => { [INFO] [stdout] 1014 | if source_id.is_git() { [INFO] [stdout] ... [INFO] [stdout] 1023 | } [INFO] [stdout] 1024 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 432 | if let Err(e) = fs::write(&config_json_path, &raw_data) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:434:21 [INFO] [stdout] | [INFO] [stdout] 434 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 432 ~ match fs::write(&config_json_path, &raw_data) { Err(e) => { [INFO] [stdout] 433 | tracing::debug!("failed to write config.json cache: {}", e); [INFO] [stdout] 434 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:621:16 [INFO] [stdout] | [INFO] [stdout] 621 | if let Some(config) = self.config_cached()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 621 ~ match self.config_cached()? { Some(config) => { [INFO] [stdout] 622 | self.auth_required = config.auth_required; [INFO] [stdout] 623 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'b` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/mod.rs:341:27 [INFO] [stdout] | [INFO] [stdout] 341 | ) -> Poll + 'b>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/sources/registry/index/mod.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | impl<'gctx> RegistryIndex<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | load: &mut dyn RegistryData, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 341 | ) -> Poll + 'b + use<'a, 'b>>> [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | let last_index_update = if let Some(update) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ let last_index_update = match iter.next() { Some(update) => { [INFO] [stdout] 185 | str::from_utf8(update)? [INFO] [stdout] 186 ~ } _ => { [INFO] [stdout] 187 | bail!("malformed file"); [INFO] [stdout] 188 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | while let Some(version) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Err(e) = fs::write(cache_path, value) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 258 ~ match fs::write(cache_path, value) { Err(e) => { [INFO] [stdout] 259 | tracing::info!(?cache_path, "failed to write cache: {e}"); [INFO] [stdout] 260 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if let Err(e) = fs::remove_file(cache_path) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match fs::remove_file(cache_path) { Err(e) => { [INFO] [stdout] 268 | if e.kind() != io::ErrorKind::NotFound { [INFO] [stdout] 269 | tracing::debug!(?cache_path, "failed to remove from cache: {e}"); [INFO] [stdout] 270 | } [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | if let Some(registries) = gctx.values()?.get("registries") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 296 ~ match gctx.values()?.get("registries") { Some(registries) => { [INFO] [stdout] 297 | let (registries, _) = registries.table("registries")?; [INFO] [stdout] ... [INFO] [stdout] 305 | } [INFO] [stdout] 306 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | if let Some(v) = value.table(&format!("registries.{name}"))?.0.get("index") { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 299 ~ match value.table(&format!("registries.{name}"))?.0.get("index") { Some(v) => { [INFO] [stdout] 300 | let (v, _) = v.string(&format!("registries.{name}.index"))?; [INFO] [stdout] ... [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if let Ok(alias) = gctx.get::>(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 347 ~ match gctx.get::>(&key) { Ok(alias) => { [INFO] [stdout] 348 | tracing::debug!("resolving credential alias '{key}' -> '{alias:?}'"); [INFO] [stdout] ... [INFO] [stdout] 357 | } [INFO] [stdout] 358 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(client) = jobserver::Client::from_env() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 271 ~ match jobserver::Client::from_env() { Some(client) => { [INFO] [stdout] 272 | GLOBAL_JOBSERVER = Box::into_raw(Box::new(client)); [INFO] [stdout] 273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | } else if let Some(val) = &self.build_config()?.target_dir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 620 ~ } else { match &self.build_config()?.target_dir { Some(val) => { [INFO] [stdout] 621 | let path = val.resolve_path(self); [INFO] [stdout] ... [INFO] [stdout] 631 | Ok(Some(Filesystem::new(path))) [INFO] [stdout] 632 ~ } _ => { [INFO] [stdout] 633 | Ok(None) [INFO] [stdout] 634 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1543:12 [INFO] [stdout] | [INFO] [stdout] 1543 | if let Ok(possible_handle) = same_file::Handle::from_path(&possible) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1573:9 [INFO] [stdout] | [INFO] [stdout] 1573 | } else if possible_with_extension.exists() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1543 ~ match same_file::Handle::from_path(&possible) { Ok(possible_handle) => { [INFO] [stdout] 1544 | if warn { [INFO] [stdout] ... [INFO] [stdout] 1572 | Ok(Some(possible)) [INFO] [stdout] 1573 ~ } _ => if possible_with_extension.exists() { [INFO] [stdout] 1574 | Ok(Some(possible_with_extension)) [INFO] [stdout] 1575 | } else { [INFO] [stdout] 1576 | Ok(None) [INFO] [stdout] 1577 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1545:20 [INFO] [stdout] | [INFO] [stdout] 1545 | if let Ok(possible_with_extension_handle) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1546 | | same_file::Handle::from_path(&possible_with_extension) [INFO] [stdout] | |_____________________-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1561:17 [INFO] [stdout] | [INFO] [stdout] 1561 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1545 ~ match same_file::Handle::from_path(&possible_with_extension) [INFO] [stdout] 1546 ~ { Ok(possible_with_extension_handle) => { [INFO] [stdout] 1547 | // We don't want to print a warning if the version [INFO] [stdout] ... [INFO] [stdout] 1559 | } [INFO] [stdout] 1560 ~ } _ => { [INFO] [stdout] 1561 | self.shell().warn(format!( [INFO] [stdout] ... [INFO] [stdout] 1567 | )?; [INFO] [stdout] 1568 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1587:16 [INFO] [stdout] | [INFO] [stdout] 1587 | if let Some(path) = self.get_file_path(¤t.join(".cargo"), "config", true)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1590:13 [INFO] [stdout] | [INFO] [stdout] 1590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1587 ~ match self.get_file_path(¤t.join(".cargo"), "config", true)? { Some(path) => { [INFO] [stdout] 1588 | walk(&path)?; [INFO] [stdout] 1589 | stash.insert(path); [INFO] [stdout] 1590 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1608:12 [INFO] [stdout] | [INFO] [stdout] 1608 | if let Some(index) = self.get_string(&format!("registries.{}.index", registry))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1615:9 [INFO] [stdout] | [INFO] [stdout] 1615 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1608 ~ match self.get_string(&format!("registries.{}.index", registry))? { Some(index) => { [INFO] [stdout] 1609 | self.resolve_registry_index(&index).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] 1614 | }) [INFO] [stdout] 1615 ~ } _ => { [INFO] [stdout] 1616 | bail!( [INFO] [stdout] ... [INFO] [stdout] 1619 | ); [INFO] [stdout] 1620 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/target.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Ok(target_applies_to_host) = gctx.get::("target-applies-to-host") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/target.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match gctx.get::("target-applies-to-host") { Ok(target_applies_to_host) => { [INFO] [stdout] 76 | Ok(target_applies_to_host) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | Ok(!gctx.cli_unstable().host_config) [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/util/context/target.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> CargoResult + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/util/context/target.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | key: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 233 | ) -> CargoResult + 'a + use<'a>> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:300:15 [INFO] [stdout] | [INFO] [stdout] 300 | while let Ok((client, _)) = self.listener.accept() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if let Err(e) = client.read_to_string(&mut s) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 306 ~ match client.read_to_string(&mut s) { Err(e) => { [INFO] [stdout] 307 | warn!("diagnostic server failed to read: {}", e); [INFO] [stdout] 308 ~ } _ => { [INFO] [stdout] 309 | match serde_json::from_str(&s) { [INFO] [stdout] ... [INFO] [stdout] 312 | } [INFO] [stdout] 313 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(f) = self.f.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match self.f.take() { Some(f) => { [INFO] [stdout] 106 | if let Err(e) = unlock(&f) { [INFO] [stdout] 107 | tracing::warn!("failed to release lock: {e:?}"); [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | if let Err(e) = unlock(&f) { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match unlock(&f) { Err(e) => { [INFO] [stdout] 107 | tracing::warn!("failed to release lock: {e:?}"); [INFO] [stdout] 108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/util/graph.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn edges(&self, from: &N) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/util/graph.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn edges(&self, from: &N) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 40 | pub fn edges(&self, from: &N) -> impl Iterator + use<'_, N, E> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | while let Ok((client, _)) = self.listener.accept() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(thread) = client.thread.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match client.thread.take() { Some(thread) => { [INFO] [stdout] 142 | drop(thread.join()); [INFO] [stdout] 143 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/sleep.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | while let Some(next) = self.heap.peek() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/sleep.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(ref mut s) = self.state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.state { Some(ref mut s) => { [INFO] [stdout] 234 | s.clear(); [INFO] [stdout] 235 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:326:16 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(n) = self.gctx.shell().err_width().progress_max_width() { [INFO] [stdout] | ^^^^^^^^^^^^^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 326 ~ match self.gctx.shell().err_width().progress_max_width() { Some(n) => { [INFO] [stdout] 327 | self.format.max_width = n; [INFO] [stdout] 328 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1134:16 [INFO] [stdout] | [INFO] [stdout] 1134 | if let Some(edition_msrv) = edition.first_version() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1145:13 [INFO] [stdout] | [INFO] [stdout] 1145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1134 ~ match edition.first_version() { Some(edition_msrv) => { [INFO] [stdout] 1135 | let edition_msrv = RustVersion::try_from(edition_msrv).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1144 | } [INFO] [stdout] 1145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1149:31 [INFO] [stdout] | [INFO] [stdout] 1149 | let msrv_edition = if let Some(pkg_msrv) = &rust_version { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1162:9 [INFO] [stdout] | [INFO] [stdout] 1162 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1149 ~ let msrv_edition = match &rust_version { Some(pkg_msrv) => { [INFO] [stdout] 1150 | Edition::ALL [INFO] [stdout] ... [INFO] [stdout] 1161 | .copied() [INFO] [stdout] 1162 ~ } _ => { [INFO] [stdout] 1163 | None [INFO] [stdout] 1164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/dependency.rs:582:16 [INFO] [stdout] | [INFO] [stdout] 582 | if let Some(new_features) = self.features.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/dependency.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 582 ~ match self.features.as_ref() { Some(new_features) => { [INFO] [stdout] 583 | let mut features = table [INFO] [stdout] ... [INFO] [stdout] 601 | overwrite_value(table, "features", features); [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | table.remove("features"); [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(toml_edit::Item::Table(feature_table)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 438 | | self.data.as_table_mut().get_mut("features") [INFO] [stdout] | |_____________---------__________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 437 ~ match self.data.as_table_mut().get_mut("features") [INFO] [stdout] 438 ~ { Some(toml_edit::Item::Table(feature_table)) => { [INFO] [stdout] 439 | for (_feature, mut feature_values) in feature_table.iter_mut() { [INFO] [stdout] ... [INFO] [stdout] 450 | } [INFO] [stdout] 451 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:480:16 [INFO] [stdout] | [INFO] [stdout] 480 | if let toml_edit::Item::Table(tbl) = tbl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 480 ~ match tbl { toml_edit::Item::Table(tbl) => { [INFO] [stdout] 481 | if let Some(dep_item) = tbl.get(dep_key) { [INFO] [stdout] ... [INFO] [stdout] 492 | } [INFO] [stdout] 493 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:481:20 [INFO] [stdout] | [INFO] [stdout] 481 | if let Some(dep_item) = tbl.get(dep_key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 481 ~ match tbl.get(dep_key) { Some(dep_item) => { [INFO] [stdout] 482 | let optional = dep_item [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] 492 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/vcs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let Ok(repo) = GitRepo::discover(path, cwd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/vcs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match GitRepo::discover(path, cwd) { Ok(repo) => { [INFO] [stdout] 14 | // Don't check if the working directory itself is ignored. [INFO] [stdout] ... [INFO] [stdout] 19 | } [INFO] [stdout] 20 ~ } _ => { [INFO] [stdout] 21 | false [INFO] [stdout] 22 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 177 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/testsuite/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cargo` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/cargo/core/compiler/custom_build.rs [INFO] [stderr] * src/cargo/core/features.rs [INFO] [stderr] * src/cargo/core/global_cache_tracker.rs [INFO] [stderr] * src/cargo/core/workspace.rs [INFO] [stderr] * src/cargo/macros.rs [INFO] [stderr] * src/cargo/util/context/mod.rs [INFO] [stderr] * src/cargo/util/network/mod.rs [INFO] [stderr] * src/cargo/util/toml/embedded.rs [INFO] [stderr] * src/cargo/version.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/macros.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | let (default, default_name) = $e:expr_2021; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/compiler/custom_build.rs:836:18 [INFO] [stderr] | [INFO] [stderr] 836 | ($target_kind: expr_2021, $is_target_kind: expr_2021, $link_type: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/compiler/custom_build.rs:836:43 [INFO] [stderr] | [INFO] [stderr] 836 | ($target_kind: expr_2021, $is_target_kind: expr_2021, $link_type: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/compiler/custom_build.rs:836:71 [INFO] [stderr] | [INFO] [stderr] 836 | ($target_kind: expr_2021, $is_target_kind: expr_2021, $link_type: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/features.rs:368:43 [INFO] [stderr] | [INFO] [stderr] 368 | ($stab:ident, $feature:ident, $version:expr_2021, $docs:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/features.rs:368:63 [INFO] [stderr] | [INFO] [stderr] 368 | ($stab:ident, $feature:ident, $version:expr_2021, $docs:expr_2021), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/global_cache_tracker.rs:1349:6 [INFO] [stderr] | [INFO] [stderr] 1349 | ($self:expr_2021, $conn:expr_2021, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/global_cache_tracker.rs:1349:23 [INFO] [stderr] | [INFO] [stderr] 1349 | ($self:expr_2021, $conn:expr_2021, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/core/global_cache_tracker.rs:1349:40 [INFO] [stderr] | [INFO] [stderr] 1349 | ($self:expr_2021, $conn:expr_2021, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:118:43 [INFO] [stderr] | [INFO] [stderr] 118 | ($name:ident, $ty:ty, $variant:ident, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2887:6 [INFO] [stderr] | [INFO] [stderr] 2887 | ($config:expr_2021, $which:ident, $newline:literal, $($arg:tt)*) => ({ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2899:6 [INFO] [stderr] | [INFO] [stderr] 2899 | ($config:expr_2021) => ( $crate::drop_print!($config, "\n") ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2900:6 [INFO] [stderr] | [INFO] [stderr] 2900 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2907:6 [INFO] [stderr] | [INFO] [stderr] 2907 | ($config:expr_2021) => ( $crate::drop_eprint!($config, "\n") ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2908:6 [INFO] [stderr] | [INFO] [stderr] 2908 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2915:6 [INFO] [stderr] | [INFO] [stderr] 2915 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/context/mod.rs:2922:6 [INFO] [stderr] | [INFO] [stderr] 2922 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:39:6 [INFO] [stderr] | [INFO] [stderr] 39 | ($e:expr_2021, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | ($e:expr_2021, $msg:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:74:6 [INFO] [stderr] | [INFO] [stderr] 74 | ($multiplexing:expr_2021, $handle:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/network/mod.rs:74:31 [INFO] [stderr] | [INFO] [stderr] 74 | ($multiplexing:expr_2021, $handle:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/util/toml/embedded.rs:269:10 [INFO] [stderr] | [INFO] [stderr] 269 | ($i:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/cargo/version.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | ($name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/cargo/core/workspace.rs:590:66 [INFO] [stderr] | [INFO] [stderr] 590 | pub fn default_members<'a>(&'a self) -> impl Iterator { [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 23 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/macros.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | let (default, default_name) = $e:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 7 | let (default, default_name) = $e:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:836:32 [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr_2021, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:836:55 [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr_2021, $link_type: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:836:73 [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 836 | ($target_kind: expr, $is_target_kind: expr, $link_type: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/features.rs:368:52 [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr, $docs:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr_2021, $docs:expr), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/features.rs:368:64 [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr, $docs:expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 368 | ($stab:ident, $feature:ident, $version:expr, $docs:expr_2021), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1349:12 [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr_2021, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1349:24 [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr_2021, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1349:42 [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1349 | ($self:expr, $conn:expr, $table_name:expr_2021, $timestamps_field:ident, $keys_field:ident, $encoded_name:ident) => { [INFO] [stdout] | ~~~~~~~~~ [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] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:118:53 [INFO] [stdout] | [INFO] [stdout] 118 | ($name:ident, $ty:ty, $variant:ident, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 118 | ($name:ident, $ty:ty, $variant:ident, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2888:14 [INFO] [stdout] | [INFO] [stdout] 2888 | ($config:expr, $which:ident, $newline:literal, $($arg:tt)*) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2888 | ($config:expr_2021, $which:ident, $newline:literal, $($arg:tt)*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2900:14 [INFO] [stdout] | [INFO] [stdout] 2900 | ($config:expr) => ( $crate::drop_print!($config, "\n") ); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2900 | ($config:expr_2021) => ( $crate::drop_print!($config, "\n") ); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2901:14 [INFO] [stdout] | [INFO] [stdout] 2901 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2901 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2908:14 [INFO] [stdout] | [INFO] [stdout] 2908 | ($config:expr) => ( $crate::drop_eprint!($config, "\n") ); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2908 | ($config:expr_2021) => ( $crate::drop_eprint!($config, "\n") ); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2909:14 [INFO] [stdout] | [INFO] [stdout] 2909 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2909 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2916:14 [INFO] [stdout] | [INFO] [stdout] 2916 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2916 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/context/mod.rs:2923:14 [INFO] [stdout] | [INFO] [stdout] 2923 | ($config:expr, $($arg:tt)*) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2923 | ($config:expr_2021, $($arg:tt)*) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr_2021, $msg:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr, $msg:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 39 | ($e:expr, $msg:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr, $handle:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr_2021, $handle:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/network/mod.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr, $handle:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 74 | ($multiplexing:expr, $handle:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/util/toml/embedded.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | ($i:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 269 | ($i:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/cargo/version.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | ($name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($name:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setsid` is unsafe and requires unsafe block [INFO] [stdout] --> src/cargo/util/job.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | libc::setsid(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cargo/util/job.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn setup() -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 973 | if let Some(width) = gctx.shell().err_width().diagnostic_terminal_width() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 973 ~ match gctx.shell().err_width().diagnostic_terminal_width() { Some(width) => { [INFO] [stdout] 974 | cmd.arg(format!("--diagnostic-width={width}")); [INFO] [stdout] 975 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1661:12 [INFO] [stdout] | [INFO] [stdout] 1661 | if let Some((path, cell)) = &mut options.cache_cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1667:9 [INFO] [stdout] | [INFO] [stdout] 1667 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1661 ~ match &mut options.cache_cell { Some((path, cell)) => { [INFO] [stdout] 1662 | // Cache the output, which will be replayed later when Fresh. [INFO] [stdout] ... [INFO] [stdout] 1666 | f.write_all(&[b'\n'])?; [INFO] [stdout] 1667 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1760:16 [INFO] [stdout] | [INFO] [stdout] 1760 | if let Ok(mut msg) = serde_json::from_str::(compiler_message.get()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1789:13 [INFO] [stdout] | [INFO] [stdout] 1789 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1760 ~ match serde_json::from_str::(compiler_message.get()) { Ok(mut msg) => { [INFO] [stdout] 1761 | if msg.message.starts_with("aborting due to") [INFO] [stdout] ... [INFO] [stdout] 1788 | return Ok(true); [INFO] [stdout] 1789 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1802:16 [INFO] [stdout] | [INFO] [stdout] 1802 | if let Ok(mut error) = serde_json::from_str::(compiler_message.get()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/mod.rs:1807:13 [INFO] [stdout] | [INFO] [stdout] 1807 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1802 ~ match serde_json::from_str::(compiler_message.get()) { Ok(mut error) => { [INFO] [stdout] 1803 | error.rendered = anstream::adapter::strip_str(&error.rendered).to_string(); [INFO] [stdout] ... [INFO] [stdout] 1806 | compiler_message = new_msg; [INFO] [stdout] 1807 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_context/target_info.rs:747:15 [INFO] [stdout] | [INFO] [stdout] 747 | } else if let Some(rustflags) = [INFO] [stdout] | _______________^ [INFO] [stdout] 748 | | rustflags_from_target(gctx, host_triple, target_cfg, kind, flags)? [INFO] [stdout] | |_________-----------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 751 | } else if let Some(rustflags) = rustflags_from_build(gctx, flags)? { [INFO] [stdout] | ---------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_context/target_info.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | } else if let Some(rustflags) = rustflags_from_build(gctx, flags)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_context/target_info.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 747 ~ } else { match rustflags_from_target(gctx, host_triple, target_cfg, kind, flags)? [INFO] [stdout] 748 ~ { Some(rustflags) => { [INFO] [stdout] 749 | Ok(rustflags) [INFO] [stdout] 750 ~ } _ => { match rustflags_from_build(gctx, flags)? { Some(rustflags) => { [INFO] [stdout] 751 | Ok(rustflags) [INFO] [stdout] 752 ~ } _ => { [INFO] [stdout] 753 | Ok(Vec::new()) [INFO] [stdout] 754 ~ }}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | if let Some(output) = self.build_script_outputs.lock().unwrap().get(meta) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self.build_script_outputs.lock().unwrap().get(meta) { Some(output) => { [INFO] [stdout] 254 | for cfg in &output.cfgs { [INFO] [stdout] ... [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:553:27 [INFO] [stdout] | [INFO] [stdout] 553 | } else if let Some(prev) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 554 | | doc_bins.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] | |______________________________________-----------_______________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:557:17 [INFO] [stdout] | [INFO] [stdout] 557 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 553 ~ } else { match doc_bins.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] 554 ~ { Some(prev) => { [INFO] [stdout] 555 | doc_collision_error(unit, prev)?; [INFO] [stdout] 556 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:549:24 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(prev) = doc_libs.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/build_runner/mod.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 549 ~ match doc_libs.insert((unit.target.crate_name(), unit.kind), unit) [INFO] [stdout] 550 ~ { Some(prev) => { [INFO] [stdout] 551 | doc_collision_error(unit, prev)?; [INFO] [stdout] 552 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/compilation.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(rustc) = primary_rustc_process.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/compilation.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match primary_rustc_process.as_mut() { Some(rustc) => { [INFO] [stdout] 138 | rustc.display_env_vars(); [INFO] [stdout] 139 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | if let Some(build_scripts) = build_scripts { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 462 ~ match build_scripts { Some(build_scripts) => { [INFO] [stdout] 463 | super::add_plugin_deps( [INFO] [stdout] ... [INFO] [stdout] 468 | )?; [INFO] [stdout] 469 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1170:16 [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(links) = unit.pkg.manifest().links() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1183:13 [INFO] [stdout] | [INFO] [stdout] 1183 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1170 ~ match unit.pkg.manifest().links() { Some(links) => { [INFO] [stdout] 1171 | if let Some(output) = build_runner [INFO] [stdout] ... [INFO] [stdout] 1182 | } [INFO] [stdout] 1183 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1171:20 [INFO] [stdout] | [INFO] [stdout] 1171 | if let Some(output) = build_runner [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | _______________________________________| [INFO] [stdout] 1172 | || .bcx [INFO] [stdout] 1173 | || .target_data [INFO] [stdout] | ||________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1174 | | .script_override(links, unit.kind) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/custom_build.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1171 ~ match build_runner [INFO] [stdout] 1172 | .bcx [INFO] [stdout] 1173 | .target_data [INFO] [stdout] 1174 | .script_override(links, unit.kind) [INFO] [stdout] 1175 ~ { Some(output) => { [INFO] [stdout] 1176 | let metadata = build_runner.get_run_build_script_metadata(unit); [INFO] [stdout] ... [INFO] [stdout] 1181 | ); [INFO] [stdout] 1182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1184:16 [INFO] [stdout] | [INFO] [stdout] 1184 | if let Some(item) = [INFO] [stdout] | ________________^ [INFO] [stdout] 1185 | | local.find_stale_item(mtime_cache, pkg_root, target_root, cargo_exe, gctx)? [INFO] [stdout] | |_________________--------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1184 ~ match local.find_stale_item(mtime_cache, pkg_root, target_root, cargo_exe, gctx)? [INFO] [stdout] 1185 ~ { Some(item) => { [INFO] [stdout] 1186 | item.log(); [INFO] [stdout] 1187 | self.fs_status = FsStatus::StaleItem(item); [INFO] [stdout] 1188 | return Ok(()); [INFO] [stdout] 1189 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1461:12 [INFO] [stdout] | [INFO] [stdout] 1461 | if let Ok(map) = build_runner.bcx.gctx.doc_extern_map() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1463:9 [INFO] [stdout] | [INFO] [stdout] 1463 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1461 ~ match build_runner.bcx.gctx.doc_extern_map() { Ok(map) => { [INFO] [stdout] 1462 | map.hash(&mut config); [INFO] [stdout] 1463 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1903:28 [INFO] [stdout] | [INFO] [stdout] 1903 | let skipable_dirs = if let Ok(cargo_home) = home::cargo_home() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/fingerprint/mod.rs:1909:5 [INFO] [stdout] | [INFO] [stdout] 1909 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1903 ~ let skipable_dirs = match home::cargo_home() { Ok(cargo_home) => { [INFO] [stdout] 1904 | let skipable_dirs: Vec<_> = ["git", "registry"] [INFO] [stdout] ... [INFO] [stdout] 1908 | Some(skipable_dirs) [INFO] [stdout] 1909 ~ } _ => { [INFO] [stdout] 1910 | None [INFO] [stdout] 1911 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 552 | while let Some((unit, job, priority)) = self.queue.dequeue() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:767:20 [INFO] [stdout] | [INFO] [stdout] 767 | if let Err(e) = self.spawn_work_if_possible(build_runner, jobserver_helper, scope) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:769:17 [INFO] [stdout] | [INFO] [stdout] 769 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 767 ~ match self.spawn_work_if_possible(build_runner, jobserver_helper, scope) { Err(e) => { [INFO] [stdout] 768 | self.handle_error(&mut build_runner.bcx.gctx.shell(), &mut errors, e); [INFO] [stdout] 769 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:784:20 [INFO] [stdout] | [INFO] [stdout] 784 | if let Err(event_err) = self.handle_event(build_runner, plan, event) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:786:17 [INFO] [stdout] | [INFO] [stdout] 786 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 784 ~ match self.handle_event(build_runner, plan, event) { Err(event_err) => { [INFO] [stdout] 785 | self.handle_error(&mut build_runner.bcx.gctx.shell(), &mut errors, event_err); [INFO] [stdout] 786 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | if let Err(e) = writeln!(shell.out(), "{}", msg) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | if let Some(error) = errors.to_error() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/job_queue/mod.rs:828:9 [INFO] [stdout] | [INFO] [stdout] 828 | } else if self.queue.is_empty() && self.pending_queue.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ match errors.to_error() { Some(error) => { [INFO] [stdout] 825 | // Any errors up to this point have already been printed via the [INFO] [stdout] 826 | // `display_error` inside `handle_error`. [INFO] [stdout] 827 | Some(anyhow::Error::new(AlreadyPrintedError::new(error))) [INFO] [stdout] 828 ~ } _ => if self.queue.is_empty() && self.pending_queue.is_empty() { [INFO] [stdout] 829 | let profile_link = build_runner.bcx.gctx.shell().err_hyperlink( [INFO] [stdout] ... [INFO] [stdout] 847 | Some(internal("finished with jobs still left in the queue")) [INFO] [stdout] 848 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(paths) = fingerprint::parse_dep_info( [INFO] [stdout] | ____________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 60 | || unit.pkg.root(), [INFO] [stdout] 61 | || build_runner.files().host_root(), [INFO] [stdout] 62 | || &dep_info_loc, [INFO] [stdout] 63 | || )? { [INFO] [stdout] | ||__________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match fingerprint::parse_dep_info( [INFO] [stdout] 60 | unit.pkg.root(), [INFO] [stdout] 61 | build_runner.files().host_root(), [INFO] [stdout] 62 | &dep_info_loc, [INFO] [stdout] 63 ~ )? { Some(paths) => { [INFO] [stdout] 64 | for path in paths.files { [INFO] [stdout] 65 | deps.insert(path); [INFO] [stdout] 66 | } [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | debug!( [INFO] [stdout] ... [INFO] [stdout] 73 | return Err(internal("dep_info missing")); [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(output) = build_runner [INFO] [stdout] | _____________^ - [INFO] [stdout] | | _______________________________| [INFO] [stdout] 80 | || .build_script_outputs [INFO] [stdout] 81 | || .lock() [INFO] [stdout] 82 | || .unwrap() [INFO] [stdout] | ||_____________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 83 | | .get(metadata) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/output_depinfo.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match build_runner [INFO] [stdout] 80 | .build_script_outputs [INFO] [stdout] ... [INFO] [stdout] 83 | .get(metadata) [INFO] [stdout] 84 ~ { Some(output) => { [INFO] [stdout] 85 | for path in &output.rerun_if_changed { [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/rustdoc.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if let Ok(index_url) = gctx.get_registry_index(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/rustdoc.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 190 ~ match gctx.get_registry_index(name) { Ok(index_url) => { [INFO] [stdout] 191 | Some((name, index_url)) [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | tracing::warn!( [INFO] [stdout] ... [INFO] [stdout] 197 | None [INFO] [stdout] 198 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(other_unit) = state.unit_dependencies.insert(unit, deps) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 ~ match state.unit_dependencies.insert(unit, deps) { Some(other_unit) => { [INFO] [stdout] 195 | panic!("std unit collision with existing unit: {:?}", other_unit); [INFO] [stdout] 196 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | if let Some(lib) = unit [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ____________________________| [INFO] [stdout] 660 | || .pkg [INFO] [stdout] | ||________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 661 | | .targets() [INFO] [stdout] 662 | | .iter() [INFO] [stdout] 663 | | .find(|t| t.is_linkable() && t.documented()) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/compiler/unit_dependencies.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 659 ~ match unit [INFO] [stdout] 660 | .pkg [INFO] [stdout] ... [INFO] [stdout] 663 | .find(|t| t.is_linkable() && t.documented()) [INFO] [stdout] 664 ~ { Some(lib) => { [INFO] [stdout] 665 | let dep_unit_for = unit_for.with_dependency(unit, lib, unit_for.root_compile_kind()); [INFO] [stdout] ... [INFO] [stdout] 676 | ret.push(lib_doc_unit); [INFO] [stdout] 677 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/gc.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if let Err(e) = auto_gc_inner(gctx) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/gc.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match auto_gc_inner(gctx) { Err(e) => { [INFO] [stdout] 64 | if global_cache_tracker::is_silent_error(&e) && !gctx.extra_verbose() { [INFO] [stdout] ... [INFO] [stdout] 72 | } [INFO] [stdout] 73 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:840:15 [INFO] [stdout] | [INFO] [stdout] 840 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1276:15 [INFO] [stdout] | [INFO] [stdout] 1276 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1330:15 [INFO] [stdout] | [INFO] [stdout] 1330 | while let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1582:12 [INFO] [stdout] | [INFO] [stdout] 1582 | if let Err(e) = self.save_with_gctx(gctx) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1601:9 [INFO] [stdout] | [INFO] [stdout] 1601 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1582 ~ match self.save_with_gctx(gctx) { Err(e) => { [INFO] [stdout] 1583 | // Because there is an assertion in auto-gc that checks if this is [INFO] [stdout] ... [INFO] [stdout] 1600 | } [INFO] [stdout] 1601 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | let id = if let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1612 | / insert_or_update_parent!( [INFO] [stdout] 1613 | | self, [INFO] [stdout] 1614 | | conn, [INFO] [stdout] 1615 | | "registry_index", [INFO] [stdout] ... | [INFO] [stdout] 1618 | | encoded_registry_name [INFO] [stdout] 1619 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1612 | / insert_or_update_parent!( [INFO] [stdout] 1613 | | self, [INFO] [stdout] 1614 | | conn, [INFO] [stdout] 1615 | | "registry_index", [INFO] [stdout] ... | [INFO] [stdout] 1618 | | encoded_registry_name [INFO] [stdout] 1619 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `insert_or_update_parent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | let id = if let Some(row) = rows.next()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1625 | / insert_or_update_parent!( [INFO] [stdout] 1626 | | self, [INFO] [stdout] 1627 | | conn, [INFO] [stdout] 1628 | | "git_db", [INFO] [stdout] ... | [INFO] [stdout] 1631 | | encoded_git_name [INFO] [stdout] 1632 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/global_cache_tracker.rs:1382:13 [INFO] [stdout] | [INFO] [stdout] 1382 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1625 | / insert_or_update_parent!( [INFO] [stdout] 1626 | | self, [INFO] [stdout] 1627 | | conn, [INFO] [stdout] 1628 | | "git_db", [INFO] [stdout] ... | [INFO] [stdout] 1631 | | encoded_git_name [INFO] [stdout] 1632 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `insert_or_update_parent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + '_` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn package_ids(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/package.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | impl<'gctx> PackageSet<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 414 | pub fn package_ids(&self) -> impl Iterator + '_ + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn packages(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/package.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | impl<'gctx> PackageSet<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 418 | pub fn packages(&self) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator)> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | ) -> impl Iterator)> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/package.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | impl<'gctx> PackageSet<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 607 | ) -> impl Iterator)> + 'a + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/core/package.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | crate::try_old_curl_http2_pipewait!(self.set.multiplexing, handle); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:962:20 [INFO] [stdout] | [INFO] [stdout] 962 | if let Some(result) = msg.result_for(handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/package.rs:964:17 [INFO] [stdout] | [INFO] [stdout] 964 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 962 ~ match msg.result_for(handle) { Some(result) => { [INFO] [stdout] 963 | results.push((token, result)); [INFO] [stdout] 964 ~ } _ => { [INFO] [stdout] 965 | debug!(target: "network", "message without a result (?)"); [INFO] [stdout] 966 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/package_id_spec.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | let spec = if let Some(version) = self.partial_version().cloned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/package_id_spec.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ let spec = match self.partial_version().cloned() { Some(version) => { [INFO] [stdout] 87 | spec.with_version(version) [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | spec [INFO] [stdout] 90 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | if let Some(build_override) = &toml.build_override { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 487 ~ match &toml.build_override { Some(build_override) => { [INFO] [stdout] 488 | merge_profile(profile, build_override); [INFO] [stdout] 489 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | if let Some(overrides) = toml.package.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 491 ~ match toml.package.as_ref() { Some(overrides) => { [INFO] [stdout] 492 | if !is_member { [INFO] [stdout] ... [INFO] [stdout] 520 | } [INFO] [stdout] 521 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:493:16 [INFO] [stdout] | [INFO] [stdout] 493 | if let Some(all) = overrides.get(&ProfilePackageSpec::All) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 493 ~ match overrides.get(&ProfilePackageSpec::All) { Some(all) => { [INFO] [stdout] 494 | merge_profile(profile, all); [INFO] [stdout] 495 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:1287:20 [INFO] [stdout] | [INFO] [stdout] 1287 | if let Some(config_profile) = get_config_profile(ws, &name)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/profiles.rs:1292:17 [INFO] [stdout] | [INFO] [stdout] 1292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1287 ~ match get_config_profile(ws, &name)? { Some(config_profile) => { [INFO] [stdout] 1288 | if let Some(inherits) = &config_profile.inherits { [INFO] [stdout] ... [INFO] [stdout] 1291 | profiles.insert(name, config_profile); [INFO] [stdout] 1292 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | while let Some((just_here_for_the_error_messages, frame)) = [INFO] [stdout] | ___________^ [INFO] [stdout] 240 | | remaining_deps.pop_most_constrained() [INFO] [stdout] | |_________------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some(c) = generalize_conflicting( [INFO] [stdout] | ________________________^ [INFO] [stdout] 314 | | &resolver_ctx, [INFO] [stdout] | | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 315 | | registry, [INFO] [stdout] 316 | | &mut past_conflicting_activations, [INFO] [stdout] ... | [INFO] [stdout] 319 | | &conflicting_activations, [INFO] [stdout] 320 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match generalize_conflicting( [INFO] [stdout] 314 | &resolver_ctx, [INFO] [stdout] ... [INFO] [stdout] 319 | &conflicting_activations, [INFO] [stdout] 320 ~ ) { Some(c) => { [INFO] [stdout] 321 | generalize_conflicting_activations = Some(c); [INFO] [stdout] 322 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:442:28 [INFO] [stdout] | [INFO] [stdout] 442 | if let Some(conflicting) = frame [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ____________________________________________________| [INFO] [stdout] 443 | || .remaining_siblings [INFO] [stdout] 444 | || .clone() [INFO] [stdout] 445 | || .filter_map(|(ref new_dep, _, _)| { [INFO] [stdout] 446 | || past_conflicting_activations.conflicting(&resolver_ctx, new_dep) [INFO] [stdout] 447 | || }) [INFO] [stdout] | ||______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 448 | | .next() [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 442 ~ match frame [INFO] [stdout] 443 | .remaining_siblings [INFO] [stdout] ... [INFO] [stdout] 448 | .next() [INFO] [stdout] 449 ~ { Some(conflicting) => { [INFO] [stdout] 450 | // If one of our deps is known unresolvable [INFO] [stdout] ... [INFO] [stdout] 464 | has_past_conflicting_dep = true; [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:475:28 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(known_related_bad_deps) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 476 | | past_conflicting_activations.dependencies_conflicting_with(pid) [INFO] [stdout] | |_____________________________----------------------------__________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:507:25 [INFO] [stdout] | [INFO] [stdout] 507 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 475 ~ match past_conflicting_activations.dependencies_conflicting_with(pid) [INFO] [stdout] 476 ~ { Some(known_related_bad_deps) => { [INFO] [stdout] 477 | if let Some((other_parent, conflict)) = remaining_deps [INFO] [stdout] ... [INFO] [stdout] 505 | } [INFO] [stdout] 506 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:478:32 [INFO] [stdout] | [INFO] [stdout] 478 | ... if let Some((other_parent, conflict)) = remaining_deps [INFO] [stdout] | ___________________________^ - [INFO] [stdout] | | _______________________________________________________________| [INFO] [stdout] 479 | || ... .iter() [INFO] [stdout] 480 | || ... // for deps related to us [INFO] [stdout] 481 | || ... .filter(|(_, other_dep)| known_related_bad_deps.contains(other_dep)) [INFO] [stdout] ... || [INFO] [stdout] 485 | || ... .map(|con| (other_parent, con)) [INFO] [stdout] 486 | || ... }) [INFO] [stdout] | ||____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 487 | | ... .next() [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:506:29 [INFO] [stdout] | [INFO] [stdout] 506 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 478 ~ match remaining_deps [INFO] [stdout] 479 | .iter() [INFO] [stdout] ... [INFO] [stdout] 487 | .next() [INFO] [stdout] 488 ~ { Some((other_parent, conflict)) => { [INFO] [stdout] 489 | let rel = conflict.get(&pid).unwrap().clone(); [INFO] [stdout] ... [INFO] [stdout] 505 | has_past_conflicting_dep = true; [INFO] [stdout] 506 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:601:16 [INFO] [stdout] | [INFO] [stdout] 601 | if let Some(b) = backtrack { [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 601 ~ match backtrack { Some(b) => { [INFO] [stdout] 602 | resolver_ctx = b.context; [INFO] [stdout] 603 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:760:20 [INFO] [stdout] | [INFO] [stdout] 760 | if let Some(&a) = cx.links.get(&link) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 760 ~ match cx.links.get(&link) { Some(&a) => { [INFO] [stdout] 761 | if a != b_id { [INFO] [stdout] ... [INFO] [stdout] 766 | } [INFO] [stdout] 767 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:792:16 [INFO] [stdout] | [INFO] [stdout] 792 | if let Some(r) = mem::replace(&mut self.has_another, Some(b)) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 792 ~ match mem::replace(&mut self.has_another, Some(b)) { Some(r) => { [INFO] [stdout] 793 | return Some((r, true)); [INFO] [stdout] 794 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:846:16 [INFO] [stdout] | [INFO] [stdout] 846 | if let Some(others) = registry [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ___________________________________| [INFO] [stdout] 847 | || .query(critical_parents_dep, first_version) [INFO] [stdout] 848 | || .expect("an already used dep now error!?") [INFO] [stdout] 849 | || .expect("an already used dep now pending!?") [INFO] [stdout] | ||____________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... | [INFO] [stdout] 869 | | }) [INFO] [stdout] 870 | | .collect::>>() [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 846 ~ match registry [INFO] [stdout] 847 | .query(critical_parents_dep, first_version) [INFO] [stdout] ... [INFO] [stdout] 870 | .collect::>>() [INFO] [stdout] 871 ~ { Some(others) => { [INFO] [stdout] 872 | let mut con = conflicting_activations.clone(); [INFO] [stdout] ... [INFO] [stdout] 903 | return Some(con); [INFO] [stdout] 904 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:957:11 [INFO] [stdout] | [INFO] [stdout] 957 | while let Some(mut frame) = backtrack_stack.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/mod.rs:998:5 [INFO] [stdout] | [INFO] [stdout] 998 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/conflict_cache.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(pid) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/conflict_cache.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ match iter.next() { Some(pid) => { [INFO] [stdout] 79 | if let ConflictStoreTrie::Node(p) = self { [INFO] [stdout] ... [INFO] [stdout] 84 | // Else, we already have a subset of this in the `ConflictStore`. [INFO] [stdout] 85 ~ } _ => { [INFO] [stdout] 86 | // We are at the end of the set we are adding, there are three cases for what to do [INFO] [stdout] ... [INFO] [stdout] 105| *self = ConflictStoreTrie::Leaf(con) [INFO] [stdout] 106~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/context.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some((previous_summary, _)) = prev { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/context.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match prev { Some((previous_summary, _)) => { [INFO] [stdout] 141 | return Err( [INFO] [stdout] 142 | (previous_summary.package_id(), ConflictReason::Semver).into() [INFO] [stdout] 143 | ); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(r) = replace { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 205 ~ match replace { Some(r) => { [INFO] [stdout] 206 | self.used_replacements.insert(summary.package_id(), r); [INFO] [stdout] 207 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:366:24 [INFO] [stdout] | [INFO] [stdout] 366 | if let Err(e) = reqs.require_feature(*key) { [INFO] [stdout] | ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match reqs.require_feature(*key) { Err(e) => { [INFO] [stdout] 367 | return Err(e.into_activate_error(parent, s)); [INFO] [stdout] 368 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | if let Err(e) = reqs.require_value(fv) { [INFO] [stdout] | ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 373 ~ match reqs.require_value(fv) { Err(e) => { [INFO] [stdout] 374 | return Err(e.into_activate_error(parent, s)); [INFO] [stdout] 375 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | if let Err(e) = reqs.require_feature(*feature) { [INFO] [stdout] | ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/dep_cache.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 384 ~ match reqs.require_feature(*feature) { Err(e) => { [INFO] [stdout] 385 | return Err(e.into_activate_error(parent, s)); [INFO] [stdout] 386 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | if let Some(source_id) = version_source.get(&pkg_version) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/encode.rs:432:21 [INFO] [stdout] | [INFO] [stdout] 432 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 430 ~ match version_source.get(&pkg_version) { Some(source_id) => { [INFO] [stdout] 431 | return Some(source_id); [INFO] [stdout] 432 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | if let Some(deps) = self.graph.edge(&from, replace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 443 ~ match self.graph.edge(&from, replace) { Some(deps) => { [INFO] [stdout] 444 | return deps; [INFO] [stdout] 445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | while let Some((mut deps_frame, insertion_time)) = self.data.remove_min() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | if let Some(sibling) = deps_frame.remaining_siblings.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/resolver/types.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 254 ~ match deps_frame.remaining_siblings.next() { Some(sibling) => { [INFO] [stdout] 255 | let parent = Summary::clone(&deps_frame.parent); [INFO] [stdout] 256 | self.data.insert((deps_frame, insertion_time)); [INFO] [stdout] 257 | return Some((just_here_for_the_error_messages, (parent, sibling))); [INFO] [stdout] 258 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:537:16 [INFO] [stdout] | [INFO] [stdout] 537 | if let Some(deps_from_config) = combined.get_mut(url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:551:13 [INFO] [stdout] | [INFO] [stdout] 551 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 537 ~ match combined.get_mut(url) { Some(deps_from_config) => { [INFO] [stdout] 538 | // We want from_config to take precedence for each patched name. [INFO] [stdout] ... [INFO] [stdout] 550 | deps_from_config.extend(from_manifest_pruned); [INFO] [stdout] 551 ~ } _ => { [INFO] [stdout] 552 | combined.insert(url.clone(), deps_from_manifest.clone()); [INFO] [stdout] 553 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:542:24 [INFO] [stdout] | [INFO] [stdout] 542 | if let Some(i) = from_manifest_pruned.iter().position(|dep_from_manifest| { [INFO] [stdout] | ^ -------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________________________| [INFO] [stdout] | | [INFO] [stdout] 543 | | // XXX: should this also take into account version numbers? [INFO] [stdout] 544 | | dep_from_config.name_in_toml() == dep_from_manifest.name_in_toml() [INFO] [stdout] 545 | | }) { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 542 ~ match from_manifest_pruned.iter().position(|dep_from_manifest| { [INFO] [stdout] 543 | // XXX: should this also take into account version numbers? [INFO] [stdout] 544 | dep_from_config.name_in_toml() == dep_from_manifest.name_in_toml() [INFO] [stdout] 545 ~ }) { Some(i) => { [INFO] [stdout] 546 | from_manifest_pruned.swap_remove(i); [INFO] [stdout] 547 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:570:38 [INFO] [stdout] | [INFO] [stdout] 570 | pub fn members_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/workspace.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'gctx> Workspace<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 570 | pub fn members_mut(&mut self) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:601:46 [INFO] [stdout] | [INFO] [stdout] 601 | pub fn default_members_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/workspace.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'gctx> Workspace<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 601 | pub fn default_members_mut(&mut self) -> impl Iterator + use<'_> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:745:16 [INFO] [stdout] | [INFO] [stdout] 745 | if let Some(ref default) = workspace_config.default_members { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 745 ~ match workspace_config.default_members { Some(ref default) => { [INFO] [stdout] 746 | Some(workspace_config.members_paths(default)?) [INFO] [stdout] 747 ~ } _ => { [INFO] [stdout] 748 | None [INFO] [stdout] 749 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1087:24 [INFO] [stdout] | [INFO] [stdout] 1087 | if let Some(edition) = self [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | ____________________________________________| [INFO] [stdout] 1088 | || .members() [INFO] [stdout] 1089 | || .filter(|p| p.manifest_path() != root_manifest) [INFO] [stdout] 1090 | || .map(|p| p.manifest().edition()) [INFO] [stdout] 1091 | || .filter(|&e| e >= Edition::Edition2021) [INFO] [stdout] | ||_______________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1092 | | .max() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1107:21 [INFO] [stdout] | [INFO] [stdout] 1107 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match self [INFO] [stdout] 1088 | .members() [INFO] [stdout] ... [INFO] [stdout] 1092 | .max() [INFO] [stdout] 1093 ~ { Some(edition) => { [INFO] [stdout] 1094 | let resolver = edition.default_resolve_behavior().to_manifest(); [INFO] [stdout] ... [INFO] [stdout] 1106 | )?; [INFO] [stdout] 1107 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1700:45 [INFO] [stdout] | [INFO] [stdout] 1700 | fn local_overlays(&self) -> CargoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/core/workspace.rs:194:6 [INFO] [stdout] | [INFO] [stdout] 194 | impl<'gctx> Workspace<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1700 | fn local_overlays(&self) -> CargoResult> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1700 | fn local_overlays(&self) -> CargoResult + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1920:16 [INFO] [stdout] | [INFO] [stdout] 1920 | if let Some(ws_config) = roots.get(current) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1925:13 [INFO] [stdout] | [INFO] [stdout] 1925 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1920 ~ match roots.get(current) { Some(ws_config) => { [INFO] [stdout] 1921 | if !ws_config.is_excluded(manifest_path) { [INFO] [stdout] ... [INFO] [stdout] 1924 | } [INFO] [stdout] 1925 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1931:12 [INFO] [stdout] | [INFO] [stdout] 1931 | if let Some(ws_root_path) = loader(&ances_manifest_path)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/core/workspace.rs:1933:9 [INFO] [stdout] | [INFO] [stdout] 1933 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1931 ~ match loader(&ances_manifest_path)? { Some(ws_root_path) => { [INFO] [stdout] 1932 | return Ok(Some(ws_root_path)); [INFO] [stdout] 1933 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(table) = manifest [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ______________________________| [INFO] [stdout] 224 | || .get_table_mut(&dep_table) [INFO] [stdout] | ||______________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 225 | | .ok() [INFO] [stdout] 226 | | .and_then(TomlItem::as_table_like_mut) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match manifest [INFO] [stdout] 224 | .get_table_mut(&dep_table) [INFO] [stdout] 225 | .ok() [INFO] [stdout] 226 | .and_then(TomlItem::as_table_like_mut) [INFO] [stdout] 227 ~ { Some(table) => { [INFO] [stdout] 228 | table.sort_values(); [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:365:29 [INFO] [stdout] | [INFO] [stdout] 365 | let mut dependency = if let Some(mut old_dep) = old_dep.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ let mut dependency = match old_dep.clone() { Some(mut old_dep) => { [INFO] [stdout] 366 | if old_dep.name != selected_dep.name { [INFO] [stdout] ... [INFO] [stdout] 378 | } [INFO] [stdout] 379 ~ } _ => { [INFO] [stdout] 380 | selected_dep [INFO] [stdout] 381 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | if let Some(_dep) = find_workspace_dep(dependency.toml_key(), ws.root_manifest()).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 387 | dependency = dependency.set_source(WorkspaceSource::new()); [INFO] [stdout] 388 | } else if let Some(package) = ws.members().find(|p| p.name().as_str() == dependency.name) { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | } else if let Some(package) = ws.members().find(|p| p.name().as_str() == dependency.name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 386 ~ match find_workspace_dep(dependency.toml_key(), ws.root_manifest()).ok() { Some(_dep) => { [INFO] [stdout] 387 | dependency = dependency.set_source(WorkspaceSource::new()); [INFO] [stdout] 388 ~ } _ => { match ws.members().find(|p| p.name().as_str() == dependency.name) { Some(package) => { [INFO] [stdout] 389 | // Only special-case workspaces when the user doesn't provide any extra [INFO] [stdout] ... [INFO] [stdout] 398 | dependency = dependency.set_source(src); [INFO] [stdout] 399 ~ } _ => { [INFO] [stdout] 400 | let latest = [INFO] [stdout] ... [INFO] [stdout] 410 | dependency = dependency.set_source(latest.source.expect("latest always has a source")); [INFO] [stdout] 411 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:1051:8 [INFO] [stdout] | [INFO] [stdout] 1051 | if let Some(version) = &dep.available_version { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_add/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1051 ~ match &dep.available_version { Some(version) => { [INFO] [stdout] 1052 | let mut version = version.clone(); [INFO] [stdout] ... [INFO] [stdout] 1065 | } [INFO] [stdout] 1066 ~ } _ => { [INFO] [stdout] 1067 | "".to_owned() [INFO] [stdout] 1068 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_compile/mod.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 393 | let std_roots = if let Some(crates) = standard_lib::std_crates(gctx, Some(&units)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_compile/mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 393 ~ let std_roots = match standard_lib::std_crates(gctx, Some(&units)) { Some(crates) => { [INFO] [stdout] 394 | let (std_resolve, std_features) = std_resolve_features.as_ref().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 404 | )? [INFO] [stdout] 405 ~ } _ => { [INFO] [stdout] 406 | Default::default() [INFO] [stdout] 407 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | if let Err(e) = Command::new(&browser).args(initial_args).arg(path).status() { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ match Command::new(&browser).args(initial_args).arg(path).status() { Err(e) => { [INFO] [stdout] 149 | shell.warn(format!( [INFO] [stdout] ... [INFO] [stdout] 153 | ))?; [INFO] [stdout] 154 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | if let Err(e) = opener::open(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_doc.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match opener::open(&path) { Err(e) => { [INFO] [stdout] 158 | let e = e.into(); [INFO] [stdout] 159 | crate::display_warning_with_error("couldn't open docs", &e, shell); [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | } else if let Some(dep) = dep { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 148 ~ } else { match dep { Some(dep) => { [INFO] [stdout] 149 | let mut source = map.load(source_id, &HashSet::new())?; [INFO] [stdout] ... [INFO] [stdout] 172 | )? [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | bail!( [INFO] [stdout] ... [INFO] [stdout] 178 | ) [INFO] [stdout] 179 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:308:33 [INFO] [stdout] | [INFO] [stdout] 308 | let target_dir = if let Some(dir) = self.gctx.target_dir()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 309 | dir [INFO] [stdout] 310 | } else if let Ok(td) = TempFileBuilder::new().prefix("cargo-install").tempdir() { [INFO] [stdout] | -------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | } else if let Ok(td) = TempFileBuilder::new().prefix("cargo-install").tempdir() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 308 ~ let target_dir = match self.gctx.target_dir()? { Some(dir) => { [INFO] [stdout] 309 | dir [INFO] [stdout] 310 ~ } _ => { match TempFileBuilder::new().prefix("cargo-install").tempdir() { Ok(td) => { [INFO] [stdout] 311 | let p = td.path().to_owned(); [INFO] [stdout] 312 | td_opt = Some(td); [INFO] [stdout] 313 | Filesystem::new(p) [INFO] [stdout] 314 ~ } _ => { [INFO] [stdout] 315 | needs_cleanup = true; [INFO] [stdout] 316 | Filesystem::new(self.gctx.cwd().join("target-install")) [INFO] [stdout] 317 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:807:12 [INFO] [stdout] | [INFO] [stdout] 807 | if let Ok(true) = is_installed(&pkg, gctx, opts, &rustc, &target, root, dst, force) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_install.rs:809:9 [INFO] [stdout] | [INFO] [stdout] 809 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 807 ~ match is_installed(&pkg, gctx, opts, &rustc, &target, root, dst, force) { Ok(true) => { [INFO] [stdout] 808 | return Ok(Some(pkg)); [INFO] [stdout] 809 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 811 | if let Ok(mut workspace_document) = root_manifest.parse::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 811 ~ match root_manifest.parse::() { Ok(mut workspace_document) => { [INFO] [stdout] 812 | let display_path = get_display_path(&root_manifest_path, &path)?; [INFO] [stdout] ... [INFO] [stdout] 857 | } [INFO] [stdout] 858 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:900:16 [INFO] [stdout] | [INFO] [stdout] 900 | if let Err(e) = cargo_util::ProcessBuilder::new("rustfmt") [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 901 | || .arg(&path_of_source_file) [INFO] [stdout] 902 | || .exec_with_output() [INFO] [stdout] | ||___________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_new.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 900 ~ match cargo_util::ProcessBuilder::new("rustfmt") [INFO] [stdout] 901 | .arg(&path_of_source_file) [INFO] [stdout] 902 | .exec_with_output() [INFO] [stdout] 903 ~ { Err(e) => { [INFO] [stdout] 904 | tracing::warn!("failed to call rustfmt: {:#}", e); [INFO] [stdout] 905 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 569 | if let Ok(repo) = git2::Repository::discover(p.root()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 569 ~ match git2::Repository::discover(p.root()) { Ok(repo) => { [INFO] [stdout] 570 | if let Some(workdir) = repo.workdir() { [INFO] [stdout] ... [INFO] [stdout] 599 | } [INFO] [stdout] 600 ~ } _ => { [INFO] [stdout] 601 | gctx.shell().verbose(|shell| { [INFO] [stdout] 602 | shell.warn(format!("no (git) VCS found for `{}`", p.root().display())) [INFO] [stdout] 603 | })?; [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | if let Some(workdir) = repo.workdir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 570 ~ match repo.workdir() { Some(workdir) => { [INFO] [stdout] 571 | debug!("found a git repo at {:?}", workdir); [INFO] [stdout] ... [INFO] [stdout] 598 | })?; [INFO] [stdout] 599 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:700:16 [INFO] [stdout] | [INFO] [stdout] 700 | if let Ok(sub_repo) = submodule.open() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_package.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 700 ~ match submodule.open() { Ok(sub_repo) => { [INFO] [stdout] 701 | status_submodules(&sub_repo, dirty_files)?; [INFO] [stdout] 702 | collect_statuses(&sub_repo, dirty_files)?; [INFO] [stdout] 703 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if let Err(e) = cmd.exec() { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 150 ~ match cmd.exec() { Err(e) => { [INFO] [stdout] 151 | let code = fail_fast_code(&e); [INFO] [stdout] ... [INFO] [stdout] 160 | } [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | if let Err(e) = p.exec() { [INFO] [stdout] | ^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_test.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 286 ~ match p.exec() { Err(e) => { [INFO] [stdout] 287 | let code = fail_fast_code(&e); [INFO] [stdout] ... [INFO] [stdout] 296 | } [INFO] [stdout] 297 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let Ok(unused_id) = [INFO] [stdout] | ________________^ [INFO] [stdout] 126 | | PackageIdSpec::query_str(name, previous_resolve.unused_patches().iter().cloned()) [INFO] [stdout] | |_________________--------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match PackageIdSpec::query_str(name, previous_resolve.unused_patches().iter().cloned()) [INFO] [stdout] 126 ~ { Ok(unused_id) => { [INFO] [stdout] 127 | to_avoid.insert(unused_id); [INFO] [stdout] 128 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:501:32 [INFO] [stdout] | [INFO] [stdout] 501 | let possibilities = if let Some(query) = diff.alternatives_query() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ let possibilities = match diff.alternatives_query() { Some(query) => { [INFO] [stdout] 502 | loop { [INFO] [stdout] ... [INFO] [stdout] 509 | } [INFO] [stdout] 510 ~ } _ => { [INFO] [stdout] 511 | vec![] [INFO] [stdout] 512 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:558:32 [INFO] [stdout] | [INFO] [stdout] 558 | let possibilities = if let Some(query) = diff.alternatives_query() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 558 ~ let possibilities = match diff.alternatives_query() { Some(query) => { [INFO] [stdout] 559 | loop { [INFO] [stdout] ... [INFO] [stdout] 566 | } [INFO] [stdout] 567 ~ } _ => { [INFO] [stdout] 568 | vec![] [INFO] [stdout] 569 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:653:32 [INFO] [stdout] | [INFO] [stdout] 653 | let possibilities = if let Some(query) = diff.alternatives_query() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/cargo_update.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 653 ~ let possibilities = match diff.alternatives_query() { Some(query) => { [INFO] [stdout] 654 | loop { [INFO] [stdout] ... [INFO] [stdout] 661 | } [INFO] [stdout] 662 ~ } _ => { [INFO] [stdout] 663 | vec![] [INFO] [stdout] 664 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:613:28 [INFO] [stdout] | [INFO] [stdout] 613 | if let Some(alt) = msrv_deps [INFO] [stdout] | ^ --------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________________________| [INFO] [stdout] | | [INFO] [stdout] 614 | | .iter() [INFO] [stdout] 615 | | .map(|s| s.as_summary()) [INFO] [stdout] 616 | | .filter(|summary| { [INFO] [stdout] ... | [INFO] [stdout] 621 | | }) [INFO] [stdout] 622 | | .max_by_key(|s| s.package_id()) [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:635:25 [INFO] [stdout] | [INFO] [stdout] 635 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 613 ~ match msrv_deps [INFO] [stdout] 614 | .iter() [INFO] [stdout] ... [INFO] [stdout] 622 | .max_by_key(|s| s.package_id()) [INFO] [stdout] 623 ~ { Some(alt) => { [INFO] [stdout] 624 | if let Some(rust_version) = alt.rust_version() { [INFO] [stdout] ... [INFO] [stdout] 634 | } [INFO] [stdout] 635 ~ } _ => { [INFO] [stdout] 636 | String::new() [INFO] [stdout] 637 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | if let Ok(pkg_id) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 653 | | PackageId::try_new(dep.package_name(), &version[1..], source.source_id()) [INFO] [stdout] | |_____________________------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 652 ~ match PackageId::try_new(dep.package_name(), &version[1..], source.source_id()) [INFO] [stdout] 653 ~ { Ok(pkg_id) => { [INFO] [stdout] 654 | source.invalidate_cache(); [INFO] [stdout] ... [INFO] [stdout] 661 | } [INFO] [stdout] 662 ~ } _ => { [INFO] [stdout] 663 | false [INFO] [stdout] 664 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | return if let Some(dep) = dep { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/common_for_install_and_uninstall.rs:707:5 [INFO] [stdout] | [INFO] [stdout] 707 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 705 ~ return match dep { Some(dep) => { [INFO] [stdout] 706 | select_dep_pkg(source, dep, gctx, false, current_rust_version) [INFO] [stdout] 707 ~ } _ => { [INFO] [stdout] 708 | let candidates = list_all(source)?; [INFO] [stdout] ... [INFO] [stdout] 726 | Ok(pkg.clone()) [INFO] [stdout] 727 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:463:16 [INFO] [stdout] | [INFO] [stdout] 463 | if let Some(features) = parent [INFO] [stdout] | ________________^ [INFO] [stdout] 464 | | .entry("features") [INFO] [stdout] 465 | | .or_insert(toml_edit::table()) [INFO] [stdout] | | ------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 466 | | .as_table_like_mut() [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match parent [INFO] [stdout] 464 | .entry("features") [INFO] [stdout] 465 | .or_insert(toml_edit::table()) [INFO] [stdout] 466 | .as_table_like_mut() [INFO] [stdout] 467 ~ { Some(features) => { [INFO] [stdout] 468 | let activate_dep = format!("dep:{dep_name_in_toml}"); [INFO] [stdout] ... [INFO] [stdout] 504 | } [INFO] [stdout] 505 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 722 | while let Some(arg) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/fix.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/lockfile.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if let Ok(true) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/lockfile.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match res { Ok(true) => { [INFO] [stdout] 213 | return true; [INFO] [stdout] 214 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | if let Ok(pkg) = ws.load(&path.join("Cargo.toml")) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 517 ~ match ws.load(&path.join("Cargo.toml")) { Ok(pkg) => { [INFO] [stdout] 518 | return Some(pkg); [INFO] [stdout] 519 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:589:15 [INFO] [stdout] | [INFO] [stdout] 589 | while let Some(member) = path_deps.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | if let Some(pkg) = path_pkg(node.source_id()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/resolve.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 657 ~ match path_pkg(node.source_id()) { Some(pkg) => { [INFO] [stdout] 658 | if pkg.package_id() != node { [INFO] [stdout] 659 | avoid_locking.insert(node); [INFO] [stdout] 660 | } [INFO] [stdout] 661 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | if let Ok(path) = try_canonicalize(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 126 ~ match try_canonicalize(path) { Ok(path) => { [INFO] [stdout] 127 | to_remove.remove(&path); [INFO] [stdout] 128 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | if let Ok(pkg) = packages.get_one(pkg) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 135 ~ match packages.get_one(pkg) { Ok(pkg) => { [INFO] [stdout] 136 | drop(fs::remove_dir_all(pkg.root())); [INFO] [stdout] 137 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 467 | let lib = if let Some(target) = &me.lib { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/ops/vendor.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 467 ~ let lib = match &me.lib { Some(target) => { [INFO] [stdout] 468 | crate::util::toml::prepare_target_for_publish( [INFO] [stdout] ... [INFO] [stdout] 473 | )? [INFO] [stdout] 474 ~ } _ => { [INFO] [stdout] 475 | None [INFO] [stdout] 476 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/known_hosts.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | if let Some(index) = latent_errors [INFO] [stdout] | ^ ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________| [INFO] [stdout] | | [INFO] [stdout] 481 | | .iter() [INFO] [stdout] 482 | | .position(|e| matches!(e, KnownHostError::HostKeyHasChanged { .. })) [INFO] [stdout] | |________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/known_hosts.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 480 ~ match latent_errors [INFO] [stdout] 481 | .iter() [INFO] [stdout] 482 | .position(|e| matches!(e, KnownHostError::HostKeyHasChanged { .. })) [INFO] [stdout] 483 ~ { Some(index) => { [INFO] [stdout] 484 | return Err(latent_errors.remove(index)); [INFO] [stdout] 485 ~ } _ => { [INFO] [stdout] 486 | // Otherwise, we take the first error (which we expect to be [INFO] [stdout] 487 | // a CertAuthority error). [INFO] [stdout] 488 | Err(latent_errors.pop().unwrap()) [INFO] [stdout] 489 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | while let Some(root) = root.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | if let Some((_, objs)) = find_in(&tasks, |t| progress_by_id(resolve_objects, t)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 136 | find_in(&tasks, |t| progress_by_id(read_pack_bytes, t)).and_then(|read| { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 160 | find_in(&tasks, |t| progress_by_id(remote_progress, t)) [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } else if let Some((objs, read_pack)) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | } else if let Some((action, remote)) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/oxide.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 124 ~ match find_in(&tasks, |t| progress_by_id(resolve_objects, t)) { Some((_, objs)) => { [INFO] [stdout] 125 | // Phase 3: Resolving deltas. [INFO] [stdout] ... [INFO] [stdout] 134 | )?; [INFO] [stdout] 135 ~ } _ => { match find_in(&tasks, |t| progress_by_id(read_pack_bytes, t)).and_then(|read| { [INFO] [stdout] 136 | find_in(&tasks, |t| progress_by_id(delta_index_objects, t)) [INFO] [stdout] 137 | .map(|delta| (delta.1, read.1)) [INFO] [stdout] 138 | }) [INFO] [stdout] 139 ~ { Some((objs, read_pack)) => { [INFO] [stdout] 140 | // Phase 2: Receiving objects. [INFO] [stdout] ... [INFO] [stdout] 157 | )?; [INFO] [stdout] 158 ~ } _ => { match find_in(&tasks, |t| progress_by_id(remote_progress, t)) [INFO] [stdout] 159 ~ { Some((action, remote)) => { [INFO] [stdout] 160 | if !is_shallow { [INFO] [stdout] ... [INFO] [stdout] 170 | } [INFO] [stdout] 171 ~ } _ => {}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/source.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(src) = self.path_source.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/source.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match self.path_source.as_mut() { Some(src) => { [INFO] [stdout] 251 | src.query(dep, kind, f) [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | Poll::Pending [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(rev) = resolve_ref(reference, &db.repo).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match resolve_ref(reference, &db.repo).ok() { Some(rev) => { [INFO] [stdout] 122 | return Ok((db, rev)); [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:770:15 [INFO] [stdout] | [INFO] [stdout] 770 | } else if let Some(e) = err.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 796 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 770 ~ } else { match err.downcast_ref::() { Some(e) => { [INFO] [stdout] 771 | match e.class() { [INFO] [stdout] ... [INFO] [stdout] 795 | } [INFO] [stdout] 796 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:1321:12 [INFO] [stdout] | [INFO] [stdout] 1321 | if let Ok(path) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/git/utils.rs:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1321 ~ match path { Ok(path) => { [INFO] [stdout] 1322 | match paths::remove_file(&path) { [INFO] [stdout] ... [INFO] [stdout] 1327 | } [INFO] [stdout] 1328 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/overlay.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(collision) = package_collision { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/overlay.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match package_collision { Some(collision) => { [INFO] [stdout] 76 | std::task::Poll::Ready(Err(anyhow::anyhow!( [INFO] [stdout] ... [INFO] [stdout] 80 | ))) [INFO] [stdout] 81 ~ } _ => { [INFO] [stdout] 82 | std::task::Poll::Ready(Ok(())) [INFO] [stdout] 83 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | if let Some(repo) = git_repo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 519 ~ match git_repo { Some(repo) => { [INFO] [stdout] 520 | return list_files_gix(pkg, &repo, &filter, gctx); [INFO] [stdout] 521 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:1013:16 [INFO] [stdout] | [INFO] [stdout] 1013 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/path.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1013 ~ match result { Err(err) => { [INFO] [stdout] 1014 | if source_id.is_git() { [INFO] [stdout] ... [INFO] [stdout] 1023 | } [INFO] [stdout] 1024 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 432 | if let Err(e) = fs::write(&config_json_path, &raw_data) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:434:21 [INFO] [stdout] | [INFO] [stdout] 434 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 432 ~ match fs::write(&config_json_path, &raw_data) { Err(e) => { [INFO] [stdout] 433 | tracing::debug!("failed to write config.json cache: {}", e); [INFO] [stdout] 434 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:621:16 [INFO] [stdout] | [INFO] [stdout] 621 | if let Some(config) = self.config_cached()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/http_remote.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 621 ~ match self.config_cached()? { Some(config) => { [INFO] [stdout] 622 | self.auth_required = config.auth_required; [INFO] [stdout] 623 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/cargo/sources/registry/http_remote.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | crate::try_old_curl_http2_pipewait!(self.multiplexing, handle); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `$crate::try_old_curl` which comes from the expansion of the macro `crate::try_old_curl_http2_pipewait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'b` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/mod.rs:341:27 [INFO] [stdout] | [INFO] [stdout] 341 | ) -> Poll + 'b>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/sources/registry/index/mod.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | impl<'gctx> RegistryIndex<'gctx> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | load: &mut dyn RegistryData, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 341 | ) -> Poll + 'b + use<'a, 'b>>> [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | let last_index_update = if let Some(update) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 184 ~ let last_index_update = match iter.next() { Some(update) => { [INFO] [stdout] 185 | str::from_utf8(update)? [INFO] [stdout] 186 ~ } _ => { [INFO] [stdout] 187 | bail!("malformed file"); [INFO] [stdout] 188 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | while let Some(version) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if let Err(e) = fs::write(cache_path, value) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 258 ~ match fs::write(cache_path, value) { Err(e) => { [INFO] [stdout] 259 | tracing::info!(?cache_path, "failed to write cache: {e}"); [INFO] [stdout] 260 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if let Err(e) = fs::remove_file(cache_path) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/sources/registry/index/cache.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match fs::remove_file(cache_path) { Err(e) => { [INFO] [stdout] 268 | if e.kind() != io::ErrorKind::NotFound { [INFO] [stdout] 269 | tracing::debug!(?cache_path, "failed to remove from cache: {e}"); [INFO] [stdout] 270 | } [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | if let Some(registries) = gctx.values()?.get("registries") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 296 ~ match gctx.values()?.get("registries") { Some(registries) => { [INFO] [stdout] 297 | let (registries, _) = registries.table("registries")?; [INFO] [stdout] ... [INFO] [stdout] 305 | } [INFO] [stdout] 306 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | if let Some(v) = value.table(&format!("registries.{name}"))?.0.get("index") { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 299 ~ match value.table(&format!("registries.{name}"))?.0.get("index") { Some(v) => { [INFO] [stdout] 300 | let (v, _) = v.string(&format!("registries.{name}.index"))?; [INFO] [stdout] ... [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if let Ok(alias) = gctx.get::>(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/auth/mod.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 347 ~ match gctx.get::>(&key) { Ok(alias) => { [INFO] [stdout] 348 | tracing::debug!("resolving credential alias '{key}' -> '{alias:?}'"); [INFO] [stdout] ... [INFO] [stdout] 357 | } [INFO] [stdout] 358 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(client) = jobserver::Client::from_env() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 271 ~ match jobserver::Client::from_env() { Some(client) => { [INFO] [stdout] 272 | GLOBAL_JOBSERVER = Box::into_raw(Box::new(client)); [INFO] [stdout] 273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | } else if let Some(val) = &self.build_config()?.target_dir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 620 ~ } else { match &self.build_config()?.target_dir { Some(val) => { [INFO] [stdout] 621 | let path = val.resolve_path(self); [INFO] [stdout] ... [INFO] [stdout] 631 | Ok(Some(Filesystem::new(path))) [INFO] [stdout] 632 ~ } _ => { [INFO] [stdout] 633 | Ok(None) [INFO] [stdout] 634 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1543:12 [INFO] [stdout] | [INFO] [stdout] 1543 | if let Ok(possible_handle) = same_file::Handle::from_path(&possible) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1573:9 [INFO] [stdout] | [INFO] [stdout] 1573 | } else if possible_with_extension.exists() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1543 ~ match same_file::Handle::from_path(&possible) { Ok(possible_handle) => { [INFO] [stdout] 1544 | if warn { [INFO] [stdout] ... [INFO] [stdout] 1572 | Ok(Some(possible)) [INFO] [stdout] 1573 ~ } _ => if possible_with_extension.exists() { [INFO] [stdout] 1574 | Ok(Some(possible_with_extension)) [INFO] [stdout] 1575 | } else { [INFO] [stdout] 1576 | Ok(None) [INFO] [stdout] 1577 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1545:20 [INFO] [stdout] | [INFO] [stdout] 1545 | if let Ok(possible_with_extension_handle) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1546 | | same_file::Handle::from_path(&possible_with_extension) [INFO] [stdout] | |_____________________-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1561:17 [INFO] [stdout] | [INFO] [stdout] 1561 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1545 ~ match same_file::Handle::from_path(&possible_with_extension) [INFO] [stdout] 1546 ~ { Ok(possible_with_extension_handle) => { [INFO] [stdout] 1547 | // We don't want to print a warning if the version [INFO] [stdout] ... [INFO] [stdout] 1559 | } [INFO] [stdout] 1560 ~ } _ => { [INFO] [stdout] 1561 | self.shell().warn(format!( [INFO] [stdout] ... [INFO] [stdout] 1567 | )?; [INFO] [stdout] 1568 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1587:16 [INFO] [stdout] | [INFO] [stdout] 1587 | if let Some(path) = self.get_file_path(¤t.join(".cargo"), "config", true)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1590:13 [INFO] [stdout] | [INFO] [stdout] 1590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1587 ~ match self.get_file_path(¤t.join(".cargo"), "config", true)? { Some(path) => { [INFO] [stdout] 1588 | walk(&path)?; [INFO] [stdout] 1589 | stash.insert(path); [INFO] [stdout] 1590 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1608:12 [INFO] [stdout] | [INFO] [stdout] 1608 | if let Some(index) = self.get_string(&format!("registries.{}.index", registry))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/mod.rs:1615:9 [INFO] [stdout] | [INFO] [stdout] 1615 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1608 ~ match self.get_string(&format!("registries.{}.index", registry))? { Some(index) => { [INFO] [stdout] 1609 | self.resolve_registry_index(&index).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] 1614 | }) [INFO] [stdout] 1615 ~ } _ => { [INFO] [stdout] 1616 | bail!( [INFO] [stdout] ... [INFO] [stdout] 1619 | ); [INFO] [stdout] 1620 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/context/target.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if let Ok(target_applies_to_host) = gctx.get::("target-applies-to-host") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/context/target.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match gctx.get::("target-applies-to-host") { Ok(target_applies_to_host) => { [INFO] [stdout] 76 | Ok(target_applies_to_host) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | Ok(!gctx.cli_unstable().host_config) [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/util/context/target.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> CargoResult + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/util/context/target.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | key: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 233 | ) -> CargoResult + 'a + use<'a>> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:300:15 [INFO] [stdout] | [INFO] [stdout] 300 | while let Ok((client, _)) = self.listener.accept() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if let Err(e) = client.read_to_string(&mut s) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/diagnostic_server.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 306 ~ match client.read_to_string(&mut s) { Err(e) => { [INFO] [stdout] 307 | warn!("diagnostic server failed to read: {}", e); [INFO] [stdout] 308 ~ } _ => { [INFO] [stdout] 309 | match serde_json::from_str(&s) { [INFO] [stdout] ... [INFO] [stdout] 312 | } [INFO] [stdout] 313 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(f) = self.f.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match self.f.take() { Some(f) => { [INFO] [stdout] 106 | if let Err(e) = unlock(&f) { [INFO] [stdout] 107 | tracing::warn!("failed to release lock: {e:?}"); [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | if let Err(e) = unlock(&f) { [INFO] [stdout] | ^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/flock.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match unlock(&f) { Err(e) => { [INFO] [stdout] 107 | tracing::warn!("failed to release lock: {e:?}"); [INFO] [stdout] 108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cargo/util/graph.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn edges(&self, from: &N) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cargo/util/graph.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn edges(&self, from: &N) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 40 | pub fn edges(&self, from: &N) -> impl Iterator + use<'_, N, E> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | while let Ok((client, _)) = self.listener.accept() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(thread) = client.thread.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/lockserver.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 141 ~ match client.thread.take() { Some(thread) => { [INFO] [stdout] 142 | drop(thread.join()); [INFO] [stdout] 143 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/network/sleep.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | while let Some(next) = self.heap.peek() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/network/sleep.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(ref mut s) = self.state { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.state { Some(ref mut s) => { [INFO] [stdout] 234 | s.clear(); [INFO] [stdout] 235 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:326:16 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(n) = self.gctx.shell().err_width().progress_max_width() { [INFO] [stdout] | ^^^^^^^^^^^^^^-----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/progress.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 326 ~ match self.gctx.shell().err_width().progress_max_width() { Some(n) => { [INFO] [stdout] 327 | self.format.max_width = n; [INFO] [stdout] 328 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1134:16 [INFO] [stdout] | [INFO] [stdout] 1134 | if let Some(edition_msrv) = edition.first_version() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1145:13 [INFO] [stdout] | [INFO] [stdout] 1145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1134 ~ match edition.first_version() { Some(edition_msrv) => { [INFO] [stdout] 1135 | let edition_msrv = RustVersion::try_from(edition_msrv).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1144 | } [INFO] [stdout] 1145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1149:31 [INFO] [stdout] | [INFO] [stdout] 1149 | let msrv_edition = if let Some(pkg_msrv) = &rust_version { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml/mod.rs:1162:9 [INFO] [stdout] | [INFO] [stdout] 1162 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1149 ~ let msrv_edition = match &rust_version { Some(pkg_msrv) => { [INFO] [stdout] 1150 | Edition::ALL [INFO] [stdout] ... [INFO] [stdout] 1161 | .copied() [INFO] [stdout] 1162 ~ } _ => { [INFO] [stdout] 1163 | None [INFO] [stdout] 1164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/dependency.rs:582:16 [INFO] [stdout] | [INFO] [stdout] 582 | if let Some(new_features) = self.features.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/dependency.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 582 ~ match self.features.as_ref() { Some(new_features) => { [INFO] [stdout] 583 | let mut features = table [INFO] [stdout] ... [INFO] [stdout] 601 | overwrite_value(table, "features", features); [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | table.remove("features"); [INFO] [stdout] 604 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(toml_edit::Item::Table(feature_table)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 438 | | self.data.as_table_mut().get_mut("features") [INFO] [stdout] | |_____________---------__________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 437 ~ match self.data.as_table_mut().get_mut("features") [INFO] [stdout] 438 ~ { Some(toml_edit::Item::Table(feature_table)) => { [INFO] [stdout] 439 | for (_feature, mut feature_values) in feature_table.iter_mut() { [INFO] [stdout] ... [INFO] [stdout] 450 | } [INFO] [stdout] 451 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:480:16 [INFO] [stdout] | [INFO] [stdout] 480 | if let toml_edit::Item::Table(tbl) = tbl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 480 ~ match tbl { toml_edit::Item::Table(tbl) => { [INFO] [stdout] 481 | if let Some(dep_item) = tbl.get(dep_key) { [INFO] [stdout] ... [INFO] [stdout] 492 | } [INFO] [stdout] 493 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:481:20 [INFO] [stdout] | [INFO] [stdout] 481 | if let Some(dep_item) = tbl.get(dep_key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/toml_mut/manifest.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 481 ~ match tbl.get(dep_key) { Some(dep_item) => { [INFO] [stdout] 482 | let optional = dep_item [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] 492 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cargo/util/vcs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let Ok(repo) = GitRepo::discover(path, cwd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cargo/util/vcs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match GitRepo::discover(path, cwd) { Ok(repo) => { [INFO] [stdout] 14 | // Don't check if the working directory itself is ignored. [INFO] [stdout] ... [INFO] [stdout] 19 | } [INFO] [stdout] 20 ~ } _ => { [INFO] [stdout] 21 | false [INFO] [stdout] 22 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 178 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating src/bin/cargo/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, None) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 391 | ($tc_result:ident, $pkg:expr_2021, $which:expr, $actual:expr, None) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:391:50 [INFO] [stdout] | [INFO] [stdout] 391 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, None) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 391 | ($tc_result:ident, $pkg:expr, $which:expr_2021, $actual:expr, None) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:391:64 [INFO] [stdout] | [INFO] [stdout] 391 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, None) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 391 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr_2021, None) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr_2021, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:394:50 [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr_2021, $actual:expr, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:394:64 [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:394:80 [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 394 | ($tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:397:39 [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr_2021, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:397:52 [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr_2021, $actual:expr, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:397:66 [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr, $actual:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testsuite/old_cargos.rs:397:82 [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 397 | (= $tc_result:ident, $pkg:expr, $which:expr, $actual:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/clean.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 661 | if let Some(e) = walker.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/clean.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 661 ~ match walker.next() { Some(e) => { [INFO] [stdout] 662 | panic!("{:?} was not cleaned", e.path()); [INFO] [stdout] 663 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/clean.rs:716:8 [INFO] [stdout] | [INFO] [stdout] 716 | if let Some(e) = walker.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/clean.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 716 ~ match walker.next() { Some(e) => { [INFO] [stdout] 717 | panic!("{:?} was not cleaned", e.path()); [INFO] [stdout] 718 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/clean.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 771 | if let Some(e) = walker.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/clean.rs:773:5 [INFO] [stdout] | [INFO] [stdout] 773 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 771 ~ match walker.next() { Some(e) => { [INFO] [stdout] 772 | panic!("{:?} was not cleaned", e.path()); [INFO] [stdout] 773 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/freshness.rs:2077:16 [INFO] [stdout] | [INFO] [stdout] 2077 | if let Err(e) = filetime::set_file_times(entry.path(), trunc_atime, trunc_mtime) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/freshness.rs:2086:13 [INFO] [stdout] | [INFO] [stdout] 2086 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2077 ~ match filetime::set_file_times(entry.path(), trunc_atime, trunc_mtime) { Err(e) => { [INFO] [stdout] 2078 | // Windows doesn't allow changing filetimes on some things [INFO] [stdout] ... [INFO] [stdout] 2085 | } [INFO] [stdout] 2086 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/git.rs:2845:16 [INFO] [stdout] | [INFO] [stdout] 2845 | if let Ok((mut socket, _)) = listener.accept() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/git.rs:2847:13 [INFO] [stdout] | [INFO] [stdout] 2847 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2845 ~ match listener.accept() { Ok((mut socket, _)) => { [INFO] [stdout] 2846 | drop(socket.write_all(b"foo\r\n")); [INFO] [stdout] 2847 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/list_availables.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | if let ExpectedSnapshots { [INFO] [stdout] | ________^ [INFO] [stdout] 153 | | target: ProjectExpected { [INFO] [stdout] 154 | | empty: Some(target), [INFO] [stdout] 155 | | .. [INFO] [stdout] 156 | | }, [INFO] [stdout] 157 | | .. [INFO] [stdout] 158 | | } = expected [INFO] [stdout] | |_________-------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/list_availables.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match expected [INFO] [stdout] 153 ~ { ExpectedSnapshots { [INFO] [stdout] 154 + target: ProjectExpected { [INFO] [stdout] 155 + empty: Some(target), [INFO] [stdout] 156 + .. [INFO] [stdout] 157 + }, [INFO] [stdout] 158 + .. [INFO] [stdout] 159 ~ } => { [INFO] [stdout] 160 | empty_project [INFO] [stdout] ... [INFO] [stdout] 164 | .run(); [INFO] [stdout] 165 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/old_cargos.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 409 | if let Some(ProcessError { [INFO] [stdout] | ________________^ [INFO] [stdout] 410 | | stderr: Some(stderr), [INFO] [stdout] 411 | | .. [INFO] [stdout] 412 | | }) = err.downcast_ref::() [INFO] [stdout] | |__________________---______________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/old_cargos.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match err.downcast_ref::() [INFO] [stdout] 410 ~ { Some(ProcessError { [INFO] [stdout] 411 + stderr: Some(stderr), [INFO] [stdout] 412 + .. [INFO] [stdout] 413 ~ }) => { [INFO] [stdout] 414 | let stderr = std::str::from_utf8(stderr).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 420 | } [INFO] [stdout] 421 ~ } _ => { [INFO] [stdout] 422 | panic!("{} unexpected error {}", toolchain, err); [INFO] [stdout] 423 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/package.rs:2589:12 [INFO] [stdout] | [INFO] [stdout] 2589 | if let Err(e) = File::create(&test_path) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/package.rs:2602:9 [INFO] [stdout] | [INFO] [stdout] 2602 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2589 ~ match File::create(&test_path) { Err(e) => { [INFO] [stdout] 2590 | // write to stderr directly to avoid output from being captured [INFO] [stdout] ... [INFO] [stdout] 2601 | return; [INFO] [stdout] 2602 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/testsuite/ssh.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if let Err(e) = process("ssh-agent") [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________| [INFO] [stdout] 95 | || .args(&["-k", "-a"]) [INFO] [stdout] 96 | || .arg(&self.sock) [INFO] [stdout] 97 | || .env("SSH_AGENT_PID", &self.pid) [INFO] [stdout] 98 | || .exec_with_output() [INFO] [stdout] | ||_______________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/testsuite/ssh.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match process("ssh-agent") [INFO] [stdout] 95 | .args(&["-k", "-a"]) [INFO] [stdout] ... [INFO] [stdout] 98 | .exec_with_output() [INFO] [stdout] 99 ~ { Err(e) => { [INFO] [stdout] 100 | eprintln!("failed to stop ssh-agent: {e:?}"); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `testsuite` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/testsuite/old_cargos.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:391:32 [INFO] [stderr] | [INFO] [stderr] 391 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, None) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:391:48 [INFO] [stderr] | [INFO] [stderr] 391 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, None) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:391:66 [INFO] [stderr] | [INFO] [stderr] 391 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, None) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:394:32 [INFO] [stderr] | [INFO] [stderr] 394 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:394:48 [INFO] [stderr] | [INFO] [stderr] 394 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:394:66 [INFO] [stderr] | [INFO] [stderr] 394 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:394:85 [INFO] [stderr] | [INFO] [stderr] 394 | ($tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:397:34 [INFO] [stderr] | [INFO] [stderr] 397 | (= $tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:397:50 [INFO] [stderr] | [INFO] [stderr] 397 | (= $tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:397:68 [INFO] [stderr] | [INFO] [stderr] 397 | (= $tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testsuite/old_cargos.rs:397:87 [INFO] [stderr] | [INFO] [stderr] 397 | (= $tc_result:ident, $pkg:expr_2021, $which:expr_2021, $actual:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Fixed src/bin/cargo/cli.rs (1 fix) [INFO] [stderr] Fixed src/bin/cargo/commands/remove.rs (1 fix) [INFO] [stderr] Fixed src/bin/cargo/commands/install.rs (2 fixes) [INFO] [stderr] Fixed src/bin/cargo/commands/build.rs (1 fix) [INFO] [stderr] Migrating tests/build-std/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling cargo v0.82.0 (/tmp/fixit) [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[E0597]: `pkg` does not live long enough [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 337 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 338 | pkg: PackageId, [INFO] [stdout] | --- binding `pkg` declared here [INFO] [stdout] 339 | ) -> impl Iterator)> { [INFO] [stdout] 340 | self.graph.edges(&pkg).map(|(id, deps)| (*id, deps)) [INFO] [stdout] | -----------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `pkg` is borrowed for `'1` [INFO] [stdout] 341 | } [INFO] [stdout] | - `pkg` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `pkg` does not live long enough [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 346 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 347 | pkg: PackageId, [INFO] [stdout] | --- binding `pkg` declared here [INFO] [stdout] 348 | ) -> impl Iterator { [INFO] [stdout] 349 | self.graph.edges(&pkg).filter_map(|(id, deps)| { [INFO] [stdout] | -----------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `pkg` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 354 | } [INFO] [stdout] | - `pkg` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `pkg` does not live long enough [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 337 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 338 | pkg: PackageId, [INFO] [stdout] | --- binding `pkg` declared here [INFO] [stdout] 339 | ) -> impl Iterator)> { [INFO] [stdout] 340 | self.graph.edges(&pkg).map(|(id, deps)| (*id, deps)) [INFO] [stdout] | -----------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `pkg` is borrowed for `'1` [INFO] [stdout] 341 | } [INFO] [stdout] | - `pkg` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `pkg` does not live long enough [INFO] [stdout] --> src/cargo/core/resolver/resolve.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 346 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 347 | pkg: PackageId, [INFO] [stdout] | --- binding `pkg` declared here [INFO] [stdout] 348 | ) -> impl Iterator { [INFO] [stdout] 349 | self.graph.edges(&pkg).filter_map(|(id, deps)| { [INFO] [stdout] | -----------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `pkg` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 354 | } [INFO] [stdout] | - `pkg` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setsid` is unsafe and requires unsafe block [INFO] [stdout] --> src/cargo/util/job.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | libc::setsid(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cargo/util/job.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn setup() -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::setsid` is unsafe and requires unsafe block [INFO] [stdout] --> src/cargo/util/job.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | libc::setsid(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [WARN] too many lines in the log, truncating it