[INFO] fetching crate omnicli 0.0.26... [INFO] checking omnicli-0.0.26 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate omnicli 0.0.26 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate omnicli 0.0.26 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] started tweaking crates.io crate omnicli 0.0.26 [INFO] finished tweaking crates.io crate omnicli 0.0.26 [INFO] tweaked toml for crates.io crate omnicli 0.0.26 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate omnicli 0.0.26 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af6fd5b2b9ccca10594e2404bf8675645c8af4cbd97f65d05afd29c8b75f446e [INFO] running `Command { std: "docker" "start" "-a" "af6fd5b2b9ccca10594e2404bf8675645c8af4cbd97f65d05afd29c8b75f446e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af6fd5b2b9ccca10594e2404bf8675645c8af4cbd97f65d05afd29c8b75f446e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6fd5b2b9ccca10594e2404bf8675645c8af4cbd97f65d05afd29c8b75f446e", kill_on_drop: false }` [INFO] [stdout] af6fd5b2b9ccca10594e2404bf8675645c8af4cbd97f65d05afd29c8b75f446e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 6b2fa109ddf0710cc7f1a0a1f073232623791d4bd0018160f7dad0c5f4916bfc [INFO] running `Command { std: "docker" "start" "-a" "6b2fa109ddf0710cc7f1a0a1f073232623791d4bd0018160f7dad0c5f4916bfc", 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] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling openssl-src v300.3.2+3.3.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling petname v2.0.2 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking requestty-ui v0.5.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking shared_child v1.0.1 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking requestty v0.5.0 [INFO] [stderr] Checking term_cursor v0.2.1 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking self-replace v1.5.0 [INFO] [stderr] Checking gethostname v0.5.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking fs4 v0.9.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking machine-uid v0.5.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking normalize-path v0.2.1 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking pest v2.7.12 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling omnicli v0.0.26 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking imara-diff v0.1.7 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking git-url-parse v0.4.5 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking node-semver v2.1.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking zip-extract v0.2.1 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking mockito v1.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `omni` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/internal/user_interface/print.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/internal/user_interface/print.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | ($message: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/internal/user_interface/print.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($message: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/internal/user_interface/print.rs:41:6 [INFO] [stderr] | [INFO] [stderr] 41 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | ($message: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/internal/user_interface/print.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:73:26 [INFO] [stderr] | [INFO] [stderr] 73 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:93:6 [INFO] [stderr] | [INFO] [stderr] 93 | ($message: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/internal/user_interface/print.rs:110:6 [INFO] [stderr] | [INFO] [stderr] 110 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:110:26 [INFO] [stderr] | [INFO] [stderr] 110 | ($message:expr_2021, $cmd: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 10 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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/internal/user_interface/print.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | ($message: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] 22 | ($message: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/internal/user_interface/print.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | ($message: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] 29 | ($message: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/internal/user_interface/print.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | ($message:expr, $cmd: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] 41 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | ($message:expr, $cmd: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] 41 | ($message:expr, $cmd: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/internal/user_interface/print.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | ($message: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] 56 | ($message: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/internal/user_interface/print.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | ($message:expr, $cmd: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] 73 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | ($message:expr, $cmd: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] 73 | ($message:expr, $cmd: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/internal/user_interface/print.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | ($message: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] 93 | ($message: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/internal/user_interface/print.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | ($message:expr, $cmd: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] 110 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | ($message:expr, $cmd: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] 110 | ($message:expr, $cmd:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/commands/base.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | std::env::set_var("OMNI_SUBCOMMAND", name.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 311 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 312 ~ unsafe { std::env::set_var("OMNI_SUBCOMMAND", name.clone()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/commands/fromconfig.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | std::env::set_var("OMNI_CWD", current_dir.display().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 202 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 203 ~ unsafe { std::env::set_var("OMNI_CWD", current_dir.display().to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/commands/frommakefile.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | std::env::set_var("OMNI_CWD", current_dir.display().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 202 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 203 ~ unsafe { std::env::set_var("OMNI_CWD", current_dir.display().to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | std::env::set_var("PATH", new_path_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 105 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 106 ~ unsafe { std::env::set_var("PATH", new_path_env) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/git/updater.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | std::env::remove_var("OMNI_FORCE_UPDATE"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 55 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 56 ~ unsafe { std::env::remove_var("OMNI_FORCE_UPDATE") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/dynenv.rs:1133:21 [INFO] [stdout] | [INFO] [stdout] 1133 | std::env::set_var(key, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1133 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1134 ~ unsafe { std::env::set_var(key, value) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/dynenv.rs:1136:21 [INFO] [stdout] | [INFO] [stdout] 1136 | std::env::remove_var(key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1136 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1137 ~ unsafe { std::env::remove_var(key) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | env::set_var("OMNI_LOCAL_LOOKUP", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 232 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 233 ~ unsafe { env::set_var("OMNI_LOCAL_LOOKUP", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | if let Some((omni_cmd, called_as, argv)) = command_loader.to_serve(&parsed.args) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | } [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] 263 ~ match command_loader.to_serve(&parsed.args) { Some((omni_cmd, called_as, argv)) => { [INFO] [stdout] 264 | set_cleanup_handler(); [INFO] [stdout] 265 | omni_cmd.exec(argv, Some(called_as)); [INFO] [stdout] 266 | panic!("exec returned"); [INFO] [stdout] 267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/github_release.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | if let Some(checksum_asset) = search_assets [INFO] [stdout] | ^ ------------- 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] 471 | | .iter() [INFO] [stdout] 472 | | .find(|a| regex_name.is_match(&a.name) && regex_algorithm.is_match(&a.name)) [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/internal/cache/github_release.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 470 ~ match search_assets [INFO] [stdout] 471 | .iter() [INFO] [stdout] 472 | .find(|a| regex_name.is_match(&a.name) && regex_algorithm.is_match(&a.name)) [INFO] [stdout] 473 ~ { Some(checksum_asset) => { [INFO] [stdout] 474 | asset.checksum_asset = Some(Box::new(checksum_asset.clone())); [INFO] [stdout] 475 | continue; [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/github_release.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | if let Ok(regex_checksums) = Regex::new(®ex_checksums) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/cache/github_release.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] 487 ~ match Regex::new(®ex_checksums) { Ok(regex_checksums) => { [INFO] [stdout] 488 | if let Some(checksum_asset) = search_assets [INFO] [stdout] ... [INFO] [stdout] 494 | } [INFO] [stdout] 495 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/github_release.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(checksum_asset) = search_assets [INFO] [stdout] | ^ ------------- 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] 489 | | .iter() [INFO] [stdout] 490 | | .find(|a| regex_checksums.is_match(&a.name)) [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/internal/cache/github_release.rs:494:17 [INFO] [stdout] | [INFO] [stdout] 494 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match search_assets [INFO] [stdout] 489 | .iter() [INFO] [stdout] 490 | .find(|a| regex_checksums.is_match(&a.name)) [INFO] [stdout] 491 ~ { Some(checksum_asset) => { [INFO] [stdout] 492 | asset.checksum_asset = Some(Box::new(checksum_asset.clone())); [INFO] [stdout] 493 | continue; [INFO] [stdout] 494 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/handler.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let Ok(()) = std::fs::create_dir_all(&tmp_dir_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/internal/cache/handler.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match std::fs::create_dir_all(&tmp_dir_path) { Ok(()) => { [INFO] [stdout] 65 | break tmp_dir_path; [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/handler.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | let mut cache = if let Ok(load_cache) = load_cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/cache/handler.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | } 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] 166 ~ let mut cache = match load_cache { Ok(load_cache) => { [INFO] [stdout] 167 | load_cache.clone() [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | C::new_empty() [INFO] [stdout] 170 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/clone.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(repo) = matches.get_one::("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/internal/commands/builtin/clone.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } 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] 85 ~ match matches.get_one::("repo") { Some(repo) => { [INFO] [stdout] 86 | repository = repo.to_string(); [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | omni_error!("no repository specified"); [INFO] [stdout] 89 | exit(1); [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/clone.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | } else if let Some(spinner) = &spinner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/clone.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | } 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] 284 ~ } else { match &spinner { Some(spinner) => { [INFO] [stdout] 285 | spinner.println(message); [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | eprintln!("{}", message); [INFO] [stdout] 288 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/clone.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | } else if let Some(spinner) = &spinner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/clone.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | } 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] 293 ~ } else { match &spinner { Some(spinner) => { [INFO] [stdout] 294 | spinner.set_message(message); [INFO] [stdout] 295 ~ } _ => { [INFO] [stdout] 296 | eprintln!("{}", message); [INFO] [stdout] 297 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/help.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let unparsed = if let Some(unparsed) = matches.get_many::("unparsed").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/internal/commands/builtin/help.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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 ~ let unparsed = match matches.get_many::("unparsed").clone() { Some(unparsed) => { [INFO] [stdout] 76 | unparsed [INFO] [stdout] ... [INFO] [stdout] 79 | .collect::>() [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | vec![] [INFO] [stdout] 82 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/help.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(cmd) = self.commands.get_mut(&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/internal/commands/builtin/help.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | } 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] 475 ~ match self.commands.get_mut(&key) { Some(cmd) => { [INFO] [stdout] 476 | if !command_itself { [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] 492 ~ } _ => { [INFO] [stdout] 493 | let insert_command = if command_itself { [INFO] [stdout] ... [INFO] [stdout] 509 | } [INFO] [stdout] 510 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/hook/init.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(aliases) = matches.get_many::("aliases").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/internal/commands/builtin/hook/init.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 126 ~ match matches.get_many::("aliases").clone() { Some(aliases) => { [INFO] [stdout] 127 | aliases [INFO] [stdout] ... [INFO] [stdout] 130 | .collect::>() [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | Vec::new() [INFO] [stdout] 133 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/hook/init.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(command_aliases) = matches.get_many::("command_aliases").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/internal/commands/builtin/hook/init.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | } 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] 137 ~ match matches.get_many::("command_aliases").clone() { Some(command_aliases) => { [INFO] [stdout] 138 | command_aliases [INFO] [stdout] ... [INFO] [stdout] 144 | .collect::>() [INFO] [stdout] 145 ~ } _ => { [INFO] [stdout] 146 | Vec::new() [INFO] [stdout] 147 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/config/bootstrap.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | if let Err(err) = ConfigLoader::edit_main_user_config_file(|config_value| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 350 | || // Dump our config object as yaml [INFO] [stdout] 351 | || let yaml = serde_yaml::to_string(&config); [INFO] [stdout] ... || [INFO] [stdout] 378 | || true [INFO] [stdout] 379 | || }) { [INFO] [stdout] | ||__________^ 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/internal/commands/builtin/config/bootstrap.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 349 ~ match ConfigLoader::edit_main_user_config_file(|config_value| { [INFO] [stdout] 350 | // Dump our config object as yaml [INFO] [stdout] ... [INFO] [stdout] 378 | true [INFO] [stdout] 379 ~ }) { Err(err) => { [INFO] [stdout] 380 | return Err(format!("Failed to update user configuration: {}", err)); [INFO] [stdout] 381 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/config/bootstrap.rs:1006:24 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Err(err) = std::fs::create_dir_all(parent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/config/bootstrap.rs:1013:21 [INFO] [stdout] | [INFO] [stdout] 1013 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1006 ~ match std::fs::create_dir_all(parent) { Err(err) => { [INFO] [stdout] 1007 | return Err(format!( [INFO] [stdout] ... [INFO] [stdout] 1012 | .light_red()); [INFO] [stdout] 1013 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/config/bootstrap.rs:1019:20 [INFO] [stdout] | [INFO] [stdout] 1019 | if let Err(err) = std::fs::File::create(&canonicalized) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/config/bootstrap.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1019 ~ match std::fs::File::create(&canonicalized) { Err(err) => { [INFO] [stdout] 1020 | return Err(format!( [INFO] [stdout] ... [INFO] [stdout] 1025 | .light_red()); [INFO] [stdout] 1026 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/scope.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let scope = if let Some(scope) = matches.get_one::("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/internal/commands/builtin/scope.rs:88:9 [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 scope = match matches.get_one::("scope") { Some(scope) => { [INFO] [stdout] 87 | scope.to_string() [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | omni_error!("no scope specified"); [INFO] [stdout] 90 | exit(1); [INFO] [stdout] 91 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/status.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(captures) = regex_keys.captures(line) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/status.rs:308:17 [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] 304 ~ match regex_keys.captures(line) { Some(captures) => { [INFO] [stdout] 305 | let key = captures.get(3).unwrap().as_str(); [INFO] [stdout] 306 | let colored_key = key.light_cyan(); [INFO] [stdout] 307 | line.replace(key, &colored_key) [INFO] [stdout] 308 ~ } _ => { [INFO] [stdout] 309 | line.to_string() [INFO] [stdout] 310 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(search_paths) = matches.get_many::("search-path").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/internal/commands/builtin/tidy.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } 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] 102 ~ match matches.get_many::("search-path").clone() { Some(search_paths) => { [INFO] [stdout] 103 | search_paths [INFO] [stdout] ... [INFO] [stdout] 106 | .collect::>() [INFO] [stdout] 107 ~ } _ => { [INFO] [stdout] 108 | HashSet::new() [INFO] [stdout] 109 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | let up_args = if let Some(up_args) = matches.get_many::("up-args").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/internal/commands/builtin/tidy.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } 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] 111 ~ let up_args = match matches.get_many::("up-args").clone() { Some(up_args) => { [INFO] [stdout] 112 | up_args [INFO] [stdout] ... [INFO] [stdout] 115 | .collect::>() [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | vec![] [INFO] [stdout] 118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(progress_bar) = &progress_bar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/tidy.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | } 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] 496 ~ match &progress_bar { Some(progress_bar) => { [INFO] [stdout] 497 | progress_bar.println(s); [INFO] [stdout] 498 ~ } _ => { [INFO] [stdout] 499 | eprintln!("{}", s); [INFO] [stdout] 500 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:513:24 [INFO] [stdout] | [INFO] [stdout] 513 | if let Some(pb) = progress_bar.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/internal/commands/builtin/tidy.rs:515:21 [INFO] [stdout] | [INFO] [stdout] 515 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 513 ~ match progress_bar.as_ref() { Some(pb) => { [INFO] [stdout] 514 | pb.inc(1) [INFO] [stdout] 515 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:522:24 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(pb) = progress_bar.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/internal/commands/builtin/tidy.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 522 ~ match progress_bar.as_ref() { Some(pb) => { [INFO] [stdout] 523 | pb.inc(1) [INFO] [stdout] 524 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 634 | if let Some(s) = spinner.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/internal/commands/builtin/tidy.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 634 ~ match spinner.clone() { Some(s) => { [INFO] [stdout] 635 | s.tick() [INFO] [stdout] 636 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:657:16 [INFO] [stdout] | [INFO] [stdout] 657 | if let Some(s) = spinner.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/internal/commands/builtin/tidy.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | } [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 spinner.clone() { Some(s) => { [INFO] [stdout] 658 | s.tick() [INFO] [stdout] 659 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:784:20 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(path_list) = config_path.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/internal/commands/builtin/tidy.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | } [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 config_path.get(key) { Some(path_list) => { [INFO] [stdout] 785 | if let Some(path_list) = path_list.as_array() { [INFO] [stdout] ... [INFO] [stdout] 794 | } [INFO] [stdout] 795 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:785:24 [INFO] [stdout] | [INFO] [stdout] 785 | if let Some(path_list) = path_list.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/tidy.rs:794:21 [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] 785 ~ match path_list.as_array() { Some(path_list) => { [INFO] [stdout] 786 | for value in path_list { [INFO] [stdout] ... [INFO] [stdout] 793 | } [INFO] [stdout] 794 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:789:36 [INFO] [stdout] | [INFO] [stdout] 789 | ... if let ConfigSource::File(path) = value.get_source() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/tidy.rs:791:33 [INFO] [stdout] | [INFO] [stdout] 791 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 789 ~ match value.get_source() { ConfigSource::File(path) => { [INFO] [stdout] 790 | files_to_edit.insert(path.clone()); [INFO] [stdout] 791 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:834:16 [INFO] [stdout] | [INFO] [stdout] 834 | 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/internal/commands/builtin/tidy.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | } 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] 834 ~ match result { Err(err) => { [INFO] [stdout] 835 | println(format!( [INFO] [stdout] ... [INFO] [stdout] 846 | )); [INFO] [stdout] 847 ~ } _ => { [INFO] [stdout] 848 | println(format!( [INFO] [stdout] ... [INFO] [stdout] 858 | )); [INFO] [stdout] 859 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(clone_suggested) = matches.get_one::("clone-suggested") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | } else if bootstrap { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 175 ~ match matches.get_one::("clone-suggested") { Some(clone_suggested) => { [INFO] [stdout] 176 | clone_suggested [INFO] [stdout] ... [INFO] [stdout] 179 | .unwrap() [INFO] [stdout] 180 ~ } _ => if bootstrap { [INFO] [stdout] 181 | UpCommandArgsCloneSuggestedOptions::Ask [INFO] [stdout] 182 | } else { [INFO] [stdout] 183 | UpCommandArgsCloneSuggestedOptions::Unset [INFO] [stdout] 184 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let trust = if let Some(trust) = matches.get_one::("trust") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | } 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] 186 ~ let trust = match matches.get_one::("trust") { Some(trust) => { [INFO] [stdout] 187 | trust [INFO] [stdout] ... [INFO] [stdout] 190 | .unwrap() [INFO] [stdout] 191 ~ } _ => { [INFO] [stdout] 192 | UpCommandArgsTrustOptions::Check [INFO] [stdout] 193 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | } else if let Some(prompts) = matches.get_occurrences("prompt") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.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] 200 ~ } else { match matches.get_occurrences("prompt") { Some(prompts) => { [INFO] [stdout] 201 | prompt_ids = prompts [INFO] [stdout] ... [INFO] [stdout] 213 | prompt = !prompt_ids.is_empty(); [INFO] [stdout] 214 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(update_user_config) = matches.get_one::("update-user-config") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } else if bootstrap { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match matches.get_one::("update-user-config") { Some(update_user_config) => { [INFO] [stdout] 218 | update_user_config [INFO] [stdout] ... [INFO] [stdout] 221 | .unwrap() [INFO] [stdout] 222 ~ } _ => if bootstrap { [INFO] [stdout] 223 | UpCommandArgsUpdateUserConfigOptions::Ask [INFO] [stdout] 224 | } else { [INFO] [stdout] 225 | UpCommandArgsUpdateUserConfigOptions::Unset [INFO] [stdout] 226 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | if let Ok(_result) = 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/internal/commands/builtin/up.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | } 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] 534 ~ match result { Ok(_result) => { [INFO] [stdout] 535 | if any_change_to_apply { [INFO] [stdout] ... [INFO] [stdout] 541 | } [INFO] [stdout] 542 ~ } _ => { [INFO] [stdout] 543 | omni_error!(format!("Unable to update user configuration: {:?}", result)); [INFO] [stdout] 544 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | if let Err(err) = RepositoriesCache::exclusive(|repos| match workdir(".").id() { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 547 | || Some(wd_id) => { [INFO] [stdout] 548 | || repos.update_fingerprint(&wd_id, "suggest_config", fingerprint(&suggest_config)) [INFO] [stdout] 549 | || } [INFO] [stdout] 550 | || None => false, [INFO] [stdout] 551 | || }) { [INFO] [stdout] | ||__________^ 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/internal/commands/builtin/up.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ match RepositoriesCache::exclusive(|repos| match workdir(".").id() { [INFO] [stdout] 547 | Some(wd_id) => { [INFO] [stdout] ... [INFO] [stdout] 550 | None => false, [INFO] [stdout] 551 ~ }) { Err(err) => { [INFO] [stdout] 552 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 553 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:570:16 [INFO] [stdout] | [INFO] [stdout] 570 | if let Some(key_suggest_config) = suggest_config.select_keys(vec![key.to_string()]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | } [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 suggest_config.select_keys(vec![key.to_string()]) { Some(key_suggest_config) => { [INFO] [stdout] 571 | let mut after = before.clone(); [INFO] [stdout] ... [INFO] [stdout] 595 | split_suggestions.push(key_suggest_config.clone()); [INFO] [stdout] 596 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:642:20 [INFO] [stdout] | [INFO] [stdout] 642 | if let Err(err) = RepositoriesCache::exclusive(|repos| { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 643 | || repos.update_fingerprint( [INFO] [stdout] 644 | || &wd_id, [INFO] [stdout] 645 | || "suggest_clone", [INFO] [stdout] 646 | || fingerprint(&suggest_clone_repositories), [INFO] [stdout] 647 | || ) [INFO] [stdout] 648 | || }) { [INFO] [stdout] | ||__________________^ 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/internal/commands/builtin/up.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 642 ~ match RepositoriesCache::exclusive(|repos| { [INFO] [stdout] 643 | repos.update_fingerprint( [INFO] [stdout] ... [INFO] [stdout] 647 | ) [INFO] [stdout] 648 ~ }) { Err(err) => { [INFO] [stdout] 649 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 650 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:888:24 [INFO] [stdout] | [INFO] [stdout] 888 | if let Some(existing_repo) = new_suggest_clone.take(&new_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/internal/commands/builtin/up.rs:909:21 [INFO] [stdout] | [INFO] [stdout] 909 | } 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] 888 ~ match new_suggest_clone.take(&new_repo) { Some(existing_repo) => { [INFO] [stdout] 889 | let mut suggested_by = existing_repo.suggested_by.clone(); [INFO] [stdout] ... [INFO] [stdout] 908 | }); [INFO] [stdout] 909 ~ } _ => { [INFO] [stdout] 910 | new_suggest_clone.insert(new_repo.clone()); [INFO] [stdout] 911 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1218:16 [INFO] [stdout] | [INFO] [stdout] 1218 | if let Err(err) = operation.dump_to_file(sync_file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:1220:13 [INFO] [stdout] | [INFO] [stdout] 1220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1218 ~ match operation.dump_to_file(sync_file) { Err(err) => { [INFO] [stdout] 1219 | omni_error!(format!("failed to write sync file: {}", err)); [INFO] [stdout] 1220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1396:16 [INFO] [stdout] | [INFO] [stdout] 1396 | if let Err(err) = std::env::set_current_dir(wd_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/internal/commands/builtin/up.rs:1403:13 [INFO] [stdout] | [INFO] [stdout] 1403 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1396 ~ match std::env::set_current_dir(wd_root) { Err(err) => { [INFO] [stdout] 1397 | omni_error!(format!( [INFO] [stdout] ... [INFO] [stdout] 1402 | exit(1); [INFO] [stdout] 1403 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1593:16 [INFO] [stdout] | [INFO] [stdout] 1593 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 1594 | || let wd = workdir("."); [INFO] [stdout] 1595 | || if let Some(workdir_id) = wd.id() { [INFO] [stdout] 1596 | || if let Some(env_vars) = env_vars.clone() { [INFO] [stdout] ... || [INFO] [stdout] 1604 | || } [INFO] [stdout] 1605 | || }) { [INFO] [stdout] | ||______________^ 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/internal/commands/builtin/up.rs:1613:13 [INFO] [stdout] | [INFO] [stdout] 1613 | } else if env_vars.is_some() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1593 ~ match UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] 1594 | let wd = workdir("."); [INFO] [stdout] ... [INFO] [stdout] 1604 | } [INFO] [stdout] 1605 ~ }) { Err(err) => { [INFO] [stdout] 1606 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1612 | ); [INFO] [stdout] 1613 ~ } _ => if env_vars.is_some() { [INFO] [stdout] 1614 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1617 | ); [INFO] [stdout] 1618 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1654:23 [INFO] [stdout] | [INFO] [stdout] 1654 | } else if let Err(err) = up_config.down(&options) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:1663:13 [INFO] [stdout] | [INFO] [stdout] 1663 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1654 ~ } else { match up_config.down(&options) { Err(err) => { [INFO] [stdout] 1655 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1662 | self.handle_sync_operation(SyncUpdateOperation::Exit(1), &options); [INFO] [stdout] 1663 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1642:24 [INFO] [stdout] | [INFO] [stdout] 1642 | if let Err(err) = RepositoriesCache::exclusive(|repos| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 1643 | || repos.update_fingerprint(&wd_id, "head_commit", fingerprint(&git_commit)) [INFO] [stdout] 1644 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/commands/builtin/up.rs:1652:21 [INFO] [stdout] | [INFO] [stdout] 1652 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1642 ~ match RepositoriesCache::exclusive(|repos| { [INFO] [stdout] 1643 | repos.update_fingerprint(&wd_id, "head_commit", fingerprint(&git_commit)) [INFO] [stdout] 1644 ~ }) { Err(err) => { [INFO] [stdout] 1645 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1651 | ); [INFO] [stdout] 1652 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/frompath.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | if let Ok(canon) = std::fs::canonicalize(&self.source) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/frompath.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 213 ~ match std::fs::canonicalize(&self.source) { Ok(canon) => { [INFO] [stdout] 214 | canon.to_str().unwrap().to_string() [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | self.source.clone() [INFO] [stdout] 217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/frompath.rs:391:16 [INFO] [stdout] | [INFO] [stdout] 391 | if let Ok(file) = File::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/internal/commands/frompath.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 391 ~ match File::open(path) { Ok(file) => { [INFO] [stdout] 392 | if let Ok(mut md) = serde_yaml::from_reader::<_, Self>(file) { [INFO] [stdout] ... [INFO] [stdout] 399 | } [INFO] [stdout] 400 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/frompath.rs:392:20 [INFO] [stdout] | [INFO] [stdout] 392 | if let Ok(mut md) = serde_yaml::from_reader::<_, Self>(file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/frompath.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 392 ~ match serde_yaml::from_reader::<_, Self>(file) { Ok(mut md) => { [INFO] [stdout] 393 | // If the help is not empty, split it into lines [INFO] [stdout] ... [INFO] [stdout] 398 | return Some(md); [INFO] [stdout] 399 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/loader.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | if let Some(parent_command) = matched_commands [INFO] [stdout] | ________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 256 | || .clone() [INFO] [stdout] 257 | || .into_iter() [INFO] [stdout] 258 | || .find(|x| x.match_level == match_pos as f32 && x.match_name.len() == match_pos) [INFO] [stdout] | ||_______________________________________________________________________________________________^ 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/internal/commands/loader.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] 255 ~ match matched_commands [INFO] [stdout] 256 | .clone() [INFO] [stdout] 257 | .into_iter() [INFO] [stdout] 258 | .find(|x| x.match_level == match_pos as f32 && x.match_name.len() == match_pos) [INFO] [stdout] 259 ~ { Some(parent_command) => { [INFO] [stdout] 260 | if parent_command.command.autocompletion() { [INFO] [stdout] ... [INFO] [stdout] 272 | } [INFO] [stdout] 273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(new_value) = value.reject_scope(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/internal/config/config_value.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match value.reject_scope(scope) { Some(new_value) => { [INFO] [stdout] 220 | new_mapping.insert(key.to_owned(), new_value); [INFO] [stdout] 221 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(new_value) = value.reject_scope(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/internal/config/config_value.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match value.reject_scope(scope) { Some(new_value) => { [INFO] [stdout] 235 | new_sequence.push(new_value); [INFO] [stdout] 236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:262:28 [INFO] [stdout] | [INFO] [stdout] 262 | if let Some(new_value) = value.select_scope(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/internal/config/config_value.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match value.select_scope(scope) { Some(new_value) => { [INFO] [stdout] 263 | new_mapping.insert(key.to_owned(), new_value); [INFO] [stdout] 264 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(new_value) = value.select_scope(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/internal/config/config_value.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 277 ~ match value.select_scope(scope) { Some(new_value) => { [INFO] [stdout] 278 | new_sequence.push(new_value); [INFO] [stdout] 279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 684 | if let (Some(self_value), Some(other_value)) = (&mut self.value, other.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/internal/config/config_value.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | } 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] 684 ~ match (&mut self.value, other.value) { (Some(self_value), Some(other_value)) => { [INFO] [stdout] 685 | let _cloned_self_value = self_value.clone(); [INFO] [stdout] ... [INFO] [stdout] 829 | } [INFO] [stdout] 830 ~ } _ => { [INFO] [stdout] 831 | omni_error!("error parsing configuration files"); [INFO] [stdout] 832 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:897:12 [INFO] [stdout] | [INFO] [stdout] 897 | if let Some(data) = self.value.as_mut().map(|data| data.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/internal/config/config_value.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 955 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 897 ~ match self.value.as_mut().map(|data| data.as_mut()) { Some(data) => { [INFO] [stdout] 898 | if let ConfigData::Value(value) = data { [INFO] [stdout] ... [INFO] [stdout] 954 | } [INFO] [stdout] 955 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | if let Some(ref value) = self.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/internal/config/config_value.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | } 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] 963 ~ match self.value { Some(ref value) => { [INFO] [stdout] 964 | match **value { [INFO] [stdout] ... [INFO] [stdout] 968 | } [INFO] [stdout] 969 ~ } _ => { [INFO] [stdout] 970 | true [INFO] [stdout] 971 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:979:12 [INFO] [stdout] | [INFO] [stdout] 979 | if let Some(ref value) = self.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/internal/config/config_value.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | } 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] 979 ~ match self.value { Some(ref value) => { [INFO] [stdout] 980 | match **value { [INFO] [stdout] ... [INFO] [stdout] 999 | } [INFO] [stdout] 1000 ~ } _ => { [INFO] [stdout] 1001 | serde_yaml::Value::Null [INFO] [stdout] 1002 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/loader.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | if let Ok(metadata) = config_file.metadata() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/loader.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match config_file.metadata() { Ok(metadata) => { [INFO] [stdout] 210 | if config_file.is_file() { [INFO] [stdout] ... [INFO] [stdout] 220 | } [INFO] [stdout] 221 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/loader.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | if let Ok(metadata) = parent.metadata() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/loader.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 239 ~ match parent.metadata() { Ok(metadata) => { [INFO] [stdout] 240 | let permissions = metadata.permissions(); [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] 248 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(command_syntax) = CommandSyntax::from_config_value(&config_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/internal/config/parser/command_definition.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } 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] 118 ~ match CommandSyntax::from_config_value(&config_value) { Some(command_syntax) => { [INFO] [stdout] 119 | Ok(command_syntax) [INFO] [stdout] 120 ~ } _ => { [INFO] [stdout] 121 | Err(serde::de::Error::custom("invalid command syntax")) [INFO] [stdout] 122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 135 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | } else if let Some(value) = config_value.as_str() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 130 | parameters.extend( [INFO] [stdout] ... [INFO] [stdout] 134 | ); [INFO] [stdout] 135 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 136 | let keys = [ [INFO] [stdout] ... [INFO] [stdout] 163 | } [INFO] [stdout] 164 ~ } _ => if let Some(value) = config_value.as_str() { [INFO] [stdout] 165 | usage = Some(value.to_string()); [INFO] [stdout] 166 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(value) = table.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/internal/config/parser/command_definition.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match table.get(key) { Some(value) => { [INFO] [stdout] 147 | if let Some(value) = value.as_array() { [INFO] [stdout] ... [INFO] [stdout] 155 | } [INFO] [stdout] 156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | if let Some(value) = value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | } else if let Some(arg) = SyntaxOptArg::from_config_value(value, required) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 147 ~ match value.as_array() { Some(value) => { [INFO] [stdout] 148 | let arguments = value [INFO] [stdout] ... [INFO] [stdout] 152 | parameters.extend(arguments); [INFO] [stdout] 153 ~ } _ => if let Some(arg) = SyntaxOptArg::from_config_value(value, required) { [INFO] [stdout] 154 | parameters.push(arg); [INFO] [stdout] 155 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(value) = table.get("usage") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ match table.get("usage") { Some(value) => { [INFO] [stdout] 160 | if let Some(value) = value.as_str() { [INFO] [stdout] 161 | usage = Some(value.to_string()); [INFO] [stdout] 162 | } [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | } 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] 201 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 202 | let value_for_details; [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] 232 ~ } _ => { [INFO] [stdout] 233 | name = config_value.as_str().unwrap(); [INFO] [stdout] 234 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(name_value) = table.get("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/internal/config/parser/command_definition.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | } else if table.len() == 1 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 204 ~ match table.get("name") { Some(name_value) => { [INFO] [stdout] 205 | if let Some(name_value) = name_value.as_str() { [INFO] [stdout] ... [INFO] [stdout] 210 | } [INFO] [stdout] 211 ~ } _ => if table.len() == 1 { [INFO] [stdout] 212 | if let Some((key, value)) = table.into_iter().next() { [INFO] [stdout] ... [INFO] [stdout] 219 | return None; [INFO] [stdout] 220 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some((key, value)) = table.into_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/internal/config/parser/command_definition.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 212 ~ match table.into_iter().next() { Some((key, value)) => { [INFO] [stdout] 213 | name = key; [INFO] [stdout] 214 | value_for_details = Some(value); [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | return None; [INFO] [stdout] 217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some(value_for_details) = value_for_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 222 ~ match value_for_details { Some(value_for_details) => { [INFO] [stdout] 223 | if let Some(value_str) = value_for_details.as_str() { [INFO] [stdout] ... [INFO] [stdout] 230 | } [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(value_str) = value_for_details.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 224 | desc = Some(value_str.to_string()); [INFO] [stdout] 225 | } else if let Some(value_table) = value_for_details.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | } else if let Some(value_table) = value_for_details.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | } [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 value_for_details.as_str() { Some(value_str) => { [INFO] [stdout] 224 | desc = Some(value_str.to_string()); [INFO] [stdout] 225 ~ } _ => { match value_for_details.as_table() { Some(value_table) => { [INFO] [stdout] 226 | desc = value_table.get("desc")?.as_str(); [INFO] [stdout] ... [INFO] [stdout] 229 | } [INFO] [stdout] 230 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let operations = if let Some(config_value) = config_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/internal/config/parser/env.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 56 ~ let operations = match config_value { Some(config_value) => { [INFO] [stdout] 57 | let operations_array = if let Some(array) = config_value.as_array() { [INFO] [stdout] ... [INFO] [stdout] 83 | .collect() [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | vec![] [INFO] [stdout] 86 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | let operations_array = if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 58 | array [INFO] [stdout] 59 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | } 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] 57 ~ let operations_array = match config_value.as_array() { Some(array) => { [INFO] [stdout] 58 | array [INFO] [stdout] 59 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 60 | // If this is a map, create a list of individual maps for each [INFO] [stdout] ... [INFO] [stdout] 74 | .collect::>() [INFO] [stdout] 75 ~ } _ => { [INFO] [stdout] 76 | // Unsupported type [INFO] [stdout] 77 | vec![] [INFO] [stdout] 78 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 119 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } 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] 105 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 106 | array [INFO] [stdout] ... [INFO] [stdout] 118 | .collect() [INFO] [stdout] 119 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 120 | if let Some(value) = Self::from_table(name, table, operation) { [INFO] [stdout] ... [INFO] [stdout] 124 | } [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | let mut table = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] 134 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(value) = Self::from_table(name, table, operation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } 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] 120 ~ match Self::from_table(name, table, operation) { Some(value) => { [INFO] [stdout] 121 | vec![value] [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | vec![] [INFO] [stdout] 124 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(value) = Self::from_table(name, table, operation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ match Self::from_table(name, table, operation) { Some(value) => { [INFO] [stdout] 130 | vec![value] [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | vec![] [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let value = if let Some(config_value) = table.get("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/internal/config/parser/env.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 153 ~ let value = match table.get("value") { Some(config_value) => { [INFO] [stdout] 154 | if let Some(value) = config_value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 180 | } [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | None [INFO] [stdout] 183 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | let table = if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | } 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] 198 ~ let table = match config_value.as_table() { Some(table) => { [INFO] [stdout] 199 | table [INFO] [stdout] 200 ~ } _ => { [INFO] [stdout] 201 | return vec![]; [INFO] [stdout] 202 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | } else if let Some(value) = [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 214 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 215 | if let Some(config_value) = table.get("set") { [INFO] [stdout] ... [INFO] [stdout] 281 | } [INFO] [stdout] 282 ~ } _ => if let Some(value) = [INFO] [stdout] 283 | Self::from_config_value_multi(name, value, EnvOperationEnum::Set).pop() [INFO] [stdout] ... [INFO] [stdout] 287 | vec![] [INFO] [stdout] 288 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(value) = Self::from_table(name, table, EnvOperationEnum::Set) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | } 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] 277 ~ match Self::from_table(name, table, EnvOperationEnum::Set) { Some(value) => { [INFO] [stdout] 278 | vec![value] [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | vec![] [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.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] 72 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 73 | array [INFO] [stdout] ... [INFO] [stdout] 76 | .collect() [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | vec![GithubAuthConfigWithFilters::from_config_value( [INFO] [stdout] 79 | &config_value, [INFO] [stdout] 80 | )] [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(string) = config_value.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 143 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 130 ~ match config_value.as_str() { Some(string) => { [INFO] [stdout] 131 | return match string.as_str() { [INFO] [stdout] ... [INFO] [stdout] 142 | }; [INFO] [stdout] 143 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 144 | if let Some(skip) = table.get("skip") { [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/internal/config/parser/github.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(gh_value) = table.get("gh") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match table.get("gh") { Some(gh_value) => { [INFO] [stdout] 163 | let mut hostname = None; [INFO] [stdout] ... [INFO] [stdout] 177 | return Self::GhCli { hostname, user }; [INFO] [stdout] 178 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(gh_table) = gh_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | } else if let Some(gh_string) = gh_value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match gh_value.as_table() { Some(gh_table) => { [INFO] [stdout] 167 | if let Some(hostname_value) = gh_table.get("hostname") { [INFO] [stdout] ... [INFO] [stdout] 172 | } [INFO] [stdout] 173 ~ } _ => if let Some(gh_string) = gh_value.as_str_forced() { [INFO] [stdout] 174 | hostname = Some(gh_string.to_string()); [INFO] [stdout] 175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(user_value) = gh_table.get("user") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match gh_table.get("user") { Some(user_value) => { [INFO] [stdout] 171 | user = user_value.as_str_forced(); [INFO] [stdout] 172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(string) = config_value.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 236 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } 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] 233 ~ match config_value.as_str() { Some(string) => { [INFO] [stdout] 234 | // If a string is provided, use it as a glob pattern by default [INFO] [stdout] 235 | StringFilter::Glob(string.to_string()) [INFO] [stdout] 236 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 237 | if let Some(entry) = table.get("contains") { [INFO] [stdout] ... [INFO] [stdout] 275 | } [INFO] [stdout] 276 ~ } _ => { [INFO] [stdout] 277 | Self::default() [INFO] [stdout] 278 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(entry) = table.get("contains") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 243 | } else if let Some(entry) = table.get("starts_with") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 249 | } else if let Some(entry) = table.get("ends_with") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 255 | } else if let Some(entry) = table.get("regex") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 261 | } else if let Some(entry) = table.get("glob") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 267 | } else if let Some(entry) = table.get("exact") { [INFO] [stdout] | ----- 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/internal/config/parser/github.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } else if let Some(entry) = table.get("starts_with") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } else if let Some(entry) = table.get("ends_with") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | } else if let Some(entry) = table.get("regex") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } else if let Some(entry) = table.get("glob") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | } else if let Some(entry) = table.get("exact") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | } 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] 237 ~ match table.get("contains") { Some(entry) => { [INFO] [stdout] 238 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 242 | } [INFO] [stdout] 243 ~ } _ => { match table.get("starts_with") { Some(entry) => { [INFO] [stdout] 244 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 248 | } [INFO] [stdout] 249 ~ } _ => { match table.get("ends_with") { Some(entry) => { [INFO] [stdout] 250 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 254 | } [INFO] [stdout] 255 ~ } _ => { match table.get("regex") { Some(entry) => { [INFO] [stdout] 256 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 260 | } [INFO] [stdout] 261 ~ } _ => { match table.get("glob") { Some(entry) => { [INFO] [stdout] 262 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 266 | } [INFO] [stdout] 267 ~ } _ => { match table.get("exact") { Some(entry) => { [INFO] [stdout] 268 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 272 | } [INFO] [stdout] 273 ~ } _ => { [INFO] [stdout] 274 | Self::default() [INFO] [stdout] 275 ~ }}}}}}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/omniconfig.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(value) = value.reject_scope(&ConfigScope::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/internal/config/parser/omniconfig.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match value.reject_scope(&ConfigScope::Workdir) { Some(value) => { [INFO] [stdout] 109 | if let Some(array) = value.as_array() { [INFO] [stdout] ... [INFO] [stdout] 113 | } [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/omniconfig.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(array) = value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/omniconfig.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match value.as_array() { Some(array) => { [INFO] [stdout] 110 | for value in array { [INFO] [stdout] 111 | org_config.push(OrgConfig::from_config_value(&value)); [INFO] [stdout] 112 | } [INFO] [stdout] 113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/omniconfig.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if let Ok(up_str) = serde_yaml::to_string(&up) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/omniconfig.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } [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 serde_yaml::to_string(&up) { Ok(up_str) => { [INFO] [stdout] 191 | config_hasher.update(up_str.as_bytes()); [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(package) = config_value.get("package") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/path.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | } [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 config_value.get("package") { Some(package) => { [INFO] [stdout] 80 | let package = package.as_str().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 92 | } [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let self_update = if let Some(value) = config_value.get_as_bool("self_update") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 85 | PathRepoUpdatesSelfUpdateEnum::from_bool(value) [INFO] [stdout] 86 | } else if let Some(value) = config_value.get_as_str("self_update") { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 87 | PathRepoUpdatesSelfUpdateEnum::from_str(&value) [INFO] [stdout] 88 | } else if let Some(value) = config_value.get_as_integer("self_update") { [INFO] [stdout] | ------------ 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/internal/config/parser/path_repo_updates.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | } else if let Some(value) = config_value.get_as_str("self_update") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } else if let Some(value) = config_value.get_as_integer("self_update") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | } 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] 84 ~ let self_update = match config_value.get_as_bool("self_update") { Some(value) => { [INFO] [stdout] 85 | PathRepoUpdatesSelfUpdateEnum::from_bool(value) [INFO] [stdout] 86 ~ } _ => { match config_value.get_as_str("self_update") { Some(value) => { [INFO] [stdout] 87 | PathRepoUpdatesSelfUpdateEnum::from_str(&value) [INFO] [stdout] 88 ~ } _ => { match config_value.get_as_integer("self_update") { Some(value) => { [INFO] [stdout] 89 | PathRepoUpdatesSelfUpdateEnum::from_int(value) [INFO] [stdout] 90 ~ } _ => { [INFO] [stdout] 91 | PathRepoUpdatesSelfUpdateEnum::default() [INFO] [stdout] 92 ~ }}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(value) = config_value.get_as_bool("on_command_not_found") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 96 | PathRepoUpdatesOnCommandNotFoundEnum::from_bool(value) [INFO] [stdout] 97 | } else if let Some(value) = config_value.get_as_str("on_command_not_found") { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 98 | PathRepoUpdatesOnCommandNotFoundEnum::from_str(&value) [INFO] [stdout] 99 | } else if let Some(value) = config_value.get_as_integer("on_command_not_found") { [INFO] [stdout] | ------------ 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/internal/config/parser/path_repo_updates.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | } else if let Some(value) = config_value.get_as_str("on_command_not_found") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } else if let Some(value) = config_value.get_as_integer("on_command_not_found") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 95 ~ match config_value.get_as_bool("on_command_not_found") { Some(value) => { [INFO] [stdout] 96 | PathRepoUpdatesOnCommandNotFoundEnum::from_bool(value) [INFO] [stdout] 97 ~ } _ => { match config_value.get_as_str("on_command_not_found") { Some(value) => { [INFO] [stdout] 98 | PathRepoUpdatesOnCommandNotFoundEnum::from_str(&value) [INFO] [stdout] 99 ~ } _ => { match config_value.get_as_integer("on_command_not_found") { Some(value) => { [INFO] [stdout] 100 | PathRepoUpdatesOnCommandNotFoundEnum::from_int(value) [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | PathRepoUpdatesOnCommandNotFoundEnum::default() [INFO] [stdout] 103 ~ }}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 42 | let prompts = array [INFO] [stdout] ... [INFO] [stdout] 57 | return Self { prompts }; [INFO] [stdout] 58 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(default) = default.as_str().map(|s| s.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 340 ~ match default.as_str().map(|s| s.to_string()) { Some(default) => { [INFO] [stdout] 341 | question = question.default(default); [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:359:24 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(default) = default.as_bool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match default.as_bool() { Some(default) => { [INFO] [stdout] 360 | question = question.default(default); [INFO] [stdout] 361 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:392:24 [INFO] [stdout] | [INFO] [stdout] 392 | if let Some(default) = default.as_str().map(|s| s.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 392 ~ match default.as_str().map(|s| s.to_string()) { Some(default) => { [INFO] [stdout] 393 | // Find the index of the default choice [INFO] [stdout] ... [INFO] [stdout] 397 | } [INFO] [stdout] 398 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:437:28 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(default) = default.as_str().map(|s| s.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:445:25 [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] 437 ~ match default.as_str().map(|s| s.to_string()) { Some(default) => { [INFO] [stdout] 438 | // Find the index of the default choice [INFO] [stdout] ... [INFO] [stdout] 444 | } [INFO] [stdout] 445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 463 | if let Some(default) = default.as_i64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:465:21 [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] 463 ~ match default.as_i64() { Some(default) => { [INFO] [stdout] 464 | question = question.default(default); [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:515:24 [INFO] [stdout] | [INFO] [stdout] 515 | if let Some(default) = default.as_f64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:517:21 [INFO] [stdout] | [INFO] [stdout] 517 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 515 ~ match default.as_f64() { Some(default) => { [INFO] [stdout] 516 | question = question.default(default); [INFO] [stdout] 517 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:651:12 [INFO] [stdout] | [INFO] [stdout] 651 | if let Err(err) = PromptsCache::exclusive(|cache| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 652 | || cache.add_answer(id, scope_org, scope_repo, serde_yaml_answer); [INFO] [stdout] 653 | || true [INFO] [stdout] 654 | || }) { [INFO] [stdout] | ||__________^ 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/internal/config/parser/prompts.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | } 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] 651 ~ match PromptsCache::exclusive(|cache| { [INFO] [stdout] 652 | cache.add_answer(id, scope_org, scope_repo, serde_yaml_answer); [INFO] [stdout] 653 | true [INFO] [stdout] 654 ~ }) { Err(err) => { [INFO] [stdout] 655 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 656 | false [INFO] [stdout] 657 ~ } _ => { [INFO] [stdout] 658 | true [INFO] [stdout] 659 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | } else if let Some(string) = config_value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 671 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 672 | let choices = array [INFO] [stdout] ... [INFO] [stdout] 681 | } [INFO] [stdout] 682 ~ } _ => if let Some(string) = config_value.as_str_forced() { [INFO] [stdout] 683 | Ok(Self::ChoicesAsString(string.to_string())) [INFO] [stdout] 684 | } else { [INFO] [stdout] 685 | Err("choices must be an array or a template of an array".to_string()) [INFO] [stdout] 686 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | } 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] 738 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 739 | let id = table.get("id").and_then(|id| id.as_str()); [INFO] [stdout] ... [INFO] [stdout] 753 | } [INFO] [stdout] 754 ~ } _ => { [INFO] [stdout] 755 | config_value.as_str_forced().map(|choice| Self { [INFO] [stdout] ... [INFO] [stdout] 758 | }) [INFO] [stdout] 759 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/shell_aliases.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/shell_aliases.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 33 | for value in array { [INFO] [stdout] ... [INFO] [stdout] 37 | } [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/shell_aliases.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(alias) = ShellAliasConfig::from_config_value(&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/internal/config/parser/shell_aliases.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 34 ~ match ShellAliasConfig::from_config_value(&value) { Some(alias) => { [INFO] [stdout] 35 | aliases.push(alias); [INFO] [stdout] 36 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/shell_aliases.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/shell_aliases.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } [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 ~ } else { match config_value.as_table() { Some(table) => { [INFO] [stdout] 60 | let mut alias = None; [INFO] [stdout] ... [INFO] [stdout] 79 | }); [INFO] [stdout] 80 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(config_value) = config_value.select_scope(&ConfigScope::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/internal/config/parser/suggest_clone.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match config_value.select_scope(&ConfigScope::Workdir) { Some(config_value) => { [INFO] [stdout] 62 | return Self::parse_config_value(config_value); [INFO] [stdout] 63 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(array) = array.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match array.as_array() { Some(array) => { [INFO] [stdout] 84 | return Self { [INFO] [stdout] ... [INFO] [stdout] 91 | }; [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(value) = table.get("template") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 103 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ----- 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/internal/config/parser/suggest_clone.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match table.get("template") { Some(value) => { [INFO] [stdout] 96 | if let Some(value) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => { match table.get("template_file") { Some(value) => { [INFO] [stdout] 104 | if let Some(filepath) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if let Err(err) = template.add_raw_template("suggest_clone", &self.template) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | } [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 template.add_raw_template("suggest_clone", &self.template) { Err(err) => { [INFO] [stdout] 142 | if !quiet { [INFO] [stdout] ... [INFO] [stdout] 146 | return vec![]; [INFO] [stdout] 147 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | if let Err(err) = template.add_template_file(&self.template_file, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ match template.add_template_file(&self.template_file, None) { Err(err) => { [INFO] [stdout] 150 | if !quiet { [INFO] [stdout] ... [INFO] [stdout] 154 | return vec![]; [INFO] [stdout] 155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 229 ~ } else { match config_value.as_table() { Some(table) => { [INFO] [stdout] 230 | let mut handle = None; [INFO] [stdout] ... [INFO] [stdout] 261 | }); [INFO] [stdout] 262 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(config_value) = config_value.select_scope(&ConfigScope::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/internal/config/parser/suggest_config.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | } [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 config_value.select_scope(&ConfigScope::Workdir) { Some(config_value) => { [INFO] [stdout] 60 | return Self::parse_config_value(config_value); [INFO] [stdout] 61 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(value) = table.get("template") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 85 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ----- 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/internal/config/parser/suggest_config.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match table.get("template") { Some(value) => { [INFO] [stdout] 78 | if let Some(value) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ } _ => { match table.get("template_file") { Some(value) => { [INFO] [stdout] 86 | if let Some(filepath) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 92 | } [INFO] [stdout] 93 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if let Err(err) = template.add_raw_template("suggest_config", &self.template) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_config.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] 119 ~ match template.add_raw_template("suggest_config", &self.template) { Err(err) => { [INFO] [stdout] 120 | omni_warning!(tera_render_error_message(err)); [INFO] [stdout] 121 | omni_warning!("suggest_config will be ignored"); [INFO] [stdout] 122 | return ConfigValue::default(); [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let Err(err) = template.add_template_file(&self.template_file, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_config.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 template.add_template_file(&self.template_file, None) { Err(err) => { [INFO] [stdout] 126 | omni_warning!(tera_render_error_message(err)); [INFO] [stdout] 127 | omni_warning!("suggest_config will be ignored"); [INFO] [stdout] 128 | return ConfigValue::default(); [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/up_command.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(preferred_tools) = config_value.get_as_array("preferred_tools") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 48 | } else if let Some(preferred_tool) = config_value.get_as_str_forced("preferred_tools") { [INFO] [stdout] | ------------ 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/internal/config/parser/up_command.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | } else if let Some(preferred_tool) = config_value.get_as_str_forced("preferred_tools") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/up_command.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 43 ~ match config_value.get_as_array("preferred_tools") { Some(preferred_tools) => { [INFO] [stdout] 44 | preferred_tools [INFO] [stdout] ... [INFO] [stdout] 47 | .collect() [INFO] [stdout] 48 ~ } _ => { match config_value.get_as_str_forced("preferred_tools") { Some(preferred_tool) => { [INFO] [stdout] 49 | vec![preferred_tool] [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | Vec::new() [INFO] [stdout] 52 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/base.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(up_config) = UpConfigTool::from_config_value(&up_name, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/base.rs:67:17 [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] 65 ~ match UpConfigTool::from_config_value(&up_name, None) { Some(up_config) => { [INFO] [stdout] 66 | steps.push(up_config); [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | errors.push(UpError::Config(format!( [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/internal/config/up/base.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(up_config) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 87 | | UpConfigTool::from_config_value(up_name, Some(config_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/internal/config/up/base.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | } 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 ~ match UpConfigTool::from_config_value(up_name, Some(config_value)) [INFO] [stdout] 87 ~ { Some(up_config) => { [INFO] [stdout] 88 | steps.push(up_config); [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | errors.push(UpError::Config(format!( [INFO] [stdout] ... [INFO] [stdout] 95 | ))); [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/base.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| up_env.clear(&repo_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/internal/config/up/base.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ match UpEnvironmentsCache::exclusive(|up_env| up_env.clear(&repo_id)) { Err(err) => { [INFO] [stdout] 134 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 135 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/bundler.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(config_value) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/bundler.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 32 ~ match config_value.as_table() { Some(config_value) => { [INFO] [stdout] 33 | if let Some(value) = config_value.get("gemfile") { [INFO] [stdout] ... [INFO] [stdout] 38 | } [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | gemfile = Some(config_value.as_str().unwrap().to_string()); [INFO] [stdout] 41 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/bundler.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | if let Some(value) = config_value.get("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/internal/config/up/bundler.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ match config_value.get("path") { Some(value) => { [INFO] [stdout] 37 | path = Some(value.as_str().unwrap().to_string()); [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/bundler.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 58 | || up_env.add_env_var(&workdir_id, "BUNDLE_GEMFILE", &self.gemfile_abs_path()); [INFO] [stdout] 59 | || true [INFO] [stdout] 60 | || }) { [INFO] [stdout] | ||__________^ 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/internal/config/up/bundler.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | } 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] 57 ~ match UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] 58 | up_env.add_env_var(&workdir_id, "BUNDLE_GEMFILE", &self.gemfile_abs_path()); [INFO] [stdout] 59 | true [INFO] [stdout] 60 ~ }) { Err(err) => { [INFO] [stdout] 61 | progress_handler.progress(format!("failed to update cache: {}", err)); [INFO] [stdout] 62 ~ } _ => { [INFO] [stdout] 63 | progress_handler.progress("updated cache".to_string()); [INFO] [stdout] 64 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:132:42 [INFO] [stdout] | [INFO] [stdout] 132 | let mut repo_config = if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | } else if let Some(version) = value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 132 ~ let mut repo_config = match value.as_table() { Some(table) => { [INFO] [stdout] 133 | table.clone() [INFO] [stdout] 134 ~ } _ => if let Some(version) = value.as_str_forced() { [INFO] [stdout] 135 | let mut repo_config = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 143 | HashMap::new() [INFO] [stdout] 144 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | } else if let Some(repository) = config_value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 536 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 537 | Self::from_table(&table) [INFO] [stdout] 538 ~ } _ => if let Some(repository) = config_value.as_str_forced() { [INFO] [stdout] 539 | UpConfigGithubRelease { [INFO] [stdout] ... [INFO] [stdout] 544 | UpConfigGithubRelease::default() [INFO] [stdout] 545 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:564:31 [INFO] [stdout] | [INFO] [stdout] 564 | } else if let (Some(table), Ok(repo_config_value)) = [INFO] [stdout] | _______________________________^ [INFO] [stdout] 565 | | (value.as_table(), ConfigValue::from_str(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/internal/config/up/github_release.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 564 ~ } else { match (value.as_table(), ConfigValue::from_str(key)) [INFO] [stdout] 565 ~ { (Some(table), Ok(repo_config_value)) => { [INFO] [stdout] 566 | let mut repo_config = table.clone(); [INFO] [stdout] 567 | repo_config.insert("repository".to_string(), repo_config_value); [INFO] [stdout] 568 | return UpConfigGithubRelease::from_table(&repo_config); [INFO] [stdout] 569 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:576:29 [INFO] [stdout] | [INFO] [stdout] 576 | let repository = if let Some(repository_details) = repository.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | } else if let Some(repository) = repository.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 576 ~ let repository = match repository.as_table() { Some(repository_details) => { [INFO] [stdout] 577 | let owner = repository_details [INFO] [stdout] ... [INFO] [stdout] 587 | format!("{}/{}", owner, name) [INFO] [stdout] 588 ~ } _ => if let Some(repository) = repository.as_str_forced() { [INFO] [stdout] 589 | repository.to_string() [INFO] [stdout] 590 | } else { [INFO] [stdout] 591 | "".to_string() [INFO] [stdout] 592 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:850:16 [INFO] [stdout] | [INFO] [stdout] 850 | if let Some(releases) = cache.get_releases(&self.repository) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:859:13 [INFO] [stdout] | [INFO] [stdout] 859 | } 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] 850 ~ match cache.get_releases(&self.repository) { Some(releases) => { [INFO] [stdout] 851 | let releases = releases.clone(); [INFO] [stdout] ... [INFO] [stdout] 858 | Some(releases) [INFO] [stdout] 859 ~ } _ => { [INFO] [stdout] 860 | None [INFO] [stdout] 861 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:871:24 [INFO] [stdout] | [INFO] [stdout] 871 | if let Err(err) = GithubReleaseOperationCache::exclusive(|ghrelease| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 872 | || ghrelease.add_releases(&self.repository, &releases) [INFO] [stdout] 873 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/config/up/github_release.rs:875:21 [INFO] [stdout] | [INFO] [stdout] 875 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 871 ~ match GithubReleaseOperationCache::exclusive(|ghrelease| { [INFO] [stdout] 872 | ghrelease.add_releases(&self.repository, &releases) [INFO] [stdout] 873 ~ }) { Err(err) => { [INFO] [stdout] 874 | progress_handler.progress(format!("failed to update cache: {}", err)); [INFO] [stdout] 875 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:881:20 [INFO] [stdout] | [INFO] [stdout] 881 | if let Some(cached_releases) = cached_releases { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:888:17 [INFO] [stdout] | [INFO] [stdout] 888 | } 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] 881 ~ match cached_releases { Some(cached_releases) => { [INFO] [stdout] 882 | progress_handler.progress(format!( [INFO] [stdout] ... [INFO] [stdout] 887 | Ok(cached_releases) [INFO] [stdout] 888 ~ } _ => { [INFO] [stdout] 889 | Err(err) [INFO] [stdout] 890 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:1220:19 [INFO] [stdout] | [INFO] [stdout] 1220 | } else if let Some(checksum_asset) = &asset.checksum_asset { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:1281:9 [INFO] [stdout] | [INFO] [stdout] 1281 | } 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] 1220 ~ } else { match &asset.checksum_asset { Some(checksum_asset) => { [INFO] [stdout] 1221 | let checksum_asset_name = checksum_asset.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 1280 | checksum_value.unwrap() [INFO] [stdout] 1281 ~ } _ => { [INFO] [stdout] 1282 | return Ok(()); [INFO] [stdout] 1283 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:1485:30 [INFO] [stdout] | [INFO] [stdout] 1485 | let err = if let Err(err) = copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:1487:17 [INFO] [stdout] | [INFO] [stdout] 1487 | } 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] 1485 ~ let err = match copy { Err(err) => { [INFO] [stdout] 1486 | err [INFO] [stdout] 1487 ~ } _ => { [INFO] [stdout] 1488 | std::io::Error::new( [INFO] [stdout] ... [INFO] [stdout] 1491 | ) [INFO] [stdout] 1492 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/github_release.rs:1577:12 [INFO] [stdout] | [INFO] [stdout] 1577 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/github_release.rs:1579:9 [INFO] [stdout] | [INFO] [stdout] 1579 | } else if let Some(string) = config_value.as_str() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1577 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 1578 | Self::from_table(&table) [INFO] [stdout] 1579 ~ } _ => if let Some(string) = config_value.as_str() { [INFO] [stdout] 1580 | GithubReleaseChecksumConfig { [INFO] [stdout] ... [INFO] [stdout] 1585 | GithubReleaseChecksumConfig::default() [INFO] [stdout] 1586 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/golang.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | } else if let Some(array) = config_value.get_as_array("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/internal/config/up/golang.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ } else { match config_value.get_as_array("dir") { Some(array) => { [INFO] [stdout] 93 | for value in array { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/golang.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(value) = value.as_str_forced() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/golang.rs:101:25 [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 value.as_str_forced() { Some(value) => { [INFO] [stdout] 95 | dirs.insert( [INFO] [stdout] ... [INFO] [stdout] 100 | ); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/golang.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if let Some(captures) = goversion.captures(&line) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/golang.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 206 ~ match goversion.captures(&line) { Some(captures) => { [INFO] [stdout] 207 | // Get the version [INFO] [stdout] ... [INFO] [stdout] 211 | return Ok(Some(version)); [INFO] [stdout] 212 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/golang.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 261 | || let mut any_changed = false; [INFO] [stdout] 262 | || for dir in &version.dirs { [INFO] [stdout] 263 | || let gopath_dir = data_path_dir_hash(dir); [INFO] [stdout] ... || [INFO] [stdout] 278 | || any_changed [INFO] [stdout] 279 | || }) { [INFO] [stdout] | ||__________^ 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/internal/config/up/golang.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 260 ~ match UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] 261 | let mut any_changed = false; [INFO] [stdout] ... [INFO] [stdout] 278 | any_changed [INFO] [stdout] 279 ~ }) { Err(err) => { [INFO] [stdout] 280 | progress_handler.progress(format!("failed to update tool cache: {}", err)); [INFO] [stdout] ... [INFO] [stdout] 284 | ))); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/nix.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 132 | } else if let Some(pkg_array) = config_value.as_array() { [INFO] [stdout] | ----------------------- 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/internal/config/up/nix.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | } else if let Some(pkg_array) = config_value.as_array() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/nix.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | } else if let Some(nixfile) = config_value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 110 | if let Some(nixfile) = table.get("file") { [INFO] [stdout] ... [INFO] [stdout] 131 | } [INFO] [stdout] 132 ~ } _ => { match config_value.as_array() { Some(pkg_array) => { [INFO] [stdout] 133 | return UpConfigNix { [INFO] [stdout] ... [INFO] [stdout] 140 | }; [INFO] [stdout] 141 ~ } _ => if let Some(nixfile) = config_value.as_str_forced() { [INFO] [stdout] 142 | return UpConfigNix { [INFO] [stdout] ... [INFO] [stdout] 146 | }; [INFO] [stdout] 147 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/nix.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(packages) = table.get("packages") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/nix.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match table.get("packages") { Some(packages) => { [INFO] [stdout] 121 | if let Some(pkg_array) = packages.as_array() { [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/nix.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(pkg_array) = packages.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/nix.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | } [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 packages.as_array() { Some(pkg_array) => { [INFO] [stdout] 122 | return UpConfigNix { [INFO] [stdout] ... [INFO] [stdout] 129 | }; [INFO] [stdout] 130 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/nodejs.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 234 | || let mut any_changed = false; [INFO] [stdout] 235 | || for dir in &version.dirs { [INFO] [stdout] 236 | || let npm_prefix = per_version_per_dir_data_path(version, dir); [INFO] [stdout] ... || [INFO] [stdout] 246 | || any_changed [INFO] [stdout] 247 | || }) { [INFO] [stdout] | ||__________^ 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/internal/config/up/nodejs.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | } [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 UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] 234 | let mut any_changed = false; [INFO] [stdout] ... [INFO] [stdout] 246 | any_changed [INFO] [stdout] 247 ~ }) { Err(err) => { [INFO] [stdout] 248 | progress_handler.progress(format!("failed to update tool cache: {}", err)); [INFO] [stdout] ... [INFO] [stdout] 252 | ))); [INFO] [stdout] 253 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/python.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(config_value) = config_value.get_as_array("pip") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/python.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | } else if let Some(file_path) = config_value.get_as_str_forced("pip") { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match config_value.get_as_array("pip") { Some(config_value) => { [INFO] [stdout] 45 | for file_path in config_value { [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] 50 ~ } _ => if let Some(file_path) = config_value.get_as_str_forced("pip") { [INFO] [stdout] 51 | if file_path == "auto" { [INFO] [stdout] ... [INFO] [stdout] 55 | } [INFO] [stdout] 56 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/python.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(file_path) = file_path.as_str_forced() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/python.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match file_path.as_str_forced() { Some(file_path) => { [INFO] [stdout] 47 | pip_files.push(file_path.to_string()); [INFO] [stdout] 48 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:472:16 [INFO] [stdout] | [INFO] [stdout] 472 | if let Some(config_value) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 472 ~ match config_value.as_table() { Some(config_value) => { [INFO] [stdout] 473 | if let Some(parsed_taps) = config_value.get("tap") { [INFO] [stdout] 474 | taps.extend(Self::parse_taps(parsed_taps)); [INFO] [stdout] 475 | } [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:473:20 [INFO] [stdout] | [INFO] [stdout] 473 | if let Some(parsed_taps) = config_value.get("tap") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:475:17 [INFO] [stdout] | [INFO] [stdout] 475 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 473 ~ match config_value.get("tap") { Some(parsed_taps) => { [INFO] [stdout] 474 | taps.extend(Self::parse_taps(parsed_taps)); [INFO] [stdout] 475 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | if let Some(taps_array) = taps.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 503 | } else if let Some(taps_hash) = taps.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | } else if let Some(taps_hash) = taps.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | } else if taps.as_str().is_some() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 497 ~ match taps.as_array() { Some(taps_array) => { [INFO] [stdout] 498 | for config_value in taps_array { [INFO] [stdout] ... [INFO] [stdout] 502 | } [INFO] [stdout] 503 ~ } _ => { match taps.as_table() { Some(taps_hash) => { [INFO] [stdout] 504 | for (tap_name, config_value) in taps_hash { [INFO] [stdout] 505 | parsed_taps.push(Self::parse_config(tap_name.to_string(), &config_value)); [INFO] [stdout] 506 | } [INFO] [stdout] 507 ~ } _ => if taps.as_str().is_some() { [INFO] [stdout] 508 | if let Some(tap) = Self::parse_tap(None, taps) { [INFO] [stdout] 509 | parsed_taps.push(tap); [INFO] [stdout] 510 | } [INFO] [stdout] 511 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:499:20 [INFO] [stdout] | [INFO] [stdout] 499 | if let Some(tap) = Self::parse_tap(None, &config_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/internal/config/up/homebrew.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 499 ~ match Self::parse_tap(None, &config_value) { Some(tap) => { [INFO] [stdout] 500 | parsed_taps.push(tap); [INFO] [stdout] 501 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:527:19 [INFO] [stdout] | [INFO] [stdout] 527 | } else if let Some(tap_hash) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 527 ~ } else { match config_value.as_table() { Some(tap_hash) => { [INFO] [stdout] 528 | if let Some(name) = tap_hash.get("repo") { [INFO] [stdout] ... [INFO] [stdout] 538 | } [INFO] [stdout] 539 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:549:19 [INFO] [stdout] | [INFO] [stdout] 549 | } else if let Some(config_value) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | } [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 ~ } else { match config_value.as_table() { Some(config_value) => { [INFO] [stdout] 550 | if let Some(url_value) = config_value.get("url") { [INFO] [stdout] 551 | url = Some(url_value.as_str().unwrap().to_string()); [INFO] [stdout] 552 | } [INFO] [stdout] 553 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:550:16 [INFO] [stdout] | [INFO] [stdout] 550 | if let Some(url_value) = config_value.get("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/internal/config/up/homebrew.rs:552:13 [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] 550 ~ match config_value.get("url") { Some(url_value) => { [INFO] [stdout] 551 | url = Some(url_value.as_str().unwrap().to_string()); [INFO] [stdout] 552 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:579:12 [INFO] [stdout] | [INFO] [stdout] 579 | if let Err(err) = HomebrewOperationCache::exclusive(|brew_cache| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 580 | || brew_cache.add_tap(&workdir_id, &self.name, self.was_handled()) [INFO] [stdout] 581 | || }) { [INFO] [stdout] | ||__________^ 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/internal/config/up/homebrew.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } 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] 579 ~ match HomebrewOperationCache::exclusive(|brew_cache| { [INFO] [stdout] 580 | brew_cache.add_tap(&workdir_id, &self.name, self.was_handled()) [INFO] [stdout] 581 ~ }) { Err(err) => { [INFO] [stdout] 582 | progress_handler.progress(format!("failed to update cache: {}", err)); [INFO] [stdout] 583 ~ } _ => { [INFO] [stdout] 584 | progress_handler.progress("updated cache".to_string()); [INFO] [stdout] 585 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:867:16 [INFO] [stdout] | [INFO] [stdout] 867 | if let Some(config_value) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | } 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] 867 ~ match config_value.as_table() { Some(config_value) => { [INFO] [stdout] 868 | if let Some(formulae) = config_value.get("install") { [INFO] [stdout] 869 | installs.extend(Self::parse_formulae(formulae)); [INFO] [stdout] 870 | } [INFO] [stdout] 871 ~ } _ => { [INFO] [stdout] 872 | installs.extend(Self::parse_formulae(config_value)); [INFO] [stdout] 873 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:868:20 [INFO] [stdout] | [INFO] [stdout] 868 | if let Some(formulae) = config_value.get("install") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:870:17 [INFO] [stdout] | [INFO] [stdout] 870 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 868 ~ match config_value.get("install") { Some(formulae) => { [INFO] [stdout] 869 | installs.extend(Self::parse_formulae(formulae)); [INFO] [stdout] 870 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:882:12 [INFO] [stdout] | [INFO] [stdout] 882 | if let Some(formulae) = formulae.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/homebrew.rs:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | } else if let Some(formula) = formulae.as_str() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 882 ~ match formulae.as_array() { Some(formulae) => { [INFO] [stdout] 883 | for formula_config_value in formulae { [INFO] [stdout] ... [INFO] [stdout] 929 | } [INFO] [stdout] 930 ~ } _ => if let Some(formula) = formulae.as_str() { [INFO] [stdout] 931 | installs.push(Self { [INFO] [stdout] ... [INFO] [stdout] 936 | }); [INFO] [stdout] 937 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:888:20 [INFO] [stdout] | [INFO] [stdout] 888 | if let Some(formula_config) = formula_config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 917 | } else if let Some(formula) = formula_config_value.as_str() { [INFO] [stdout] | -------------------- 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/internal/config/up/homebrew.rs:917:17 [INFO] [stdout] | [INFO] [stdout] 917 | } else if let Some(formula) = formula_config_value.as_str() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:919:17 [INFO] [stdout] | [INFO] [stdout] 919 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 888 ~ match formula_config_value.as_table() { Some(formula_config) => { [INFO] [stdout] 889 | let mut rest_of_config = formula_config_value.clone(); [INFO] [stdout] ... [INFO] [stdout] 916 | } [INFO] [stdout] 917 ~ } _ => { match formula_config_value.as_str() { Some(formula) => { [INFO] [stdout] 918 | name = Some(formula.to_string()); [INFO] [stdout] 919 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:891:24 [INFO] [stdout] | [INFO] [stdout] 891 | if let Some(formula) = formula_config.get("formula") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 892 | name = Some(formula.as_str().unwrap().to_string()); [INFO] [stdout] 893 | } else if let Some(cask) = formula_config.get("cask") { [INFO] [stdout] | -------------- 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/internal/config/up/homebrew.rs:893:21 [INFO] [stdout] | [INFO] [stdout] 893 | } else if let Some(cask) = formula_config.get("cask") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:896:21 [INFO] [stdout] | [INFO] [stdout] 896 | } else if formula_config.len() == 1 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 891 ~ match formula_config.get("formula") { Some(formula) => { [INFO] [stdout] 892 | name = Some(formula.as_str().unwrap().to_string()); [INFO] [stdout] 893 ~ } _ => { match formula_config.get("cask") { Some(cask) => { [INFO] [stdout] 894 | install_type = HomebrewInstallType::Cask; [INFO] [stdout] 895 | name = Some(cask.as_str().unwrap().to_string()); [INFO] [stdout] 896 ~ } _ => if formula_config.len() == 1 { [INFO] [stdout] 897 | let (key, value) = formula_config.iter().next().unwrap(); [INFO] [stdout] 898 | name = Some(key.to_string()); [INFO] [stdout] 899 | rest_of_config = value.clone(); [INFO] [stdout] 900 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:908:24 [INFO] [stdout] | [INFO] [stdout] 908 | if let Some(parse_version) = parse_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/internal/config/up/homebrew.rs:916:21 [INFO] [stdout] | [INFO] [stdout] 916 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 908 ~ match parse_version { Some(parse_version) => { [INFO] [stdout] 909 | if let Some(parse_version) = parse_version.as_str() { [INFO] [stdout] ... [INFO] [stdout] 915 | } [INFO] [stdout] 916 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:909:28 [INFO] [stdout] | [INFO] [stdout] 909 | if let Some(parse_version) = parse_version.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 910 | version = Some(parse_version.to_string()); [INFO] [stdout] 911 | } else if let Some(parse_version) = parse_version.as_integer() { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 912 | version = Some(parse_version.to_string()); [INFO] [stdout] 913 | } else if let Some(parse_version) = parse_version.as_float() { [INFO] [stdout] | ------------- 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/internal/config/up/homebrew.rs:911:25 [INFO] [stdout] | [INFO] [stdout] 911 | } else if let Some(parse_version) = parse_version.as_integer() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:913:25 [INFO] [stdout] | [INFO] [stdout] 913 | } else if let Some(parse_version) = parse_version.as_float() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:915:25 [INFO] [stdout] | [INFO] [stdout] 915 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 909 ~ match parse_version.as_str() { Some(parse_version) => { [INFO] [stdout] 910 | version = Some(parse_version.to_string()); [INFO] [stdout] 911 ~ } _ => { match parse_version.as_integer() { Some(parse_version) => { [INFO] [stdout] 912 | version = Some(parse_version.to_string()); [INFO] [stdout] 913 ~ } _ => { match parse_version.as_float() { Some(parse_version) => { [INFO] [stdout] 914 | version = Some(parse_version.to_string()); [INFO] [stdout] 915 ~ } _ => {}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:985:16 [INFO] [stdout] | [INFO] [stdout] 985 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 986 | || for bin_path in bin_paths { [INFO] [stdout] 987 | || up_env.add_path(&workdir_id, bin_path); [INFO] [stdout] 988 | || } [INFO] [stdout] 989 | || true [INFO] [stdout] 990 | || }) { [INFO] [stdout] | ||______________^ 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/internal/config/up/homebrew.rs:993:13 [INFO] [stdout] | [INFO] [stdout] 993 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 985 ~ match UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] 986 | for bin_path in bin_paths { [INFO] [stdout] ... [INFO] [stdout] 989 | true [INFO] [stdout] 990 ~ }) { Err(err) => { [INFO] [stdout] 991 | progress_handler.progress(format!("failed to update cache: {}", err)); [INFO] [stdout] 992 | return; [INFO] [stdout] 993 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:1155:24 [INFO] [stdout] | [INFO] [stdout] 1155 | if let Err(err) = HomebrewOperationCache::exclusive(|cache| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 1156 | || cache.checked_install(&self.name, self.version.clone(), self.is_cask()); [INFO] [stdout] 1157 | || true [INFO] [stdout] 1158 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/config/up/homebrew.rs:1160:21 [INFO] [stdout] | [INFO] [stdout] 1160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1155 ~ match HomebrewOperationCache::exclusive(|cache| { [INFO] [stdout] 1156 | cache.checked_install(&self.name, self.version.clone(), self.is_cask()); [INFO] [stdout] 1157 | true [INFO] [stdout] 1158 ~ }) { Err(err) => { [INFO] [stdout] 1159 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 1160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:1221:26 [INFO] [stdout] | [INFO] [stdout] 1221 | let entries = if let Ok(entries) = glob::glob(glob_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/internal/config/up/homebrew.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1223 | } 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] 1221 ~ let entries = match glob::glob(glob_path) { Ok(entries) => { [INFO] [stdout] 1222 | entries [INFO] [stdout] 1223 ~ } _ => { [INFO] [stdout] 1224 | return vec![]; [INFO] [stdout] 1225 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:1455:24 [INFO] [stdout] | [INFO] [stdout] 1455 | if let Err(err) = HomebrewOperationCache::exclusive(|cache| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 1456 | || cache.updated_install(&self.name, self.version.clone(), self.is_cask()); [INFO] [stdout] 1457 | || true [INFO] [stdout] 1458 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/config/up/homebrew.rs:1460:21 [INFO] [stdout] | [INFO] [stdout] 1460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1455 ~ match HomebrewOperationCache::exclusive(|cache| { [INFO] [stdout] 1456 | cache.updated_install(&self.name, self.version.clone(), self.is_cask()); [INFO] [stdout] 1457 | true [INFO] [stdout] 1458 ~ }) { Err(err) => { [INFO] [stdout] 1459 | return Err(UpError::Cache(err.to_string())); [INFO] [stdout] 1460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/homebrew.rs:1604:20 [INFO] [stdout] | [INFO] [stdout] 1604 | if let Err(err) = HomebrewOperationCache::exclusive(|cache| { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 1605 | || cache.updated_homebrew(); [INFO] [stdout] 1606 | || true [INFO] [stdout] 1607 | || }) { [INFO] [stdout] | ||__________________^ 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/internal/config/up/homebrew.rs:1609:17 [INFO] [stdout] | [INFO] [stdout] 1609 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1604 ~ match HomebrewOperationCache::exclusive(|cache| { [INFO] [stdout] 1605 | cache.updated_homebrew(); [INFO] [stdout] 1606 | true [INFO] [stdout] 1607 ~ }) { Err(err) => { [INFO] [stdout] 1608 | return Err(UpError::Cache(err.to_string())); [INFO] [stdout] 1609 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:321:27 [INFO] [stdout] | [INFO] [stdout] 321 | } else if let Some(array) = config_value.get_as_array("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/internal/config/up/asdf_base.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 321 ~ } else { match config_value.get_as_array("dir") { Some(array) => { [INFO] [stdout] 322 | for value in array { [INFO] [stdout] ... [INFO] [stdout] 331 | } [INFO] [stdout] 332 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | if let Some(value) = value.as_str_forced() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/asdf_base.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 323 ~ match value.as_str_forced() { Some(value) => { [INFO] [stdout] 324 | dirs.insert( [INFO] [stdout] ... [INFO] [stdout] 329 | ); [INFO] [stdout] 330 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | if let Err(err) = func( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 490 | | progress_handler, [INFO] [stdout] 491 | | self.config_value.clone(), [INFO] [stdout] | | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 492 | | self.tool.clone(), [INFO] [stdout] ... | [INFO] [stdout] 495 | | post_install_versions.clone(), [INFO] [stdout] 496 | | ) { [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/internal/config/up/asdf_base.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 489 ~ match func( [INFO] [stdout] 490 | progress_handler, [INFO] [stdout] ... [INFO] [stdout] 495 | post_install_versions.clone(), [INFO] [stdout] 496 ~ ) { Err(err) => { [INFO] [stdout] 497 | progress_handler.error_with_message(format!("error: {}", err)); [INFO] [stdout] 498 | return Err(err); [INFO] [stdout] 499 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:660:20 [INFO] [stdout] | [INFO] [stdout] 660 | if let Err(err) = func( [INFO] [stdout] | ____________________^ [INFO] [stdout] 661 | | progress_handler, [INFO] [stdout] 662 | | self.config_value.clone(), [INFO] [stdout] | | ------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 663 | | self.tool.clone(), [INFO] [stdout] ... | [INFO] [stdout] 666 | | post_install_versions.clone(), [INFO] [stdout] 667 | | ) { [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/internal/config/up/asdf_base.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 660 ~ match func( [INFO] [stdout] 661 | progress_handler, [INFO] [stdout] ... [INFO] [stdout] 666 | post_install_versions.clone(), [INFO] [stdout] 667 ~ ) { Err(err) => { [INFO] [stdout] 668 | progress_handler.error_with_message(format!("error: {}", err)); [INFO] [stdout] 669 | return Err(err); [INFO] [stdout] 670 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | if let Err(err) = AsdfOperationCache::exclusive(|cache| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 744 | || cache.set_asdf_plugin_versions(&self.tool, versions.clone()); [INFO] [stdout] 745 | || true [INFO] [stdout] 746 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/config/up/asdf_base.rs:748:21 [INFO] [stdout] | [INFO] [stdout] 748 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 743 ~ match AsdfOperationCache::exclusive(|cache| { [INFO] [stdout] 744 | cache.set_asdf_plugin_versions(&self.tool, versions.clone()); [INFO] [stdout] 745 | true [INFO] [stdout] 746 ~ }) { Err(err) => { [INFO] [stdout] 747 | progress_handler.progress(format!("failed to update cache: {}", err)); [INFO] [stdout] 748 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let Err(_err) = tokio::runtime::Handle::try_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/internal/config/up/utils/askpass.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | } [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 tokio::runtime::Handle::try_current() { Err(_err) => { [INFO] [stdout] 136 | if let Ok(rt) = tokio::runtime::Runtime::new() { [INFO] [stdout] ... [INFO] [stdout] 140 | } [INFO] [stdout] 141 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | if let Ok(rt) = tokio::runtime::Runtime::new() { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/askpass.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ match tokio::runtime::Runtime::new() { Ok(rt) => { [INFO] [stdout] 137 | rt.block_on(async { [INFO] [stdout] 138 | let _ = self.close().await; [INFO] [stdout] 139 | }); [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if let Err(err) = set_permissions(&askpass_path, permissions) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/askpass.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match set_permissions(&askpass_path, permissions) { Err(err) => { [INFO] [stdout] 241 | return Err(UpError::Exec( [INFO] [stdout] 242 | format!("failed to set permissions on askpass script: {:?}", err).to_string(), [INFO] [stdout] 243 | )); [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | if let Some(listener) = &mut self.listener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/askpass.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | } 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] 260 ~ match &mut self.listener { Some(listener) => { [INFO] [stdout] 261 | match listener.accept().await { [INFO] [stdout] ... [INFO] [stdout] 264 | } [INFO] [stdout] 265 ~ } _ => { [INFO] [stdout] 266 | None [INFO] [stdout] 267 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(tmp_dir) = &self.tmp_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/internal/config/up/utils/askpass.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | } [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 &self.tmp_dir { Some(tmp_dir) => { [INFO] [stdout] 272 | let needs_askpass = Self::needs_askpass(); [INFO] [stdout] ... [INFO] [stdout] 280 | process.env_remove("DISPLAY"); [INFO] [stdout] 281 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | if let Err(_err) = tmp_dir.close() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/askpass.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match tmp_dir.close() { Err(_err) => { [INFO] [stdout] 360 | if let Err(err) = force_remove_dir_all(tmp_dir_path) { [INFO] [stdout] 361 | return Err(err.to_string()); [INFO] [stdout] 362 | } [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/askpass.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | if let Err(err) = force_remove_dir_all(tmp_dir_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/internal/config/up/utils/askpass.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match force_remove_dir_all(tmp_dir_path) { Err(err) => { [INFO] [stdout] 361 | return Err(err.to_string()); [INFO] [stdout] 362 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/directory.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if let Ok(metadata) = std::fs::metadata(&wd_config_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/internal/config/up/utils/directory.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 100 ~ match std::fs::metadata(&wd_config_path) { Ok(metadata) => { [INFO] [stdout] 101 | if let Ok(modified) = metadata.modified() { [INFO] [stdout] ... [INFO] [stdout] 106 | } [INFO] [stdout] 107 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/directory.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | if let Ok(modified) = metadata.modified() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/directory.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 101 ~ match metadata.modified() { Ok(modified) => { [INFO] [stdout] 102 | if let Ok(modified) = modified.duration_since(std::time::UNIX_EPOCH) { [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/progress_handler.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | if let Err(err) = AskPassListener::handle_request(&mut stream).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/progress_handler.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match AskPassListener::handle_request(&mut stream).await { Err(err) => { [INFO] [stdout] 165 | omni_warning!("{}", err); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/progress_handler.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(mut command) = process_command.spawn() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/progress_handler.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | } 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] 234 ~ match process_command.spawn() { Ok(mut command) => { [INFO] [stdout] 235 | // Create a temporary file to store the output [INFO] [stdout] ... [INFO] [stdout] 357 | } [INFO] [stdout] 358 ~ } _ => { [INFO] [stdout] 359 | Err(UpError::Exec(format!("{:?}", process_command.as_std()))) [INFO] [stdout] 360 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/progress_handler.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | if let Ok(mut command) = process_command.spawn() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/progress_handler.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | } 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] 371 ~ match process_command.spawn() { Ok(mut command) => { [INFO] [stdout] 372 | if let (Some(stdout), Some(stderr)) = (command.stdout.take(), command.stderr.take()) { [INFO] [stdout] ... [INFO] [stdout] 421 | } [INFO] [stdout] 422 ~ } _ => { [INFO] [stdout] 423 | return Err(UpError::Exec(format!("{:?}", process_command.as_std()))); [INFO] [stdout] 424 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/spinner_progress_handler.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let spinner = if let Some(multiprogress) = multiprogress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/spinner_progress_handler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 47 ~ let spinner = match multiprogress { Some(multiprogress) => { [INFO] [stdout] 48 | ensure_newline = false; [INFO] [stdout] 49 | multiprogress.add(ProgressBar::new_spinner()) [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | ProgressBar::new_spinner() [INFO] [stdout] 52 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/up_progress_handler.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | if let Err(err) = update.dump_to_file(sync_file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/up_progress_handler.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | } [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 update.dump_to_file(sync_file) { Err(err) => { [INFO] [stdout] 151 | panic!("failed to write progress update to file: {}", err); [INFO] [stdout] 152 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/up_progress_handler.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | if let Err(err) = self.handle_line(&line) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/up_progress_handler.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 280 ~ match self.handle_line(&line) { Err(err) => { [INFO] [stdout] 281 | match err { [INFO] [stdout] ... [INFO] [stdout] 289 | } [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/utils/up_progress_handler.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | if let Some(ref mut handler) = self.current_handler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/utils/up_progress_handler.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | } 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] 357 ~ match self.current_handler { Some(ref mut handler) => { [INFO] [stdout] 358 | handler.perform_sync_action(progress.action()); [INFO] [stdout] 359 ~ } _ => { [INFO] [stdout] 360 | return Err(SyncUpdateError::NoProgressHandler); [INFO] [stdout] 361 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | if let Ok(entries) = glob::glob(&glob_pattern) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match glob::glob(&glob_pattern) { Ok(entries) => { [INFO] [stdout] 130 | for entry in entries.into_iter().flatten() { [INFO] [stdout] 131 | let _ = force_remove_dir_all(&entry); [INFO] [stdout] 132 | } [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:631:16 [INFO] [stdout] | [INFO] [stdout] 631 | if let Ok(head_commit) = head.peel_to_commit() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 631 ~ match head.peel_to_commit() { Ok(head_commit) => { [INFO] [stdout] 632 | git_repo_env.commit = Some(head_commit.id().to_string()); [INFO] [stdout] 633 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | if let Some(url) = remote.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/internal/env.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 644 ~ match remote.url() { Some(url) => { [INFO] [stdout] 645 | git_repo_env.origin = Some(url.to_string()); [INFO] [stdout] 646 | return git_repo_env; [INFO] [stdout] 647 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:655:24 [INFO] [stdout] | [INFO] [stdout] 655 | if let Some(shorthand) = head.shorthand() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 659 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 655 ~ match head.shorthand() { Some(shorthand) => { [INFO] [stdout] 656 | if shorthand != "HEAD" { [INFO] [stdout] 657 | string_branch_name = shorthand.to_string(); [INFO] [stdout] 658 | } [INFO] [stdout] 659 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:668:16 [INFO] [stdout] | [INFO] [stdout] 668 | if let Ok(branch) = repository.find_branch(branch_name, git2::BranchType::Local) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 668 ~ match repository.find_branch(branch_name, git2::BranchType::Local) { Ok(branch) => { [INFO] [stdout] 669 | if let Ok(upstream) = branch.upstream() { [INFO] [stdout] ... [INFO] [stdout] 679 | } [INFO] [stdout] 680 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:669:20 [INFO] [stdout] | [INFO] [stdout] 669 | if let Ok(upstream) = branch.upstream() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 669 ~ match branch.upstream() { Ok(upstream) => { [INFO] [stdout] 670 | if let Ok(Some(upstream_name)) = upstream.name() { [INFO] [stdout] ... [INFO] [stdout] 678 | } [INFO] [stdout] 679 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:670:24 [INFO] [stdout] | [INFO] [stdout] 670 | if let Ok(Some(upstream_name)) = upstream.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/internal/env.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 670 ~ match upstream.name() { Ok(Some(upstream_name)) => { [INFO] [stdout] 671 | let upstream_name = upstream_name.split('/').next().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 677 | } [INFO] [stdout] 678 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:672:28 [INFO] [stdout] | [INFO] [stdout] 672 | if let Ok(remote) = repository.find_remote(upstream_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/internal/env.rs:677:25 [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] 672 ~ match repository.find_remote(upstream_name) { Ok(remote) => { [INFO] [stdout] 673 | if let Some(url) = remote.url() { [INFO] [stdout] ... [INFO] [stdout] 676 | } [INFO] [stdout] 677 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:673:32 [INFO] [stdout] | [INFO] [stdout] 673 | ... if let Some(url) = remote.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/internal/env.rs:676:29 [INFO] [stdout] | [INFO] [stdout] 676 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 673 ~ match remote.url() { Some(url) => { [INFO] [stdout] 674 | git_repo_env.origin = Some(url.to_string()); [INFO] [stdout] 675 | return git_repo_env; [INFO] [stdout] 676 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:685:20 [INFO] [stdout] | [INFO] [stdout] 685 | if let Ok(remote) = repository.find_remote(remote.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:690:17 [INFO] [stdout] | [INFO] [stdout] 690 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 685 ~ match repository.find_remote(remote.unwrap()) { Ok(remote) => { [INFO] [stdout] 686 | if let Some(url) = remote.url() { [INFO] [stdout] ... [INFO] [stdout] 689 | } [INFO] [stdout] 690 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | if let Some(url) = remote.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/internal/env.rs:689:21 [INFO] [stdout] | [INFO] [stdout] 689 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 686 ~ match remote.url() { Some(url) => { [INFO] [stdout] 687 | git_repo_env.origin = Some(url.to_string()); [INFO] [stdout] 688 | return git_repo_env; [INFO] [stdout] 689 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:848:16 [INFO] [stdout] | [INFO] [stdout] 848 | if let Ok(path) = std::fs::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/internal/env.rs:859:13 [INFO] [stdout] | [INFO] [stdout] 859 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 848 ~ match std::fs::canonicalize(path) { Ok(path) => { [INFO] [stdout] 849 | if let Ok(path) = path.strip_prefix(root) { [INFO] [stdout] ... [INFO] [stdout] 858 | } [INFO] [stdout] 859 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/env.rs:906:16 [INFO] [stdout] | [INFO] [stdout] 906 | if let Ok(id) = std::fs::read_to_string(id_file) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/env.rs:912:13 [INFO] [stdout] | [INFO] [stdout] 912 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 906 ~ match std::fs::read_to_string(id_file) { Ok(id) => { [INFO] [stdout] 907 | // if the id is valid, then we can use it, otherwise ignore it [INFO] [stdout] ... [INFO] [stdout] 911 | } [INFO] [stdout] 912 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/org.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if let Ok(regex) = regex::Regex::new(regex_str.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/git/org.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | } 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] 73 ~ match regex::Regex::new(regex_str.as_str()) { Ok(regex) => { [INFO] [stdout] 74 | regex [INFO] [stdout] 75 ~ } _ => { [INFO] [stdout] 76 | return results; [INFO] [stdout] 77 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/org.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | let entries = if let Ok(entries) = glob::glob(glob_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/internal/git/org.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 82 ~ let entries = match glob::glob(glob_path) { Ok(entries) => { [INFO] [stdout] 83 | entries [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | return results; [INFO] [stdout] 86 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/org.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let captures = if let Some(captures) = regex.captures(entry_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/git/org.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | } 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] 114 ~ let captures = match regex.captures(entry_str) { Some(captures) => { [INFO] [stdout] 115 | captures [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | continue; [INFO] [stdout] 118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/org.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | if let Ok(entries) = glob::glob(glob_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/internal/git/org.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 494 ~ match glob::glob(glob_path) { Ok(entries) => { [INFO] [stdout] 495 | for path in entries.into_iter().flatten() { [INFO] [stdout] ... [INFO] [stdout] 499 | } [INFO] [stdout] 500 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/org.rs:626:24 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(s) = spinner.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/internal/git/org.rs:628:21 [INFO] [stdout] | [INFO] [stdout] 628 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match spinner.clone() { Some(s) => { [INFO] [stdout] 627 | s.tick() [INFO] [stdout] 628 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/org.rs:632:16 [INFO] [stdout] | [INFO] [stdout] 632 | if let Some(s) = spinner.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/internal/git/org.rs:634:13 [INFO] [stdout] | [INFO] [stdout] 634 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 632 ~ match spinner.clone() { Some(s) => { [INFO] [stdout] 633 | s.finish_and_clear() [INFO] [stdout] 634 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/updater.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if let Err(err) = OmniPathCache::exclusive(|omnipath| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 71 | || if !omnipath.updated() { [INFO] [stdout] 72 | || omnipath.update(); [INFO] [stdout] 73 | || require_update = true; [INFO] [stdout] 74 | || } [INFO] [stdout] 75 | || require_update [INFO] [stdout] 76 | || }) { [INFO] [stdout] | ||__________^ 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/internal/git/updater.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 70 ~ match OmniPathCache::exclusive(|omnipath| { [INFO] [stdout] 71 | if !omnipath.updated() { [INFO] [stdout] ... [INFO] [stdout] 75 | require_update [INFO] [stdout] 76 ~ }) { Err(err) => { [INFO] [stdout] 77 | omni_error!(format!("Failed to update cache (update skipped): {}", err)); [INFO] [stdout] 78 | return false; [INFO] [stdout] 79 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/updater.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | if let Err(err) = OmniPathCache::exclusive(|omnipath| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 225 | || omnipath.update_error(path.to_string_lossy().to_string()); [INFO] [stdout] 226 | || true [INFO] [stdout] 227 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/git/updater.rs:229:21 [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] 224 ~ match OmniPathCache::exclusive(|omnipath| { [INFO] [stdout] 225 | omnipath.update_error(path.to_string_lossy().to_string()); [INFO] [stdout] 226 | true [INFO] [stdout] 227 ~ }) { Err(err) => { [INFO] [stdout] 228 | omni_error!(format!("failed to update cache: {}", err)); [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/updater.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | if let Err(err) = OmniPathCache::exclusive(|omnipath| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 255 | || if omnipath.update_errored() { [INFO] [stdout] 256 | || omni_print!(format!( [INFO] [stdout] 257 | || "background update failed; log is available at {}", [INFO] [stdout] ... || [INFO] [stdout] 265 | || } [INFO] [stdout] 266 | || }) { [INFO] [stdout] | ||__________^ 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/internal/git/updater.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | } [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 OmniPathCache::exclusive(|omnipath| { [INFO] [stdout] 255 | if omnipath.update_errored() { [INFO] [stdout] ... [INFO] [stdout] 265 | } [INFO] [stdout] 266 ~ }) { Err(err) => { [INFO] [stdout] 267 | omni_error!(format!("failed to update cache: {}", err)); [INFO] [stdout] 268 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/git/updater.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | while let Ok((path, updated)) = receiver.recv_timeout(Duration::from_millis(10)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/git/updater.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/workdir.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if let Err(err) = RepositoriesCache::exclusive(|repos| repos.add_trusted(&workdir_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/internal/workdir.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match RepositoriesCache::exclusive(|repos| repos.add_trusted(&workdir_id)) { Err(err) => { [INFO] [stdout] 85 | omni_error!(format!("Unable to update cache: {:?}", err.to_string())); [INFO] [stdout] 86 | return false; [INFO] [stdout] 87 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/workdir.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if let Err(err) = RepositoriesCache::exclusive(|repos| repos.remove_trusted(&workdir_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/internal/workdir.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] 98 ~ match RepositoriesCache::exclusive(|repos| repos.remove_trusted(&workdir_id)) { Err(err) => { [INFO] [stdout] 99 | omni_error!(format!("Unable to update cache: {:?}", err.to_string())); [INFO] [stdout] 100 | return false; [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/user_interface/print.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | if let Ok((x, _y)) = term_cursor::get_pos() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/user_interface/print.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match term_cursor::get_pos() { Ok((x, _y)) => { [INFO] [stdout] 217 | if x > 0 { [INFO] [stdout] 218 | eprintln!(); [INFO] [stdout] 219 | } [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/user_interface/print.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | if let Ok((x, _y)) = term_cursor::get_pos() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/user_interface/print.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 226 ~ match term_cursor::get_pos() { Ok((x, _y)) => { [INFO] [stdout] 227 | if x > 0 && len > term_columns() { [INFO] [stdout] 228 | eprintln!(); [INFO] [stdout] 229 | } [INFO] [stdout] 230 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 225 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `omni` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/internal/user_interface/print.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/internal/user_interface/print.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | ($message: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/internal/user_interface/print.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($message: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/internal/user_interface/print.rs:41:6 [INFO] [stderr] | [INFO] [stderr] 41 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | ($message: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/internal/user_interface/print.rs:73:6 [INFO] [stderr] | [INFO] [stderr] 73 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:73:26 [INFO] [stderr] | [INFO] [stderr] 73 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:93:6 [INFO] [stderr] | [INFO] [stderr] 93 | ($message: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/internal/user_interface/print.rs:110:6 [INFO] [stderr] | [INFO] [stderr] 110 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:110:26 [INFO] [stderr] | [INFO] [stderr] 110 | ($message:expr_2021, $cmd: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 10 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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/internal/user_interface/print.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | ($message: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] 22 | ($message: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/internal/user_interface/print.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | ($message: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] 29 | ($message: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/internal/user_interface/print.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | ($message:expr, $cmd: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] 41 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | ($message:expr, $cmd: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] 41 | ($message:expr, $cmd: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/internal/user_interface/print.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | ($message: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] 56 | ($message: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/internal/user_interface/print.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | ($message:expr, $cmd: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] 73 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | ($message:expr, $cmd: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] 73 | ($message:expr, $cmd: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/internal/user_interface/print.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | ($message: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] 93 | ($message: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/internal/user_interface/print.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | ($message:expr, $cmd: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] 110 | ($message:expr_2021, $cmd: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/internal/user_interface/print.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | ($message:expr, $cmd: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] 110 | ($message:expr, $cmd:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/commands/base.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | std::env::set_var("OMNI_SUBCOMMAND", name.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 311 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 312 ~ unsafe { std::env::set_var("OMNI_SUBCOMMAND", name.clone()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/commands/fromconfig.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | std::env::set_var("OMNI_CWD", current_dir.display().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 202 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 203 ~ unsafe { std::env::set_var("OMNI_CWD", current_dir.display().to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/commands/frommakefile.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | std::env::set_var("OMNI_CWD", current_dir.display().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 202 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 203 ~ unsafe { std::env::set_var("OMNI_CWD", current_dir.display().to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/config/up/asdf_base.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | std::env::set_var("PATH", new_path_env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 105 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 106 ~ unsafe { std::env::set_var("PATH", new_path_env) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/git/updater.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | std::env::remove_var("OMNI_FORCE_UPDATE"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 55 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 56 ~ unsafe { std::env::remove_var("OMNI_FORCE_UPDATE") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/dynenv.rs:1133:21 [INFO] [stdout] | [INFO] [stdout] 1133 | std::env::set_var(key, value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1133 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1134 ~ unsafe { std::env::set_var(key, value) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/internal/dynenv.rs:1136:21 [INFO] [stdout] | [INFO] [stdout] 1136 | std::env::remove_var(key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1136 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1137 ~ unsafe { std::env::remove_var(key) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | env::set_var("OMNI_LOCAL_LOOKUP", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 232 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 233 ~ unsafe { env::set_var("OMNI_LOCAL_LOOKUP", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | if let Some((omni_cmd, called_as, argv)) = command_loader.to_serve(&parsed.args) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | } [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] 263 ~ match command_loader.to_serve(&parsed.args) { Some((omni_cmd, called_as, argv)) => { [INFO] [stdout] 264 | set_cleanup_handler(); [INFO] [stdout] 265 | omni_cmd.exec(argv, Some(called_as)); [INFO] [stdout] 266 | panic!("exec returned"); [INFO] [stdout] 267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/github_release.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | if let Some(checksum_asset) = search_assets [INFO] [stdout] | ^ ------------- 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] 471 | | .iter() [INFO] [stdout] 472 | | .find(|a| regex_name.is_match(&a.name) && regex_algorithm.is_match(&a.name)) [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/internal/cache/github_release.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 470 ~ match search_assets [INFO] [stdout] 471 | .iter() [INFO] [stdout] 472 | .find(|a| regex_name.is_match(&a.name) && regex_algorithm.is_match(&a.name)) [INFO] [stdout] 473 ~ { Some(checksum_asset) => { [INFO] [stdout] 474 | asset.checksum_asset = Some(Box::new(checksum_asset.clone())); [INFO] [stdout] 475 | continue; [INFO] [stdout] 476 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/github_release.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | if let Ok(regex_checksums) = Regex::new(®ex_checksums) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/cache/github_release.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] 487 ~ match Regex::new(®ex_checksums) { Ok(regex_checksums) => { [INFO] [stdout] 488 | if let Some(checksum_asset) = search_assets [INFO] [stdout] ... [INFO] [stdout] 494 | } [INFO] [stdout] 495 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/github_release.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | if let Some(checksum_asset) = search_assets [INFO] [stdout] | ^ ------------- 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] 489 | | .iter() [INFO] [stdout] 490 | | .find(|a| regex_checksums.is_match(&a.name)) [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/internal/cache/github_release.rs:494:17 [INFO] [stdout] | [INFO] [stdout] 494 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 488 ~ match search_assets [INFO] [stdout] 489 | .iter() [INFO] [stdout] 490 | .find(|a| regex_checksums.is_match(&a.name)) [INFO] [stdout] 491 ~ { Some(checksum_asset) => { [INFO] [stdout] 492 | asset.checksum_asset = Some(Box::new(checksum_asset.clone())); [INFO] [stdout] 493 | continue; [INFO] [stdout] 494 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/handler.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let Ok(()) = std::fs::create_dir_all(&tmp_dir_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/internal/cache/handler.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match std::fs::create_dir_all(&tmp_dir_path) { Ok(()) => { [INFO] [stdout] 65 | break tmp_dir_path; [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/cache/handler.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | let mut cache = if let Ok(load_cache) = load_cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/cache/handler.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | } 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] 166 ~ let mut cache = match load_cache { Ok(load_cache) => { [INFO] [stdout] 167 | load_cache.clone() [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | C::new_empty() [INFO] [stdout] 170 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/clone.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(repo) = matches.get_one::("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/internal/commands/builtin/clone.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } 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] 85 ~ match matches.get_one::("repo") { Some(repo) => { [INFO] [stdout] 86 | repository = repo.to_string(); [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | omni_error!("no repository specified"); [INFO] [stdout] 89 | exit(1); [INFO] [stdout] 90 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/clone.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | } else if let Some(spinner) = &spinner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/clone.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | } 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] 284 ~ } else { match &spinner { Some(spinner) => { [INFO] [stdout] 285 | spinner.println(message); [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | eprintln!("{}", message); [INFO] [stdout] 288 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/clone.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | } else if let Some(spinner) = &spinner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/clone.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | } 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] 293 ~ } else { match &spinner { Some(spinner) => { [INFO] [stdout] 294 | spinner.set_message(message); [INFO] [stdout] 295 ~ } _ => { [INFO] [stdout] 296 | eprintln!("{}", message); [INFO] [stdout] 297 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/help.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let unparsed = if let Some(unparsed) = matches.get_many::("unparsed").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/internal/commands/builtin/help.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } 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 ~ let unparsed = match matches.get_many::("unparsed").clone() { Some(unparsed) => { [INFO] [stdout] 76 | unparsed [INFO] [stdout] ... [INFO] [stdout] 79 | .collect::>() [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | vec![] [INFO] [stdout] 82 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/help.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(cmd) = self.commands.get_mut(&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/internal/commands/builtin/help.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | } 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] 475 ~ match self.commands.get_mut(&key) { Some(cmd) => { [INFO] [stdout] 476 | if !command_itself { [INFO] [stdout] ... [INFO] [stdout] 491 | } [INFO] [stdout] 492 ~ } _ => { [INFO] [stdout] 493 | let insert_command = if command_itself { [INFO] [stdout] ... [INFO] [stdout] 509 | } [INFO] [stdout] 510 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/hook/init.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(aliases) = matches.get_many::("aliases").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/internal/commands/builtin/hook/init.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 126 ~ match matches.get_many::("aliases").clone() { Some(aliases) => { [INFO] [stdout] 127 | aliases [INFO] [stdout] ... [INFO] [stdout] 130 | .collect::>() [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | Vec::new() [INFO] [stdout] 133 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/hook/init.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(command_aliases) = matches.get_many::("command_aliases").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/internal/commands/builtin/hook/init.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | } 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] 137 ~ match matches.get_many::("command_aliases").clone() { Some(command_aliases) => { [INFO] [stdout] 138 | command_aliases [INFO] [stdout] ... [INFO] [stdout] 144 | .collect::>() [INFO] [stdout] 145 ~ } _ => { [INFO] [stdout] 146 | Vec::new() [INFO] [stdout] 147 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/config/bootstrap.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | if let Err(err) = ConfigLoader::edit_main_user_config_file(|config_value| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 350 | || // Dump our config object as yaml [INFO] [stdout] 351 | || let yaml = serde_yaml::to_string(&config); [INFO] [stdout] ... || [INFO] [stdout] 378 | || true [INFO] [stdout] 379 | || }) { [INFO] [stdout] | ||__________^ 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/internal/commands/builtin/config/bootstrap.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 349 ~ match ConfigLoader::edit_main_user_config_file(|config_value| { [INFO] [stdout] 350 | // Dump our config object as yaml [INFO] [stdout] ... [INFO] [stdout] 378 | true [INFO] [stdout] 379 ~ }) { Err(err) => { [INFO] [stdout] 380 | return Err(format!("Failed to update user configuration: {}", err)); [INFO] [stdout] 381 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/config/bootstrap.rs:1006:24 [INFO] [stdout] | [INFO] [stdout] 1006 | if let Err(err) = std::fs::create_dir_all(parent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/config/bootstrap.rs:1013:21 [INFO] [stdout] | [INFO] [stdout] 1013 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1006 ~ match std::fs::create_dir_all(parent) { Err(err) => { [INFO] [stdout] 1007 | return Err(format!( [INFO] [stdout] ... [INFO] [stdout] 1012 | .light_red()); [INFO] [stdout] 1013 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/config/bootstrap.rs:1019:20 [INFO] [stdout] | [INFO] [stdout] 1019 | if let Err(err) = std::fs::File::create(&canonicalized) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/config/bootstrap.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1019 ~ match std::fs::File::create(&canonicalized) { Err(err) => { [INFO] [stdout] 1020 | return Err(format!( [INFO] [stdout] ... [INFO] [stdout] 1025 | .light_red()); [INFO] [stdout] 1026 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/scope.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | let scope = if let Some(scope) = matches.get_one::("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/internal/commands/builtin/scope.rs:88:9 [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 scope = match matches.get_one::("scope") { Some(scope) => { [INFO] [stdout] 87 | scope.to_string() [INFO] [stdout] 88 ~ } _ => { [INFO] [stdout] 89 | omni_error!("no scope specified"); [INFO] [stdout] 90 | exit(1); [INFO] [stdout] 91 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/status.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(captures) = regex_keys.captures(line) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/status.rs:308:17 [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] 304 ~ match regex_keys.captures(line) { Some(captures) => { [INFO] [stdout] 305 | let key = captures.get(3).unwrap().as_str(); [INFO] [stdout] 306 | let colored_key = key.light_cyan(); [INFO] [stdout] 307 | line.replace(key, &colored_key) [INFO] [stdout] 308 ~ } _ => { [INFO] [stdout] 309 | line.to_string() [INFO] [stdout] 310 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(search_paths) = matches.get_many::("search-path").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/internal/commands/builtin/tidy.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } 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] 102 ~ match matches.get_many::("search-path").clone() { Some(search_paths) => { [INFO] [stdout] 103 | search_paths [INFO] [stdout] ... [INFO] [stdout] 106 | .collect::>() [INFO] [stdout] 107 ~ } _ => { [INFO] [stdout] 108 | HashSet::new() [INFO] [stdout] 109 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | let up_args = if let Some(up_args) = matches.get_many::("up-args").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/internal/commands/builtin/tidy.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } 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] 111 ~ let up_args = match matches.get_many::("up-args").clone() { Some(up_args) => { [INFO] [stdout] 112 | up_args [INFO] [stdout] ... [INFO] [stdout] 115 | .collect::>() [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | vec![] [INFO] [stdout] 118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(progress_bar) = &progress_bar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/tidy.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | } 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] 496 ~ match &progress_bar { Some(progress_bar) => { [INFO] [stdout] 497 | progress_bar.println(s); [INFO] [stdout] 498 ~ } _ => { [INFO] [stdout] 499 | eprintln!("{}", s); [INFO] [stdout] 500 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:513:24 [INFO] [stdout] | [INFO] [stdout] 513 | if let Some(pb) = progress_bar.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/internal/commands/builtin/tidy.rs:515:21 [INFO] [stdout] | [INFO] [stdout] 515 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 513 ~ match progress_bar.as_ref() { Some(pb) => { [INFO] [stdout] 514 | pb.inc(1) [INFO] [stdout] 515 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:522:24 [INFO] [stdout] | [INFO] [stdout] 522 | if let Some(pb) = progress_bar.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/internal/commands/builtin/tidy.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 522 ~ match progress_bar.as_ref() { Some(pb) => { [INFO] [stdout] 523 | pb.inc(1) [INFO] [stdout] 524 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 634 | if let Some(s) = spinner.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/internal/commands/builtin/tidy.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 634 ~ match spinner.clone() { Some(s) => { [INFO] [stdout] 635 | s.tick() [INFO] [stdout] 636 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:657:16 [INFO] [stdout] | [INFO] [stdout] 657 | if let Some(s) = spinner.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/internal/commands/builtin/tidy.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | } [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 spinner.clone() { Some(s) => { [INFO] [stdout] 658 | s.tick() [INFO] [stdout] 659 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:784:20 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(path_list) = config_path.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/internal/commands/builtin/tidy.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | } [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 config_path.get(key) { Some(path_list) => { [INFO] [stdout] 785 | if let Some(path_list) = path_list.as_array() { [INFO] [stdout] ... [INFO] [stdout] 794 | } [INFO] [stdout] 795 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:785:24 [INFO] [stdout] | [INFO] [stdout] 785 | if let Some(path_list) = path_list.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/tidy.rs:794:21 [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] 785 ~ match path_list.as_array() { Some(path_list) => { [INFO] [stdout] 786 | for value in path_list { [INFO] [stdout] ... [INFO] [stdout] 793 | } [INFO] [stdout] 794 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:789:36 [INFO] [stdout] | [INFO] [stdout] 789 | ... if let ConfigSource::File(path) = value.get_source() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/tidy.rs:791:33 [INFO] [stdout] | [INFO] [stdout] 791 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 789 ~ match value.get_source() { ConfigSource::File(path) => { [INFO] [stdout] 790 | files_to_edit.insert(path.clone()); [INFO] [stdout] 791 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/tidy.rs:834:16 [INFO] [stdout] | [INFO] [stdout] 834 | 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/internal/commands/builtin/tidy.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | } 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] 834 ~ match result { Err(err) => { [INFO] [stdout] 835 | println(format!( [INFO] [stdout] ... [INFO] [stdout] 846 | )); [INFO] [stdout] 847 ~ } _ => { [INFO] [stdout] 848 | println(format!( [INFO] [stdout] ... [INFO] [stdout] 858 | )); [INFO] [stdout] 859 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(clone_suggested) = matches.get_one::("clone-suggested") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | } else if bootstrap { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 175 ~ match matches.get_one::("clone-suggested") { Some(clone_suggested) => { [INFO] [stdout] 176 | clone_suggested [INFO] [stdout] ... [INFO] [stdout] 179 | .unwrap() [INFO] [stdout] 180 ~ } _ => if bootstrap { [INFO] [stdout] 181 | UpCommandArgsCloneSuggestedOptions::Ask [INFO] [stdout] 182 | } else { [INFO] [stdout] 183 | UpCommandArgsCloneSuggestedOptions::Unset [INFO] [stdout] 184 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let trust = if let Some(trust) = matches.get_one::("trust") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | } 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] 186 ~ let trust = match matches.get_one::("trust") { Some(trust) => { [INFO] [stdout] 187 | trust [INFO] [stdout] ... [INFO] [stdout] 190 | .unwrap() [INFO] [stdout] 191 ~ } _ => { [INFO] [stdout] 192 | UpCommandArgsTrustOptions::Check [INFO] [stdout] 193 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | } else if let Some(prompts) = matches.get_occurrences("prompt") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.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] 200 ~ } else { match matches.get_occurrences("prompt") { Some(prompts) => { [INFO] [stdout] 201 | prompt_ids = prompts [INFO] [stdout] ... [INFO] [stdout] 213 | prompt = !prompt_ids.is_empty(); [INFO] [stdout] 214 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(update_user_config) = matches.get_one::("update-user-config") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } else if bootstrap { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match matches.get_one::("update-user-config") { Some(update_user_config) => { [INFO] [stdout] 218 | update_user_config [INFO] [stdout] ... [INFO] [stdout] 221 | .unwrap() [INFO] [stdout] 222 ~ } _ => if bootstrap { [INFO] [stdout] 223 | UpCommandArgsUpdateUserConfigOptions::Ask [INFO] [stdout] 224 | } else { [INFO] [stdout] 225 | UpCommandArgsUpdateUserConfigOptions::Unset [INFO] [stdout] 226 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | if let Ok(_result) = 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/internal/commands/builtin/up.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | } 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] 534 ~ match result { Ok(_result) => { [INFO] [stdout] 535 | if any_change_to_apply { [INFO] [stdout] ... [INFO] [stdout] 541 | } [INFO] [stdout] 542 ~ } _ => { [INFO] [stdout] 543 | omni_error!(format!("Unable to update user configuration: {:?}", result)); [INFO] [stdout] 544 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | if let Err(err) = RepositoriesCache::exclusive(|repos| match workdir(".").id() { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 547 | || Some(wd_id) => { [INFO] [stdout] 548 | || repos.update_fingerprint(&wd_id, "suggest_config", fingerprint(&suggest_config)) [INFO] [stdout] 549 | || } [INFO] [stdout] 550 | || None => false, [INFO] [stdout] 551 | || }) { [INFO] [stdout] | ||__________^ 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/internal/commands/builtin/up.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ match RepositoriesCache::exclusive(|repos| match workdir(".").id() { [INFO] [stdout] 547 | Some(wd_id) => { [INFO] [stdout] ... [INFO] [stdout] 550 | None => false, [INFO] [stdout] 551 ~ }) { Err(err) => { [INFO] [stdout] 552 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 553 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:570:16 [INFO] [stdout] | [INFO] [stdout] 570 | if let Some(key_suggest_config) = suggest_config.select_keys(vec![key.to_string()]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | } [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 suggest_config.select_keys(vec![key.to_string()]) { Some(key_suggest_config) => { [INFO] [stdout] 571 | let mut after = before.clone(); [INFO] [stdout] ... [INFO] [stdout] 595 | split_suggestions.push(key_suggest_config.clone()); [INFO] [stdout] 596 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:642:20 [INFO] [stdout] | [INFO] [stdout] 642 | if let Err(err) = RepositoriesCache::exclusive(|repos| { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 643 | || repos.update_fingerprint( [INFO] [stdout] 644 | || &wd_id, [INFO] [stdout] 645 | || "suggest_clone", [INFO] [stdout] 646 | || fingerprint(&suggest_clone_repositories), [INFO] [stdout] 647 | || ) [INFO] [stdout] 648 | || }) { [INFO] [stdout] | ||__________________^ 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/internal/commands/builtin/up.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 642 ~ match RepositoriesCache::exclusive(|repos| { [INFO] [stdout] 643 | repos.update_fingerprint( [INFO] [stdout] ... [INFO] [stdout] 647 | ) [INFO] [stdout] 648 ~ }) { Err(err) => { [INFO] [stdout] 649 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 650 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:888:24 [INFO] [stdout] | [INFO] [stdout] 888 | if let Some(existing_repo) = new_suggest_clone.take(&new_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/internal/commands/builtin/up.rs:909:21 [INFO] [stdout] | [INFO] [stdout] 909 | } 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] 888 ~ match new_suggest_clone.take(&new_repo) { Some(existing_repo) => { [INFO] [stdout] 889 | let mut suggested_by = existing_repo.suggested_by.clone(); [INFO] [stdout] ... [INFO] [stdout] 908 | }); [INFO] [stdout] 909 ~ } _ => { [INFO] [stdout] 910 | new_suggest_clone.insert(new_repo.clone()); [INFO] [stdout] 911 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1218:16 [INFO] [stdout] | [INFO] [stdout] 1218 | if let Err(err) = operation.dump_to_file(sync_file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:1220:13 [INFO] [stdout] | [INFO] [stdout] 1220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1218 ~ match operation.dump_to_file(sync_file) { Err(err) => { [INFO] [stdout] 1219 | omni_error!(format!("failed to write sync file: {}", err)); [INFO] [stdout] 1220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1396:16 [INFO] [stdout] | [INFO] [stdout] 1396 | if let Err(err) = std::env::set_current_dir(wd_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/internal/commands/builtin/up.rs:1403:13 [INFO] [stdout] | [INFO] [stdout] 1403 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1396 ~ match std::env::set_current_dir(wd_root) { Err(err) => { [INFO] [stdout] 1397 | omni_error!(format!( [INFO] [stdout] ... [INFO] [stdout] 1402 | exit(1); [INFO] [stdout] 1403 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1593:16 [INFO] [stdout] | [INFO] [stdout] 1593 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 1594 | || let wd = workdir("."); [INFO] [stdout] 1595 | || if let Some(workdir_id) = wd.id() { [INFO] [stdout] 1596 | || if let Some(env_vars) = env_vars.clone() { [INFO] [stdout] ... || [INFO] [stdout] 1604 | || } [INFO] [stdout] 1605 | || }) { [INFO] [stdout] | ||______________^ 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/internal/commands/builtin/up.rs:1613:13 [INFO] [stdout] | [INFO] [stdout] 1613 | } else if env_vars.is_some() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1593 ~ match UpEnvironmentsCache::exclusive(|up_env| { [INFO] [stdout] 1594 | let wd = workdir("."); [INFO] [stdout] ... [INFO] [stdout] 1604 | } [INFO] [stdout] 1605 ~ }) { Err(err) => { [INFO] [stdout] 1606 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1612 | ); [INFO] [stdout] 1613 ~ } _ => if env_vars.is_some() { [INFO] [stdout] 1614 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1617 | ); [INFO] [stdout] 1618 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1654:23 [INFO] [stdout] | [INFO] [stdout] 1654 | } else if let Err(err) = up_config.down(&options) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/builtin/up.rs:1663:13 [INFO] [stdout] | [INFO] [stdout] 1663 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1654 ~ } else { match up_config.down(&options) { Err(err) => { [INFO] [stdout] 1655 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1662 | self.handle_sync_operation(SyncUpdateOperation::Exit(1), &options); [INFO] [stdout] 1663 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/builtin/up.rs:1642:24 [INFO] [stdout] | [INFO] [stdout] 1642 | if let Err(err) = RepositoriesCache::exclusive(|repos| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 1643 | || repos.update_fingerprint(&wd_id, "head_commit", fingerprint(&git_commit)) [INFO] [stdout] 1644 | || }) { [INFO] [stdout] | ||______________________^ 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/internal/commands/builtin/up.rs:1652:21 [INFO] [stdout] | [INFO] [stdout] 1652 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1642 ~ match RepositoriesCache::exclusive(|repos| { [INFO] [stdout] 1643 | repos.update_fingerprint(&wd_id, "head_commit", fingerprint(&git_commit)) [INFO] [stdout] 1644 ~ }) { Err(err) => { [INFO] [stdout] 1645 | self.handle_sync_operation( [INFO] [stdout] ... [INFO] [stdout] 1651 | ); [INFO] [stdout] 1652 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/frompath.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | if let Ok(canon) = std::fs::canonicalize(&self.source) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/frompath.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 213 ~ match std::fs::canonicalize(&self.source) { Ok(canon) => { [INFO] [stdout] 214 | canon.to_str().unwrap().to_string() [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | self.source.clone() [INFO] [stdout] 217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/frompath.rs:391:16 [INFO] [stdout] | [INFO] [stdout] 391 | if let Ok(file) = File::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/internal/commands/frompath.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 391 ~ match File::open(path) { Ok(file) => { [INFO] [stdout] 392 | if let Ok(mut md) = serde_yaml::from_reader::<_, Self>(file) { [INFO] [stdout] ... [INFO] [stdout] 399 | } [INFO] [stdout] 400 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/frompath.rs:392:20 [INFO] [stdout] | [INFO] [stdout] 392 | if let Ok(mut md) = serde_yaml::from_reader::<_, Self>(file) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/commands/frompath.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 392 ~ match serde_yaml::from_reader::<_, Self>(file) { Ok(mut md) => { [INFO] [stdout] 393 | // If the help is not empty, split it into lines [INFO] [stdout] ... [INFO] [stdout] 398 | return Some(md); [INFO] [stdout] 399 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/commands/loader.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | if let Some(parent_command) = matched_commands [INFO] [stdout] | ________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 256 | || .clone() [INFO] [stdout] 257 | || .into_iter() [INFO] [stdout] 258 | || .find(|x| x.match_level == match_pos as f32 && x.match_name.len() == match_pos) [INFO] [stdout] | ||_______________________________________________________________________________________________^ 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/internal/commands/loader.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] 255 ~ match matched_commands [INFO] [stdout] 256 | .clone() [INFO] [stdout] 257 | .into_iter() [INFO] [stdout] 258 | .find(|x| x.match_level == match_pos as f32 && x.match_name.len() == match_pos) [INFO] [stdout] 259 ~ { Some(parent_command) => { [INFO] [stdout] 260 | if parent_command.command.autocompletion() { [INFO] [stdout] ... [INFO] [stdout] 272 | } [INFO] [stdout] 273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(new_value) = value.reject_scope(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/internal/config/config_value.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match value.reject_scope(scope) { Some(new_value) => { [INFO] [stdout] 220 | new_mapping.insert(key.to_owned(), new_value); [INFO] [stdout] 221 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(new_value) = value.reject_scope(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/internal/config/config_value.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match value.reject_scope(scope) { Some(new_value) => { [INFO] [stdout] 235 | new_sequence.push(new_value); [INFO] [stdout] 236 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:262:28 [INFO] [stdout] | [INFO] [stdout] 262 | if let Some(new_value) = value.select_scope(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/internal/config/config_value.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match value.select_scope(scope) { Some(new_value) => { [INFO] [stdout] 263 | new_mapping.insert(key.to_owned(), new_value); [INFO] [stdout] 264 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(new_value) = value.select_scope(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/internal/config/config_value.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 277 ~ match value.select_scope(scope) { Some(new_value) => { [INFO] [stdout] 278 | new_sequence.push(new_value); [INFO] [stdout] 279 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 684 | if let (Some(self_value), Some(other_value)) = (&mut self.value, other.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/internal/config/config_value.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | } 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] 684 ~ match (&mut self.value, other.value) { (Some(self_value), Some(other_value)) => { [INFO] [stdout] 685 | let _cloned_self_value = self_value.clone(); [INFO] [stdout] ... [INFO] [stdout] 829 | } [INFO] [stdout] 830 ~ } _ => { [INFO] [stdout] 831 | omni_error!("error parsing configuration files"); [INFO] [stdout] 832 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:897:12 [INFO] [stdout] | [INFO] [stdout] 897 | if let Some(data) = self.value.as_mut().map(|data| data.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/internal/config/config_value.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 955 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 897 ~ match self.value.as_mut().map(|data| data.as_mut()) { Some(data) => { [INFO] [stdout] 898 | if let ConfigData::Value(value) = data { [INFO] [stdout] ... [INFO] [stdout] 954 | } [INFO] [stdout] 955 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | if let Some(ref value) = self.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/internal/config/config_value.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | } 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] 963 ~ match self.value { Some(ref value) => { [INFO] [stdout] 964 | match **value { [INFO] [stdout] ... [INFO] [stdout] 968 | } [INFO] [stdout] 969 ~ } _ => { [INFO] [stdout] 970 | true [INFO] [stdout] 971 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/config_value.rs:979:12 [INFO] [stdout] | [INFO] [stdout] 979 | if let Some(ref value) = self.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/internal/config/config_value.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | } 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] 979 ~ match self.value { Some(ref value) => { [INFO] [stdout] 980 | match **value { [INFO] [stdout] ... [INFO] [stdout] 999 | } [INFO] [stdout] 1000 ~ } _ => { [INFO] [stdout] 1001 | serde_yaml::Value::Null [INFO] [stdout] 1002 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/loader.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | if let Ok(metadata) = config_file.metadata() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/loader.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 209 ~ match config_file.metadata() { Ok(metadata) => { [INFO] [stdout] 210 | if config_file.is_file() { [INFO] [stdout] ... [INFO] [stdout] 220 | } [INFO] [stdout] 221 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/loader.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | if let Ok(metadata) = parent.metadata() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/loader.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 239 ~ match parent.metadata() { Ok(metadata) => { [INFO] [stdout] 240 | let permissions = metadata.permissions(); [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] 248 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(command_syntax) = CommandSyntax::from_config_value(&config_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/internal/config/parser/command_definition.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } 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] 118 ~ match CommandSyntax::from_config_value(&config_value) { Some(command_syntax) => { [INFO] [stdout] 119 | Ok(command_syntax) [INFO] [stdout] 120 ~ } _ => { [INFO] [stdout] 121 | Err(serde::de::Error::custom("invalid command syntax")) [INFO] [stdout] 122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 135 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | } else if let Some(value) = config_value.as_str() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 129 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 130 | parameters.extend( [INFO] [stdout] ... [INFO] [stdout] 134 | ); [INFO] [stdout] 135 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 136 | let keys = [ [INFO] [stdout] ... [INFO] [stdout] 163 | } [INFO] [stdout] 164 ~ } _ => if let Some(value) = config_value.as_str() { [INFO] [stdout] 165 | usage = Some(value.to_string()); [INFO] [stdout] 166 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(value) = table.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/internal/config/parser/command_definition.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 146 ~ match table.get(key) { Some(value) => { [INFO] [stdout] 147 | if let Some(value) = value.as_array() { [INFO] [stdout] ... [INFO] [stdout] 155 | } [INFO] [stdout] 156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | if let Some(value) = value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | } else if let Some(arg) = SyntaxOptArg::from_config_value(value, required) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 147 ~ match value.as_array() { Some(value) => { [INFO] [stdout] 148 | let arguments = value [INFO] [stdout] ... [INFO] [stdout] 152 | parameters.extend(arguments); [INFO] [stdout] 153 ~ } _ => if let Some(arg) = SyntaxOptArg::from_config_value(value, required) { [INFO] [stdout] 154 | parameters.push(arg); [INFO] [stdout] 155 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(value) = table.get("usage") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ match table.get("usage") { Some(value) => { [INFO] [stdout] 160 | if let Some(value) = value.as_str() { [INFO] [stdout] 161 | usage = Some(value.to_string()); [INFO] [stdout] 162 | } [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | } 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] 201 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 202 | let value_for_details; [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] 232 ~ } _ => { [INFO] [stdout] 233 | name = config_value.as_str().unwrap(); [INFO] [stdout] 234 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(name_value) = table.get("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/internal/config/parser/command_definition.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | } else if table.len() == 1 { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 204 ~ match table.get("name") { Some(name_value) => { [INFO] [stdout] 205 | if let Some(name_value) = name_value.as_str() { [INFO] [stdout] ... [INFO] [stdout] 210 | } [INFO] [stdout] 211 ~ } _ => if table.len() == 1 { [INFO] [stdout] 212 | if let Some((key, value)) = table.into_iter().next() { [INFO] [stdout] ... [INFO] [stdout] 219 | return None; [INFO] [stdout] 220 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some((key, value)) = table.into_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/internal/config/parser/command_definition.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | } 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] 212 ~ match table.into_iter().next() { Some((key, value)) => { [INFO] [stdout] 213 | name = key; [INFO] [stdout] 214 | value_for_details = Some(value); [INFO] [stdout] 215 ~ } _ => { [INFO] [stdout] 216 | return None; [INFO] [stdout] 217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some(value_for_details) = value_for_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/command_definition.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 222 ~ match value_for_details { Some(value_for_details) => { [INFO] [stdout] 223 | if let Some(value_str) = value_for_details.as_str() { [INFO] [stdout] ... [INFO] [stdout] 230 | } [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(value_str) = value_for_details.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 224 | desc = Some(value_str.to_string()); [INFO] [stdout] 225 | } else if let Some(value_table) = value_for_details.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | } else if let Some(value_table) = value_for_details.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/command_definition.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | } [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 value_for_details.as_str() { Some(value_str) => { [INFO] [stdout] 224 | desc = Some(value_str.to_string()); [INFO] [stdout] 225 ~ } _ => { match value_for_details.as_table() { Some(value_table) => { [INFO] [stdout] 226 | desc = value_table.get("desc")?.as_str(); [INFO] [stdout] ... [INFO] [stdout] 229 | } [INFO] [stdout] 230 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let operations = if let Some(config_value) = config_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/internal/config/parser/env.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } 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] 56 ~ let operations = match config_value { Some(config_value) => { [INFO] [stdout] 57 | let operations_array = if let Some(array) = config_value.as_array() { [INFO] [stdout] ... [INFO] [stdout] 83 | .collect() [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | vec![] [INFO] [stdout] 86 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | let operations_array = if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 58 | array [INFO] [stdout] 59 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | } 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] 57 ~ let operations_array = match config_value.as_array() { Some(array) => { [INFO] [stdout] 58 | array [INFO] [stdout] 59 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 60 | // If this is a map, create a list of individual maps for each [INFO] [stdout] ... [INFO] [stdout] 74 | .collect::>() [INFO] [stdout] 75 ~ } _ => { [INFO] [stdout] 76 | // Unsupported type [INFO] [stdout] 77 | vec![] [INFO] [stdout] 78 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 119 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } 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] 105 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 106 | array [INFO] [stdout] ... [INFO] [stdout] 118 | .collect() [INFO] [stdout] 119 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 120 | if let Some(value) = Self::from_table(name, table, operation) { [INFO] [stdout] ... [INFO] [stdout] 124 | } [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | let mut table = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 133 | } [INFO] [stdout] 134 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(value) = Self::from_table(name, table, operation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } 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] 120 ~ match Self::from_table(name, table, operation) { Some(value) => { [INFO] [stdout] 121 | vec![value] [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | vec![] [INFO] [stdout] 124 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(value) = Self::from_table(name, table, operation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 129 ~ match Self::from_table(name, table, operation) { Some(value) => { [INFO] [stdout] 130 | vec![value] [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | vec![] [INFO] [stdout] 133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let value = if let Some(config_value) = table.get("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/internal/config/parser/env.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 153 ~ let value = match table.get("value") { Some(config_value) => { [INFO] [stdout] 154 | if let Some(value) = config_value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 180 | } [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | None [INFO] [stdout] 183 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | let table = if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | } 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] 198 ~ let table = match config_value.as_table() { Some(table) => { [INFO] [stdout] 199 | table [INFO] [stdout] 200 ~ } _ => { [INFO] [stdout] 201 | return vec![]; [INFO] [stdout] 202 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | if let Some(table) = value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | } else if let Some(value) = [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 214 ~ match value.as_table() { Some(table) => { [INFO] [stdout] 215 | if let Some(config_value) = table.get("set") { [INFO] [stdout] ... [INFO] [stdout] 281 | } [INFO] [stdout] 282 ~ } _ => if let Some(value) = [INFO] [stdout] 283 | Self::from_config_value_multi(name, value, EnvOperationEnum::Set).pop() [INFO] [stdout] ... [INFO] [stdout] 287 | vec![] [INFO] [stdout] 288 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/env.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | if let Some(value) = Self::from_table(name, table, EnvOperationEnum::Set) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/env.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | } 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] 277 ~ match Self::from_table(name, table, EnvOperationEnum::Set) { Some(value) => { [INFO] [stdout] 278 | vec![value] [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | vec![] [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.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] 72 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 73 | array [INFO] [stdout] ... [INFO] [stdout] 76 | .collect() [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | vec![GithubAuthConfigWithFilters::from_config_value( [INFO] [stdout] 79 | &config_value, [INFO] [stdout] 80 | )] [INFO] [stdout] 81 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(string) = config_value.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 143 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 130 ~ match config_value.as_str() { Some(string) => { [INFO] [stdout] 131 | return match string.as_str() { [INFO] [stdout] ... [INFO] [stdout] 142 | }; [INFO] [stdout] 143 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 144 | if let Some(skip) = table.get("skip") { [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/internal/config/parser/github.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if let Some(gh_value) = table.get("gh") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match table.get("gh") { Some(gh_value) => { [INFO] [stdout] 163 | let mut hostname = None; [INFO] [stdout] ... [INFO] [stdout] 177 | return Self::GhCli { hostname, user }; [INFO] [stdout] 178 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(gh_table) = gh_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | } else if let Some(gh_string) = gh_value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match gh_value.as_table() { Some(gh_table) => { [INFO] [stdout] 167 | if let Some(hostname_value) = gh_table.get("hostname") { [INFO] [stdout] ... [INFO] [stdout] 172 | } [INFO] [stdout] 173 ~ } _ => if let Some(gh_string) = gh_value.as_str_forced() { [INFO] [stdout] 174 | hostname = Some(gh_string.to_string()); [INFO] [stdout] 175 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(user_value) = gh_table.get("user") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/github.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match gh_table.get("user") { Some(user_value) => { [INFO] [stdout] 171 | user = user_value.as_str_forced(); [INFO] [stdout] 172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(string) = config_value.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 236 | } else if let Some(table) = config_value.as_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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | } 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] 233 ~ match config_value.as_str() { Some(string) => { [INFO] [stdout] 234 | // If a string is provided, use it as a glob pattern by default [INFO] [stdout] 235 | StringFilter::Glob(string.to_string()) [INFO] [stdout] 236 ~ } _ => { match config_value.as_table() { Some(table) => { [INFO] [stdout] 237 | if let Some(entry) = table.get("contains") { [INFO] [stdout] ... [INFO] [stdout] 275 | } [INFO] [stdout] 276 ~ } _ => { [INFO] [stdout] 277 | Self::default() [INFO] [stdout] 278 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(entry) = table.get("contains") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 243 | } else if let Some(entry) = table.get("starts_with") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 249 | } else if let Some(entry) = table.get("ends_with") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 255 | } else if let Some(entry) = table.get("regex") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 261 | } else if let Some(entry) = table.get("glob") { [INFO] [stdout] | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 267 | } else if let Some(entry) = table.get("exact") { [INFO] [stdout] | ----- 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/internal/config/parser/github.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } else if let Some(entry) = table.get("starts_with") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } else if let Some(entry) = table.get("ends_with") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | } else if let Some(entry) = table.get("regex") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } else if let Some(entry) = table.get("glob") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | } else if let Some(entry) = table.get("exact") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/github.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | } 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] 237 ~ match table.get("contains") { Some(entry) => { [INFO] [stdout] 238 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 242 | } [INFO] [stdout] 243 ~ } _ => { match table.get("starts_with") { Some(entry) => { [INFO] [stdout] 244 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 248 | } [INFO] [stdout] 249 ~ } _ => { match table.get("ends_with") { Some(entry) => { [INFO] [stdout] 250 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 254 | } [INFO] [stdout] 255 ~ } _ => { match table.get("regex") { Some(entry) => { [INFO] [stdout] 256 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 260 | } [INFO] [stdout] 261 ~ } _ => { match table.get("glob") { Some(entry) => { [INFO] [stdout] 262 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 266 | } [INFO] [stdout] 267 ~ } _ => { match table.get("exact") { Some(entry) => { [INFO] [stdout] 268 | if let Some(value) = entry.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 272 | } [INFO] [stdout] 273 ~ } _ => { [INFO] [stdout] 274 | Self::default() [INFO] [stdout] 275 ~ }}}}}}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/omniconfig.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(value) = value.reject_scope(&ConfigScope::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/internal/config/parser/omniconfig.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match value.reject_scope(&ConfigScope::Workdir) { Some(value) => { [INFO] [stdout] 109 | if let Some(array) = value.as_array() { [INFO] [stdout] ... [INFO] [stdout] 113 | } [INFO] [stdout] 114 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/omniconfig.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(array) = value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/omniconfig.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match value.as_array() { Some(array) => { [INFO] [stdout] 110 | for value in array { [INFO] [stdout] 111 | org_config.push(OrgConfig::from_config_value(&value)); [INFO] [stdout] 112 | } [INFO] [stdout] 113 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/omniconfig.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if let Ok(up_str) = serde_yaml::to_string(&up) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/omniconfig.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } [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 serde_yaml::to_string(&up) { Ok(up_str) => { [INFO] [stdout] 191 | config_hasher.update(up_str.as_bytes()); [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(package) = config_value.get("package") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/path.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | } [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 config_value.get("package") { Some(package) => { [INFO] [stdout] 80 | let package = package.as_str().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 92 | } [INFO] [stdout] 93 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let self_update = if let Some(value) = config_value.get_as_bool("self_update") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 85 | PathRepoUpdatesSelfUpdateEnum::from_bool(value) [INFO] [stdout] 86 | } else if let Some(value) = config_value.get_as_str("self_update") { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 87 | PathRepoUpdatesSelfUpdateEnum::from_str(&value) [INFO] [stdout] 88 | } else if let Some(value) = config_value.get_as_integer("self_update") { [INFO] [stdout] | ------------ 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/internal/config/parser/path_repo_updates.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | } else if let Some(value) = config_value.get_as_str("self_update") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | } else if let Some(value) = config_value.get_as_integer("self_update") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | } 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] 84 ~ let self_update = match config_value.get_as_bool("self_update") { Some(value) => { [INFO] [stdout] 85 | PathRepoUpdatesSelfUpdateEnum::from_bool(value) [INFO] [stdout] 86 ~ } _ => { match config_value.get_as_str("self_update") { Some(value) => { [INFO] [stdout] 87 | PathRepoUpdatesSelfUpdateEnum::from_str(&value) [INFO] [stdout] 88 ~ } _ => { match config_value.get_as_integer("self_update") { Some(value) => { [INFO] [stdout] 89 | PathRepoUpdatesSelfUpdateEnum::from_int(value) [INFO] [stdout] 90 ~ } _ => { [INFO] [stdout] 91 | PathRepoUpdatesSelfUpdateEnum::default() [INFO] [stdout] 92 ~ }}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(value) = config_value.get_as_bool("on_command_not_found") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 96 | PathRepoUpdatesOnCommandNotFoundEnum::from_bool(value) [INFO] [stdout] 97 | } else if let Some(value) = config_value.get_as_str("on_command_not_found") { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 98 | PathRepoUpdatesOnCommandNotFoundEnum::from_str(&value) [INFO] [stdout] 99 | } else if let Some(value) = config_value.get_as_integer("on_command_not_found") { [INFO] [stdout] | ------------ 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/internal/config/parser/path_repo_updates.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | } else if let Some(value) = config_value.get_as_str("on_command_not_found") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | } else if let Some(value) = config_value.get_as_integer("on_command_not_found") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/path_repo_updates.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 95 ~ match config_value.get_as_bool("on_command_not_found") { Some(value) => { [INFO] [stdout] 96 | PathRepoUpdatesOnCommandNotFoundEnum::from_bool(value) [INFO] [stdout] 97 ~ } _ => { match config_value.get_as_str("on_command_not_found") { Some(value) => { [INFO] [stdout] 98 | PathRepoUpdatesOnCommandNotFoundEnum::from_str(&value) [INFO] [stdout] 99 ~ } _ => { match config_value.get_as_integer("on_command_not_found") { Some(value) => { [INFO] [stdout] 100 | PathRepoUpdatesOnCommandNotFoundEnum::from_int(value) [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | PathRepoUpdatesOnCommandNotFoundEnum::default() [INFO] [stdout] 103 ~ }}}}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 41 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 42 | let prompts = array [INFO] [stdout] ... [INFO] [stdout] 57 | return Self { prompts }; [INFO] [stdout] 58 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 340 | if let Some(default) = default.as_str().map(|s| s.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 340 ~ match default.as_str().map(|s| s.to_string()) { Some(default) => { [INFO] [stdout] 341 | question = question.default(default); [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:359:24 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(default) = default.as_bool() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match default.as_bool() { Some(default) => { [INFO] [stdout] 360 | question = question.default(default); [INFO] [stdout] 361 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:392:24 [INFO] [stdout] | [INFO] [stdout] 392 | if let Some(default) = default.as_str().map(|s| s.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 392 ~ match default.as_str().map(|s| s.to_string()) { Some(default) => { [INFO] [stdout] 393 | // Find the index of the default choice [INFO] [stdout] ... [INFO] [stdout] 397 | } [INFO] [stdout] 398 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:437:28 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(default) = default.as_str().map(|s| s.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:445:25 [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] 437 ~ match default.as_str().map(|s| s.to_string()) { Some(default) => { [INFO] [stdout] 438 | // Find the index of the default choice [INFO] [stdout] ... [INFO] [stdout] 444 | } [INFO] [stdout] 445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 463 | if let Some(default) = default.as_i64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:465:21 [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] 463 ~ match default.as_i64() { Some(default) => { [INFO] [stdout] 464 | question = question.default(default); [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:515:24 [INFO] [stdout] | [INFO] [stdout] 515 | if let Some(default) = default.as_f64() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:517:21 [INFO] [stdout] | [INFO] [stdout] 517 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 515 ~ match default.as_f64() { Some(default) => { [INFO] [stdout] 516 | question = question.default(default); [INFO] [stdout] 517 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:651:12 [INFO] [stdout] | [INFO] [stdout] 651 | if let Err(err) = PromptsCache::exclusive(|cache| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________| [INFO] [stdout] 652 | || cache.add_answer(id, scope_org, scope_repo, serde_yaml_answer); [INFO] [stdout] 653 | || true [INFO] [stdout] 654 | || }) { [INFO] [stdout] | ||__________^ 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/internal/config/parser/prompts.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | } 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] 651 ~ match PromptsCache::exclusive(|cache| { [INFO] [stdout] 652 | cache.add_answer(id, scope_org, scope_repo, serde_yaml_answer); [INFO] [stdout] 653 | true [INFO] [stdout] 654 ~ }) { Err(err) => { [INFO] [stdout] 655 | omni_warning!(format!("failed to update cache: {}", err)); [INFO] [stdout] 656 | false [INFO] [stdout] 657 ~ } _ => { [INFO] [stdout] 658 | true [INFO] [stdout] 659 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | } else if let Some(string) = config_value.as_str_forced() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 671 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 672 | let choices = array [INFO] [stdout] ... [INFO] [stdout] 681 | } [INFO] [stdout] 682 ~ } _ => if let Some(string) = config_value.as_str_forced() { [INFO] [stdout] 683 | Ok(Self::ChoicesAsString(string.to_string())) [INFO] [stdout] 684 | } else { [INFO] [stdout] 685 | Err("choices must be an array or a template of an array".to_string()) [INFO] [stdout] 686 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/prompts.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/prompts.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | } 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] 738 ~ match config_value.as_table() { Some(table) => { [INFO] [stdout] 739 | let id = table.get("id").and_then(|id| id.as_str()); [INFO] [stdout] ... [INFO] [stdout] 753 | } [INFO] [stdout] 754 ~ } _ => { [INFO] [stdout] 755 | config_value.as_str_forced().map(|choice| Self { [INFO] [stdout] ... [INFO] [stdout] 758 | }) [INFO] [stdout] 759 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/shell_aliases.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Some(array) = config_value.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/shell_aliases.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 ~ match config_value.as_array() { Some(array) => { [INFO] [stdout] 33 | for value in array { [INFO] [stdout] ... [INFO] [stdout] 37 | } [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/shell_aliases.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(alias) = ShellAliasConfig::from_config_value(&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/internal/config/parser/shell_aliases.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 34 ~ match ShellAliasConfig::from_config_value(&value) { Some(alias) => { [INFO] [stdout] 35 | aliases.push(alias); [INFO] [stdout] 36 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/shell_aliases.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/shell_aliases.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | } [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 ~ } else { match config_value.as_table() { Some(table) => { [INFO] [stdout] 60 | let mut alias = None; [INFO] [stdout] ... [INFO] [stdout] 79 | }); [INFO] [stdout] 80 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(config_value) = config_value.select_scope(&ConfigScope::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/internal/config/parser/suggest_clone.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match config_value.select_scope(&ConfigScope::Workdir) { Some(config_value) => { [INFO] [stdout] 62 | return Self::parse_config_value(config_value); [INFO] [stdout] 63 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(array) = array.as_array() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match array.as_array() { Some(array) => { [INFO] [stdout] 84 | return Self { [INFO] [stdout] ... [INFO] [stdout] 91 | }; [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(value) = table.get("template") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 103 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ----- 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/internal/config/parser/suggest_clone.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match table.get("template") { Some(value) => { [INFO] [stdout] 96 | if let Some(value) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => { match table.get("template_file") { Some(value) => { [INFO] [stdout] 104 | if let Some(filepath) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if let Err(err) = template.add_raw_template("suggest_clone", &self.template) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | } [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 template.add_raw_template("suggest_clone", &self.template) { Err(err) => { [INFO] [stdout] 142 | if !quiet { [INFO] [stdout] ... [INFO] [stdout] 146 | return vec![]; [INFO] [stdout] 147 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | if let Err(err) = template.add_template_file(&self.template_file, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ match template.add_template_file(&self.template_file, None) { Err(err) => { [INFO] [stdout] 150 | if !quiet { [INFO] [stdout] ... [INFO] [stdout] 154 | return vec![]; [INFO] [stdout] 155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_clone.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | } else if let Some(table) = config_value.as_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_clone.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 229 ~ } else { match config_value.as_table() { Some(table) => { [INFO] [stdout] 230 | let mut handle = None; [INFO] [stdout] ... [INFO] [stdout] 261 | }); [INFO] [stdout] 262 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(config_value) = config_value.select_scope(&ConfigScope::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/internal/config/parser/suggest_config.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | } [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 config_value.select_scope(&ConfigScope::Workdir) { Some(config_value) => { [INFO] [stdout] 60 | return Self::parse_config_value(config_value); [INFO] [stdout] 61 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | if let Some(value) = table.get("template") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 85 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ----- 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/internal/config/parser/suggest_config.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | } else if let Some(value) = table.get("template_file") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 77 ~ match table.get("template") { Some(value) => { [INFO] [stdout] 78 | if let Some(value) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 84 | } [INFO] [stdout] 85 ~ } _ => { match table.get("template_file") { Some(value) => { [INFO] [stdout] 86 | if let Some(filepath) = value.as_str_forced() { [INFO] [stdout] ... [INFO] [stdout] 92 | } [INFO] [stdout] 93 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if let Err(err) = template.add_raw_template("suggest_config", &self.template) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_config.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] 119 ~ match template.add_raw_template("suggest_config", &self.template) { Err(err) => { [INFO] [stdout] 120 | omni_warning!(tera_render_error_message(err)); [INFO] [stdout] 121 | omni_warning!("suggest_config will be ignored"); [INFO] [stdout] 122 | return ConfigValue::default(); [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/suggest_config.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let Err(err) = template.add_template_file(&self.template_file, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/parser/suggest_config.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 template.add_template_file(&self.template_file, None) { Err(err) => { [INFO] [stdout] 126 | omni_warning!(tera_render_error_message(err)); [INFO] [stdout] 127 | omni_warning!("suggest_config will be ignored"); [INFO] [stdout] 128 | return ConfigValue::default(); [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/parser/up_command.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(preferred_tools) = config_value.get_as_array("preferred_tools") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 48 | } else if let Some(preferred_tool) = config_value.get_as_str_forced("preferred_tools") { [INFO] [stdout] | ------------ 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/internal/config/parser/up_command.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | } else if let Some(preferred_tool) = config_value.get_as_str_forced("preferred_tools") { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/internal/config/parser/up_command.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 43 ~ match config_value.get_as_array("preferred_tools") { Some(preferred_tools) => { [INFO] [stdout] 44 | preferred_tools [INFO] [stdout] ... [INFO] [stdout] 47 | .collect() [INFO] [stdout] 48 ~ } _ => { match config_value.get_as_str_forced("preferred_tools") { Some(preferred_tool) => { [INFO] [stdout] 49 | vec![preferred_tool] [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | Vec::new() [INFO] [stdout] 52 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/base.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(up_config) = UpConfigTool::from_config_value(&up_name, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | 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/internal/config/up/base.rs:67:17 [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] 65 ~ match UpConfigTool::from_config_value(&up_name, None) { Some(up_config) => { [INFO] [stdout] 66 | steps.push(up_config); [INFO] [stdout] 67 ~ } _ => { [INFO] [stdout] 68 | errors.push(UpError::Config(format!( [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/internal/config/up/base.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(up_config) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 87 | | UpConfigTool::from_config_value(up_name, Some(config_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/internal/config/up/base.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | } 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 ~ match UpConfigTool::from_config_value(up_name, Some(config_value)) [INFO] [stdout] 87 ~ { Some(up_config) => { [INFO] [stdout] 88 | steps.push(up_config); [INFO] [stdout] 89 ~ } _ => { [INFO] [stdout] 90 | errors.push(UpError::Config(format!( [INFO] [stdout] ... [INFO] [stdout] 95 | ))); [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/internal/config/up/base.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | if let Err(err) = UpEnvironmentsCache::exclusive(|up_env| up_env.clear(&repo_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/internal/config/up/base.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ match UpEnvironmentsCache::exclusive(|up_env| up_env.clear(&repo_id)) { Err(err) => { [INFO] [stdout] 134 | omni_warning!(format!("failed to update cache: {}", err)); [WARN] too many lines in the log, truncating it