[INFO] fetching crate i3status-rs 0.33.1... [INFO] checking i3status-rs-0.33.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate i3status-rs 0.33.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate i3status-rs 0.33.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate i3status-rs 0.33.1 [INFO] finished tweaking crates.io crate i3status-rs 0.33.1 [INFO] tweaked toml for crates.io crate i3status-rs 0.33.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate i3status-rs 0.33.1 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 394fba9a797c8520b6b20b7576629838dcde0707352b1d761f82e521b8e69bbf [INFO] running `Command { std: "docker" "start" "-a" "394fba9a797c8520b6b20b7576629838dcde0707352b1d761f82e521b8e69bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "394fba9a797c8520b6b20b7576629838dcde0707352b1d761f82e521b8e69bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394fba9a797c8520b6b20b7576629838dcde0707352b1d761f82e521b8e69bbf", kill_on_drop: false }` [INFO] [stdout] 394fba9a797c8520b6b20b7576629838dcde0707352b1d761f82e521b8e69bbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] c9a7bfbb40febd6b2ee2c7383512daef0e8072c7d25ad231fc1aed3bdeeb9285 [INFO] running `Command { std: "docker" "start" "-a" "c9a7bfbb40febd6b2ee2c7383512daef0e8072c7d25ad231fc1aed3bdeeb9285", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking event-listener v5.2.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling libpulse-sys v1.21.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling libsensors-sys v0.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking pure-rust-locales v0.8.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling i3status-rs v0.33.1 (/tmp/fixit) [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking debounced v0.1.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sensors v0.2.2 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking async-pidfd v0.1.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling zvariant_utils v1.1.0 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling zvariant_derive v4.0.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zbus_macros v4.1.2 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling wayrs-proto-parser v2.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Compiling wayrs-scanner v0.13.2 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking libpulse-binding v2.28.1 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking wayrs-client v1.0.3 [INFO] [stderr] Checking backon v0.4.3 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking signal-hook-tokio v0.3.1 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking zvariant v4.0.2 [INFO] [stderr] Checking wayrs-protocols v0.13.2 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.6 [INFO] [stderr] Checking swayipc-types v1.3.1 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking swayipc-async v2.0.2 [INFO] [stderr] Checking toml v0.8.10 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking neli-wifi v0.6.0 [INFO] [stderr] Checking zbus v4.1.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.25 [INFO] [stderr] Checking calibright v0.1.6 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `i3status_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/blocks/nvidia_gpu.rs [INFO] [stderr] * src/blocks/packages.rs [INFO] [stderr] * src/blocks/pacman.rs [INFO] [stderr] * src/blocks/weather.rs [INFO] [stderr] * src/util.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/util.rs:153:70 [INFO] [stderr] | [INFO] [stderr] 153 | (@extend $map:ident $( $([$($cond_tokens:tt)*])? $key:literal => $value: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/util.rs:158:28 [INFO] [stderr] | [INFO] [stderr] 158 | (@extend $map:ident $( $key:expr_2021 => $value: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/util.rs:158:46 [INFO] [stderr] | [INFO] [stderr] 158 | (@extend $map:ident $( $key:expr_2021 => $value: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/util.rs:163:26 [INFO] [stderr] | [INFO] [stderr] 163 | (@insert $map:ident, $key:expr_2021, $value: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/util.rs:163:42 [INFO] [stderr] | [INFO] [stderr] 163 | (@insert $map:ident, $key:expr_2021, $value: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/util.rs:166:26 [INFO] [stderr] | [INFO] [stderr] 166 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if $cond: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/util.rs:166:42 [INFO] [stderr] | [INFO] [stderr] 166 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if $cond: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/util.rs:166:63 [INFO] [stderr] | [INFO] [stderr] 166 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if $cond: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/util.rs:171:26 [INFO] [stderr] | [INFO] [stderr] 171 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if let $pat:pat = $match_on: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/util.rs:171:42 [INFO] [stderr] | [INFO] [stderr] 171 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if let $pat:pat = $match_on: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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:153:77 [INFO] [stdout] | [INFO] [stdout] 153 | (@extend $map:ident $( $([$($cond_tokens:tt)*])? $key:literal => $value: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] 153 | (@extend $map:ident $( $([$($cond_tokens:tt)*])? $key:literal => $value:expr_2021 ),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/util.rs:171:78 [INFO] [stderr] | [INFO] [stderr] 171 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if let $pat:pat = $match_on: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/blocks/nvidia_gpu.rs:212:55 [INFO] [stderr] | [INFO] [stderr] 212 | ($s:ident -> $($part:ident : $t:ident $(* $mul: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/blocks/packages.rs:224:10 [INFO] [stderr] | [INFO] [stderr] 224 | ($name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/blocks/pacman.rs:148:10 [INFO] [stderr] | [INFO] [stderr] 148 | ($name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/blocks/weather.rs:266:41 [INFO] [stderr] | [INFO] [stderr] 266 | ({$($suffix: literal => $src: 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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | (@extend $map:ident $( $key:expr => $value: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] 158 | (@extend $map:ident $( $key:expr_2021 => $value:expr ),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:158:48 [INFO] [stdout] | [INFO] [stdout] 158 | (@extend $map:ident $( $key:expr => $value: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] 158 | (@extend $map:ident $( $key:expr => $value:expr_2021 ),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | (@insert $map:ident, $key:expr, $value: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] 163 | (@insert $map:ident, $key:expr_2021, $value:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | (@insert $map:ident, $key:expr, $value: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] 163 | (@insert $map:ident, $key:expr, $value:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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] 166 | (@insert $map:ident, $key:expr_2021, $value:expr, if $cond:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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] 166 | (@insert $map:ident, $key:expr, $value:expr_2021, if $cond:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:166:59 [INFO] [stdout] | [INFO] [stdout] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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] 171 | (@insert $map:ident, $key:expr_2021, $value:expr, if let $pat:pat = $match_on: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/util.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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] 171 | (@insert $map:ident, $key:expr, $value:expr_2021, if let $pat:pat = $match_on: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/util.rs:171:78 [INFO] [stdout] | [INFO] [stdout] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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/blocks/nvidia_gpu.rs:212:60 [INFO] [stdout] | [INFO] [stdout] 212 | ($s:ident -> $($part:ident : $t:ident $(* $mul: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] 212 | ($s:ident -> $($part:ident : $t:ident $(* $mul: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/blocks/packages.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | ($name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 224 | ($name: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/blocks/pacman.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | ($name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 148 | ($name: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/blocks/weather.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | ({$($suffix: literal => $src: 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] 266 | ({$($suffix: literal => $src: expr_2021),* $(,)?}) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(sender) = &self.action_sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } [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] 181 ~ match &self.action_sender { Some(sender) => { [INFO] [stdout] 182 | if sender.send(action).is_err() { [INFO] [stdout] 183 | self.action_sender = None; [INFO] [stdout] 184 | } [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if let $pat = $match_on { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | widget.set_values(map! { [INFO] [stdout] | ___________________________- [INFO] [stdout] 203 | | "full_error_message" => Value::text(error.to_string()), [INFO] [stdout] 204 | | [if let Some(v) = &error.error.message] "short_error_message" => Value::text(v.to_string()), [INFO] [stdout] | | ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 205 | | }); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | widget.set_values(map! { [INFO] [stdout] | ___________________________- [INFO] [stdout] 203 | | "full_error_message" => Value::text(error.to_string()), [INFO] [stdout] 204 | | [if let Some(v) = &error.error.message] "short_error_message" => Value::text(v.to_string()), [INFO] [stdout] 205 | | }); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | if let Err(error) = self.process_event(restart).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/lib.rs:465:13 [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] 451 ~ match self.process_event(restart).await { Err(error) => { [INFO] [stdout] 452 | let block = &mut self.blocks[error.block_id]; [INFO] [stdout] ... [INFO] [stdout] 464 | self.render(); [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | while let Err(err) = $block::run(&config, &api).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] 145 | / define_blocks!( [INFO] [stdout] 146 | | amd_gpu, [INFO] [stdout] 147 | | #[deprecated( [INFO] [stdout] 148 | | since = "0.33.0", [INFO] [stdout] ... | [INFO] [stdout] 203 | | xrandr, [INFO] [stdout] 204 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | / define_blocks!( [INFO] [stdout] 146 | | amd_gpu, [INFO] [stdout] 147 | | #[deprecated( [INFO] [stdout] 148 | | since = "0.33.0", [INFO] [stdout] ... | [INFO] [stdout] 203 | | xrandr, [INFO] [stdout] 204 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_blocks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/amd_gpu.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/amd_gpu.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | } [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 format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 102 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 103 | break; [INFO] [stdout] 104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/amd_gpu.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | while let Some(entry) = dir.next_entry().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/blocks/amd_gpu.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/apc_ups.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | while let Some(line) = conn.read_line(&mut buf).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/blocks/battery/apc_ups.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/sysfs.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | while let Some(dir) = sysfs_dir [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 90 | || .next_entry() [INFO] [stdout] 91 | || .await [INFO] [stdout] 92 | || .error("failed to read /sys/class/power_supply directory")? [INFO] [stdout] | ||_______________________________________________________________________^ 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/blocks/battery/sysfs.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/upower.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | if let Ok(device_model) = proxy.model().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/blocks/battery/upower.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match proxy.model().await { Ok(device_model) => { [INFO] [stdout] 51 | if !expected_model.eq(&device_model) { [INFO] [stdout] 52 | continue; [INFO] [stdout] 53 | } [INFO] [stdout] 54 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/upower.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(device_conn) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 197 | | DeviceConnection::new(&self.dbus_conn, &self.device, self.dev_model.as_deref()).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/blocks/battery/upower.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match DeviceConnection::new(&self.dbus_conn, &self.device, self.dev_model.as_deref()).await? [INFO] [stdout] 197 ~ { Some(device_conn) => { [INFO] [stdout] 198 | self.device_conn = Some(device_conn); [INFO] [stdout] 199 | break; [INFO] [stdout] 200 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(dev) = &monitor.device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | } [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 &monitor.device { Some(dev) => { [INFO] [stdout] 151 | if let Ok(connected) = dev.device.connected().await { [INFO] [stdout] ... [INFO] [stdout] 158 | } [INFO] [stdout] 159 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | ... if let Ok(connected) = dev.device.connected().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/blocks/bluetooth.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match dev.device.connected().await { Ok(connected) => { [INFO] [stdout] 152 | if connected { [INFO] [stdout] ... [INFO] [stdout] 157 | break; [INFO] [stdout] 158 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(device) = Device::try_find( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 222 | || &self.manager_proxy, [INFO] [stdout] 223 | || &self.mac, [INFO] [stdout] 224 | || self.adapter_mac.as_deref(), [INFO] [stdout] 225 | || ) [INFO] [stdout] 226 | || .await? [INFO] [stdout] | ||___________________________^ 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/blocks/bluetooth.rs:231:21 [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] 221 ~ match Device::try_find( [INFO] [stdout] 222 | &self.manager_proxy, [INFO] [stdout] ... [INFO] [stdout] 226 | .await? [INFO] [stdout] 227 ~ { Some(device) => { [INFO] [stdout] 228 | self.device = Some(device); [INFO] [stdout] 229 | debug!("Device has been added"); [INFO] [stdout] 230 | return Ok(()); [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 155 ~ match format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 156 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 157 | break; [INFO] [stdout] 158 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | if let Ok(boost) = read_file(CPU_BOOST_PATH).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] 261 | Some(boost.starts_with('1')) [INFO] [stdout] 262 | } else if let Ok(no_turbo) = read_file(CPU_NO_TURBO_PATH).await { [INFO] [stdout] | ---------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | } else if let Ok(no_turbo) = read_file(CPU_NO_TURBO_PATH).await { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | } 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 read_file(CPU_BOOST_PATH).await { Ok(boost) => { [INFO] [stdout] 261 | Some(boost.starts_with('1')) [INFO] [stdout] 262 ~ } _ => { match read_file(CPU_NO_TURBO_PATH).await { Ok(no_turbo) => { [INFO] [stdout] 263 | Some(no_turbo.starts_with('0')) [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | None [INFO] [stdout] 266 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/disk_space.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/disk_space.rs:192:25 [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] 189 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 190 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 191 | break; [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/focused_window/sway_ipc.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let Some(new_title) = &e.container.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/blocks/focused_window/sway_ipc.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match &e.container.name { Some(new_title) => { [INFO] [stdout] 50 | self.info.title.push_str(new_title); [INFO] [stdout] 51 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/focused_window/wlr_toplevel_management.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(title) = self.state.new_title.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/focused_window/wlr_toplevel_management.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] 58 ~ match self.state.new_title.take() { Some(title) => { [INFO] [stdout] 59 | return Ok(Info { [INFO] [stdout] ... [INFO] [stdout] 62 | }); [INFO] [stdout] 63 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/hueshift.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(val) = driver.get().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/blocks/hueshift.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match driver.get().await? { Some(val) => { [INFO] [stdout] 143 | current_temp = val; [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/kdeconnect.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(device) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 240 | | Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).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/blocks/kdeconnect.rs:244:21 [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] 239 ~ match Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).await? [INFO] [stdout] 240 ~ { Some(device) => { [INFO] [stdout] 241 | self.device = Some(device); [INFO] [stdout] 242 | return Ok(()); [INFO] [stdout] 243 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/kdeconnect.rs:266:36 [INFO] [stdout] | [INFO] [stdout] 266 | ... if let Some(dev) = Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).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/blocks/kdeconnect.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).await? { Some(dev) => { [INFO] [stdout] 267 | if dev.connected().await { [INFO] [stdout] ... [INFO] [stdout] 270 | } [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/menu.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(res) = block.run_menu().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/blocks/menu.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match block.run_menu().await? { Some(res) => { [INFO] [stdout] 116 | if let Some(msg) = res.confirm_msg { [INFO] [stdout] ... [INFO] [stdout] 121 | spawn_shell(&res.cmd).or_error(|| format!("Failed to run '{}'", res.cmd))?; [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/memory.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/memory.rs:244:25 [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] 241 ~ match format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 242 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 243 | break; [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/memory.rs:328:15 [INFO] [stdout] | [INFO] [stdout] 328 | while let Some(entry) = entries [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 329 | || .next_entry() [INFO] [stdout] 330 | || .await [INFO] [stdout] 331 | || .error("Could not get next file /sys/block")? [INFO] [stdout] | ||_________________________________________________________^ 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/blocks/memory.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | if let Ok(playerctld_players) = playerctld_proxy.player_names().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/blocks/music.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | } 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] 244 ~ match playerctld_proxy.player_names().await { Ok(playerctld_players) => { [INFO] [stdout] 245 | // If we can get the list of players from playerctld then we should [INFO] [stdout] ... [INFO] [stdout] 255 | } [INFO] [stdout] 256 ~ } _ => { [INFO] [stdout] 257 | // If we couldn't get the players from playerctld then fall back to walking over [INFO] [stdout] ... [INFO] [stdout] 265 | } [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some(pos) = players [INFO] [stdout] | ^ ------- 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] 249 | | .iter() [INFO] [stdout] 250 | | .position(|p| p.bus_name.as_str() == playerctld_player) [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/blocks/music.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match players [INFO] [stdout] 249 | .iter() [INFO] [stdout] 250 | .position(|p| p.bus_name.as_str() == playerctld_player) [INFO] [stdout] 251 ~ { Some(pos) => { [INFO] [stdout] 252 | cur_player = Some(pos); [INFO] [stdout] 253 | break; [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 380 | if let Some((pos, player)) = players.iter_mut().enumerate().find(|p| &*p.1.owner == sender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 380 ~ match players.iter_mut().enumerate().find(|p| &*p.1.owner == sender) { Some((pos, player)) => { [INFO] [stdout] 381 | let props = args.changed_properties; [INFO] [stdout] ... [INFO] [stdout] 401 | break; [INFO] [stdout] 402 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | ... if let Some(pos) = players.iter().position(|p| &*p.owner == old) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:433:29 [INFO] [stdout] | [INFO] [stdout] 433 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 421 ~ match players.iter().position(|p| &*p.owner == old) { Some(pos) => { [INFO] [stdout] 422 | debug!("removed player {} owned by {old}", args.name); [INFO] [stdout] ... [INFO] [stdout] 432 | } [INFO] [stdout] 433 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | if let Some(pos) = players.iter().position(|p| p.bus_name == args.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/blocks/music.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 441 ~ match players.iter().position(|p| p.bus_name == args.name){ Some(pos) => { [INFO] [stdout] 442 | cur_player = Some(pos); [INFO] [stdout] 443 ~ } _ => { [INFO] [stdout] 444 | // We must have shifted to a player we wanted to skip (on the interface_name_exclude list). [INFO] [stdout] ... [INFO] [stdout] 448 | } [INFO] [stdout] 449 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:447:28 [INFO] [stdout] | [INFO] [stdout] 447 | if let Err(e) = playerctld_proxy.shift().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/blocks/music.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 447 ~ match playerctld_proxy.shift().await{ Err(e) => { [INFO] [stdout] 448 | debug!("{e}"); [INFO] [stdout] 449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:486:36 [INFO] [stdout] | [INFO] [stdout] 486 | ... if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 486 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 487 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 488 | break; [INFO] [stdout] 489 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/net.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/net.rs:178:25 [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] 175 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 176 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 177 | break; [INFO] [stdout] 178 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/privacy/v4l.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | while let Some(entry) = sysfs_paths [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 55 | || .next_entry() [INFO] [stdout] 56 | || .await [INFO] [stdout] 57 | || .error("Unable to get next device in /dev")? [INFO] [stdout] | ||________________________________________________________^ 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/blocks/privacy/v4l.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/privacy/v4l.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | while let Some(proc_path) = proc_paths [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 105 | || .next_entry() [INFO] [stdout] 106 | || .await [INFO] [stdout] 107 | || .error("Unable to get next device in /proc")? [INFO] [stdout] | ||_________________________________________________________^ 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/blocks/privacy/v4l.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/privacy/v4l.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | while let Ok(Some(fd_path)) = fd_paths.next_entry().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/blocks/privacy/v4l.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/sound.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | if let Ok(pulse) = pulseaudio::Device::new(config.device_kind, config.name.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/blocks/sound.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | } 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] 187 ~ match pulseaudio::Device::new(config.device_kind, config.name.clone()) { Ok(pulse) => { [INFO] [stdout] 188 | Box::new(pulse) [INFO] [stdout] 189 ~ } _ => { [INFO] [stdout] 190 | Box::new(alsa::Device::new( [INFO] [stdout] ... [INFO] [stdout] 194 | )?) [INFO] [stdout] 195 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/sound.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some((regex, mapped)) = config [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________________________________| [INFO] [stdout] 249 | || .active_port_mappings [INFO] [stdout] | ||_____________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 250 | | .iter() [INFO] [stdout] 251 | | .find(|(regex, _)| regex.0.is_match(ap)) [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/blocks/sound.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match config [INFO] [stdout] 249 | .active_port_mappings [INFO] [stdout] 250 | .iter() [INFO] [stdout] 251 | .find(|(regex, _)| regex.0.is_match(ap)) [INFO] [stdout] 252 ~ { Some((regex, mapped)) => { [INFO] [stdout] 253 | let mapped = regex.0.replace(ap, mapped); [INFO] [stdout] ... [INFO] [stdout] 258 | } [INFO] [stdout] 259 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/sound/pulseaudio.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | ... if let Ok(c) = Self::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/blocks/sound/pulseaudio.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | ... } [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 Self::new() { Ok(c) => { [INFO] [stdout] 191 | eprintln!("reconnected to pulseaudio"); [INFO] [stdout] 192 | conn = c; [INFO] [stdout] 193 | break; [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/keyboard_layout/sway.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if let Event::Input(event) = event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/keyboard_layout/sway.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | } [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 event { Event::Input(event) => { [INFO] [stdout] 58 | if self [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/keyboard_layout/sway.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(new_layout) = event.input.xkb_active_layout_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/blocks/keyboard_layout/sway.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match event.input.xkb_active_layout_name { Some(new_layout) => { [INFO] [stdout] 64 | if new_layout != self.cur_layout { [INFO] [stdout] ... [INFO] [stdout] 67 | } [INFO] [stdout] 68 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/temperature.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/temperature.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 208 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | ... if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:342:29 [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 format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 341 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | if let Some(cached) = &*guard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 400 ~ match &*guard { Some(cached) => { [INFO] [stdout] 401 | if cached.timestamp.elapsed() < interval { [INFO] [stdout] 402 | return Ok(cached.location.clone()); [INFO] [stdout] 403 | } [INFO] [stdout] 404 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/formatting/config.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | while let Some(key) = map.next_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/formatting/config.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/formatting/scheduling.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | if let Ok(Some((id, new_intervals))) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | tokio::time::timeout(Duration::from_millis(delay), state.intervals_rx.recv()) [INFO] [stdout] 54 | | .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/formatting/scheduling.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match tokio::time::timeout(Duration::from_millis(delay), state.intervals_rx.recv()) [INFO] [stdout] 53 | .await [INFO] [stdout] 54 ~ { Ok(Some((id, new_intervals))) => { [INFO] [stdout] 55 | state.intervals.retain(|(i, _)| *i != id); [INFO] [stdout] ... [INFO] [stdout] 58 | } [INFO] [stdout] 59 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/protocol.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if let Separator::Custom(separator) = &config.theme.separator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/protocol.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | } else if !merge_with_next { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match &config.theme.separator { Separator::Custom(separator) => { [INFO] [stdout] 68 | if !prev_merge_with_next { [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => if !merge_with_next { [INFO] [stdout] 93 | // Re-add native separator on last widget for native theme [INFO] [stdout] 94 | segments.last_mut().unwrap().separator = None; [INFO] [stdout] 95 | segments.last_mut().unwrap().separator_block_width = None; [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/protocol/i3bar_event.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | if let Ok(new_event) = tokio::time::timeout(double_click_delay, events.next()).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/protocol/i3bar_event.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match tokio::time::timeout(double_click_delay, events.next()).await { Ok(new_event) => { [INFO] [stdout] 98 | let new_event = new_event?; [INFO] [stdout] ... [INFO] [stdout] 103 | } [INFO] [stdout] 104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wrappers.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | while let Some((range, val)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wrappers.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `i3status_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/blocks/nvidia_gpu.rs [INFO] [stderr] * src/blocks/packages.rs [INFO] [stderr] * src/blocks/pacman.rs [INFO] [stderr] * src/blocks/weather.rs [INFO] [stderr] * src/util.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/util.rs:153:70 [INFO] [stderr] | [INFO] [stderr] 153 | (@extend $map:ident $( $([$($cond_tokens:tt)*])? $key:literal => $value: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/util.rs:158:28 [INFO] [stderr] | [INFO] [stderr] 158 | (@extend $map:ident $( $key:expr_2021 => $value: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/util.rs:158:46 [INFO] [stderr] | [INFO] [stderr] 158 | (@extend $map:ident $( $key:expr_2021 => $value: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/util.rs:163:26 [INFO] [stderr] | [INFO] [stderr] 163 | (@insert $map:ident, $key:expr_2021, $value: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/util.rs:163:42 [INFO] [stderr] | [INFO] [stderr] 163 | (@insert $map:ident, $key:expr_2021, $value: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/util.rs:166:26 [INFO] [stderr] | [INFO] [stderr] 166 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if $cond: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/util.rs:166:42 [INFO] [stderr] | [INFO] [stderr] 166 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if $cond: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/util.rs:166:63 [INFO] [stderr] | [INFO] [stderr] 166 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if $cond: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/util.rs:171:26 [INFO] [stderr] | [INFO] [stderr] 171 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if let $pat:pat = $match_on: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/util.rs:171:42 [INFO] [stderr] | [INFO] [stderr] 171 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if let $pat:pat = $match_on: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/util.rs:171:78 [INFO] [stderr] | [INFO] [stderr] 171 | (@insert $map:ident, $key:expr_2021, $value:expr_2021, if let $pat:pat = $match_on: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/blocks/nvidia_gpu.rs:212:55 [INFO] [stderr] | [INFO] [stderr] 212 | ($s:ident -> $($part:ident : $t:ident $(* $mul: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/blocks/packages.rs:224:10 [INFO] [stderr] | [INFO] [stderr] 224 | ($name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/blocks/pacman.rs:148:10 [INFO] [stderr] | [INFO] [stderr] 148 | ($name:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:153:77 [INFO] [stdout] | [INFO] [stdout] 153 | (@extend $map:ident $( $([$($cond_tokens:tt)*])? $key:literal => $value: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] 153 | (@extend $map:ident $( $([$($cond_tokens:tt)*])? $key:literal => $value:expr_2021 ),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | (@extend $map:ident $( $key:expr => $value: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] 158 | (@extend $map:ident $( $key:expr_2021 => $value:expr ),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/blocks/weather.rs:266:41 [INFO] [stderr] | [INFO] [stderr] 266 | ({$($suffix: literal => $src: 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 15 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/util.rs:158:48 [INFO] [stdout] | [INFO] [stdout] 158 | (@extend $map:ident $( $key:expr => $value: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] 158 | (@extend $map:ident $( $key:expr => $value: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/util.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | (@insert $map:ident, $key:expr, $value: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] 163 | (@insert $map:ident, $key:expr_2021, $value: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/util.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | (@insert $map:ident, $key:expr, $value: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] 163 | (@insert $map:ident, $key:expr, $value: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/util.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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] 166 | (@insert $map:ident, $key:expr_2021, $value:expr, if $cond: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/util.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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] 166 | (@insert $map:ident, $key:expr, $value:expr_2021, if $cond: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/util.rs:166:59 [INFO] [stdout] | [INFO] [stdout] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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] 166 | (@insert $map:ident, $key:expr, $value:expr, if $cond: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/util.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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] 171 | (@insert $map:ident, $key:expr_2021, $value:expr, if let $pat:pat = $match_on: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/util.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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] 171 | (@insert $map:ident, $key:expr, $value:expr_2021, if let $pat:pat = $match_on: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/util.rs:171:78 [INFO] [stdout] | [INFO] [stdout] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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] 171 | (@insert $map:ident, $key:expr, $value:expr, if let $pat:pat = $match_on: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/blocks/nvidia_gpu.rs:212:60 [INFO] [stdout] | [INFO] [stdout] 212 | ($s:ident -> $($part:ident : $t:ident $(* $mul: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] 212 | ($s:ident -> $($part:ident : $t:ident $(* $mul: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/blocks/packages.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | ($name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 224 | ($name: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/blocks/pacman.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | ($name:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 148 | ($name: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/blocks/weather.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | ({$($suffix: literal => $src: 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] 266 | ({$($suffix: literal => $src: expr_2021),* $(,)?}) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(sender) = &self.action_sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } [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] 181 ~ match &self.action_sender { Some(sender) => { [INFO] [stdout] 182 | if sender.send(action).is_err() { [INFO] [stdout] 183 | self.action_sender = None; [INFO] [stdout] 184 | } [INFO] [stdout] 185 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if let $pat = $match_on { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | widget.set_values(map! { [INFO] [stdout] | ___________________________- [INFO] [stdout] 203 | | "full_error_message" => Value::text(error.to_string()), [INFO] [stdout] 204 | | [if let Some(v) = &error.error.message] "short_error_message" => Value::text(v.to_string()), [INFO] [stdout] | | ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 205 | | }); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | widget.set_values(map! { [INFO] [stdout] | ___________________________- [INFO] [stdout] 203 | | "full_error_message" => Value::text(error.to_string()), [INFO] [stdout] 204 | | [if let Some(v) = &error.error.message] "short_error_message" => Value::text(v.to_string()), [INFO] [stdout] 205 | | }); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | if let Err(error) = self.process_event(restart).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/lib.rs:465:13 [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] 451 ~ match self.process_event(restart).await { Err(error) => { [INFO] [stdout] 452 | let block = &mut self.blocks[error.block_id]; [INFO] [stdout] ... [INFO] [stdout] 464 | self.render(); [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | while let Err(err) = $block::run(&config, &api).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] 145 | / define_blocks!( [INFO] [stdout] 146 | | amd_gpu, [INFO] [stdout] 147 | | #[deprecated( [INFO] [stdout] 148 | | since = "0.33.0", [INFO] [stdout] ... | [INFO] [stdout] 203 | | xrandr, [INFO] [stdout] 204 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | / define_blocks!( [INFO] [stdout] 146 | | amd_gpu, [INFO] [stdout] 147 | | #[deprecated( [INFO] [stdout] 148 | | since = "0.33.0", [INFO] [stdout] ... | [INFO] [stdout] 203 | | xrandr, [INFO] [stdout] 204 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_blocks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/amd_gpu.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/amd_gpu.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | } [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 format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 102 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 103 | break; [INFO] [stdout] 104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/amd_gpu.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | while let Some(entry) = dir.next_entry().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/blocks/amd_gpu.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/apc_ups.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | while let Some(line) = conn.read_line(&mut buf).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/blocks/battery/apc_ups.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/sysfs.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | while let Some(dir) = sysfs_dir [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 90 | || .next_entry() [INFO] [stdout] 91 | || .await [INFO] [stdout] 92 | || .error("failed to read /sys/class/power_supply directory")? [INFO] [stdout] | ||_______________________________________________________________________^ 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/blocks/battery/sysfs.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/upower.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | if let Ok(device_model) = proxy.model().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/blocks/battery/upower.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match proxy.model().await { Ok(device_model) => { [INFO] [stdout] 51 | if !expected_model.eq(&device_model) { [INFO] [stdout] 52 | continue; [INFO] [stdout] 53 | } [INFO] [stdout] 54 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/battery/upower.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(device_conn) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 197 | | DeviceConnection::new(&self.dbus_conn, &self.device, self.dev_model.as_deref()).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/blocks/battery/upower.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match DeviceConnection::new(&self.dbus_conn, &self.device, self.dev_model.as_deref()).await? [INFO] [stdout] 197 ~ { Some(device_conn) => { [INFO] [stdout] 198 | self.device_conn = Some(device_conn); [INFO] [stdout] 199 | break; [INFO] [stdout] 200 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if let Some(dev) = &monitor.device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | } [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 &monitor.device { Some(dev) => { [INFO] [stdout] 151 | if let Ok(connected) = dev.device.connected().await { [INFO] [stdout] ... [INFO] [stdout] 158 | } [INFO] [stdout] 159 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | ... if let Ok(connected) = dev.device.connected().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/blocks/bluetooth.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match dev.device.connected().await { Ok(connected) => { [INFO] [stdout] 152 | if connected { [INFO] [stdout] ... [INFO] [stdout] 157 | break; [INFO] [stdout] 158 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/bluetooth.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(device) = Device::try_find( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 222 | || &self.manager_proxy, [INFO] [stdout] 223 | || &self.mac, [INFO] [stdout] 224 | || self.adapter_mac.as_deref(), [INFO] [stdout] 225 | || ) [INFO] [stdout] 226 | || .await? [INFO] [stdout] | ||___________________________^ 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/blocks/bluetooth.rs:231:21 [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] 221 ~ match Device::try_find( [INFO] [stdout] 222 | &self.manager_proxy, [INFO] [stdout] ... [INFO] [stdout] 226 | .await? [INFO] [stdout] 227 ~ { Some(device) => { [INFO] [stdout] 228 | self.device = Some(device); [INFO] [stdout] 229 | debug!("Device has been added"); [INFO] [stdout] 230 | return Ok(()); [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 155 ~ match format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 156 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 157 | break; [INFO] [stdout] 158 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | if let Ok(boost) = read_file(CPU_BOOST_PATH).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] 261 | Some(boost.starts_with('1')) [INFO] [stdout] 262 | } else if let Ok(no_turbo) = read_file(CPU_NO_TURBO_PATH).await { [INFO] [stdout] | ---------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | } else if let Ok(no_turbo) = read_file(CPU_NO_TURBO_PATH).await { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/cpu.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | } 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 read_file(CPU_BOOST_PATH).await { Ok(boost) => { [INFO] [stdout] 261 | Some(boost.starts_with('1')) [INFO] [stdout] 262 ~ } _ => { match read_file(CPU_NO_TURBO_PATH).await { Ok(no_turbo) => { [INFO] [stdout] 263 | Some(no_turbo.starts_with('0')) [INFO] [stdout] 264 ~ } _ => { [INFO] [stdout] 265 | None [INFO] [stdout] 266 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/disk_space.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/disk_space.rs:192:25 [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] 189 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 190 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 191 | break; [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/focused_window/sway_ipc.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let Some(new_title) = &e.container.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/blocks/focused_window/sway_ipc.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match &e.container.name { Some(new_title) => { [INFO] [stdout] 50 | self.info.title.push_str(new_title); [INFO] [stdout] 51 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/focused_window/wlr_toplevel_management.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(title) = self.state.new_title.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/focused_window/wlr_toplevel_management.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] 58 ~ match self.state.new_title.take() { Some(title) => { [INFO] [stdout] 59 | return Ok(Info { [INFO] [stdout] ... [INFO] [stdout] 62 | }); [INFO] [stdout] 63 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/hueshift.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(val) = driver.get().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/blocks/hueshift.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match driver.get().await? { Some(val) => { [INFO] [stdout] 143 | current_temp = val; [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/kdeconnect.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(device) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 240 | | Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).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/blocks/kdeconnect.rs:244:21 [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] 239 ~ match Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).await? [INFO] [stdout] 240 ~ { Some(device) => { [INFO] [stdout] 241 | self.device = Some(device); [INFO] [stdout] 242 | return Ok(()); [INFO] [stdout] 243 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/kdeconnect.rs:266:36 [INFO] [stdout] | [INFO] [stdout] 266 | ... if let Some(dev) = Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).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/blocks/kdeconnect.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 266 ~ match Device::try_find(&self.daemon_proxy, self.device_id.as_deref()).await? { Some(dev) => { [INFO] [stdout] 267 | if dev.connected().await { [INFO] [stdout] ... [INFO] [stdout] 270 | } [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/menu.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(res) = block.run_menu().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/blocks/menu.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match block.run_menu().await? { Some(res) => { [INFO] [stdout] 116 | if let Some(msg) = res.confirm_msg { [INFO] [stdout] ... [INFO] [stdout] 121 | spawn_shell(&res.cmd).or_error(|| format!("Failed to run '{}'", res.cmd))?; [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/memory.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/memory.rs:244:25 [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] 241 ~ match format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 242 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 243 | break; [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/memory.rs:328:15 [INFO] [stdout] | [INFO] [stdout] 328 | while let Some(entry) = entries [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 329 | || .next_entry() [INFO] [stdout] 330 | || .await [INFO] [stdout] 331 | || .error("Could not get next file /sys/block")? [INFO] [stdout] | ||_________________________________________________________^ 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/blocks/memory.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | if let Ok(playerctld_players) = playerctld_proxy.player_names().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/blocks/music.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | } 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] 244 ~ match playerctld_proxy.player_names().await { Ok(playerctld_players) => { [INFO] [stdout] 245 | // If we can get the list of players from playerctld then we should [INFO] [stdout] ... [INFO] [stdout] 255 | } [INFO] [stdout] 256 ~ } _ => { [INFO] [stdout] 257 | // If we couldn't get the players from playerctld then fall back to walking over [INFO] [stdout] ... [INFO] [stdout] 265 | } [INFO] [stdout] 266 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some(pos) = players [INFO] [stdout] | ^ ------- 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] 249 | | .iter() [INFO] [stdout] 250 | | .position(|p| p.bus_name.as_str() == playerctld_player) [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/blocks/music.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match players [INFO] [stdout] 249 | .iter() [INFO] [stdout] 250 | .position(|p| p.bus_name.as_str() == playerctld_player) [INFO] [stdout] 251 ~ { Some(pos) => { [INFO] [stdout] 252 | cur_player = Some(pos); [INFO] [stdout] 253 | break; [INFO] [stdout] 254 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:380:24 [INFO] [stdout] | [INFO] [stdout] 380 | if let Some((pos, player)) = players.iter_mut().enumerate().find(|p| &*p.1.owner == sender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 380 ~ match players.iter_mut().enumerate().find(|p| &*p.1.owner == sender) { Some((pos, player)) => { [INFO] [stdout] 381 | let props = args.changed_properties; [INFO] [stdout] ... [INFO] [stdout] 401 | break; [INFO] [stdout] 402 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | ... if let Some(pos) = players.iter().position(|p| &*p.owner == old) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:433:29 [INFO] [stdout] | [INFO] [stdout] 433 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 421 ~ match players.iter().position(|p| &*p.owner == old) { Some(pos) => { [INFO] [stdout] 422 | debug!("removed player {} owned by {old}", args.name); [INFO] [stdout] ... [INFO] [stdout] 432 | } [INFO] [stdout] 433 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | if let Some(pos) = players.iter().position(|p| p.bus_name == args.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/blocks/music.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 441 ~ match players.iter().position(|p| p.bus_name == args.name){ Some(pos) => { [INFO] [stdout] 442 | cur_player = Some(pos); [INFO] [stdout] 443 ~ } _ => { [INFO] [stdout] 444 | // We must have shifted to a player we wanted to skip (on the interface_name_exclude list). [INFO] [stdout] ... [INFO] [stdout] 448 | } [INFO] [stdout] 449 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:447:28 [INFO] [stdout] | [INFO] [stdout] 447 | if let Err(e) = playerctld_proxy.shift().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/blocks/music.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 447 ~ match playerctld_proxy.shift().await{ Err(e) => { [INFO] [stdout] 448 | debug!("{e}"); [INFO] [stdout] 449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:486:36 [INFO] [stdout] | [INFO] [stdout] 486 | ... if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/music.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 486 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 487 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 488 | break; [INFO] [stdout] 489 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/net.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/net.rs:178:25 [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] 175 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 176 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 177 | break; [INFO] [stdout] 178 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/privacy/v4l.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | while let Some(entry) = sysfs_paths [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 55 | || .next_entry() [INFO] [stdout] 56 | || .await [INFO] [stdout] 57 | || .error("Unable to get next device in /dev")? [INFO] [stdout] | ||________________________________________________________^ 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/blocks/privacy/v4l.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/privacy/v4l.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | while let Some(proc_path) = proc_paths [INFO] [stdout] | _______________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 105 | || .next_entry() [INFO] [stdout] 106 | || .await [INFO] [stdout] 107 | || .error("Unable to get next device in /proc")? [INFO] [stdout] | ||_________________________________________________________^ 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/blocks/privacy/v4l.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/privacy/v4l.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | while let Ok(Some(fd_path)) = fd_paths.next_entry().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/blocks/privacy/v4l.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/sound.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | if let Ok(pulse) = pulseaudio::Device::new(config.device_kind, config.name.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/blocks/sound.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | } 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] 187 ~ match pulseaudio::Device::new(config.device_kind, config.name.clone()) { Ok(pulse) => { [INFO] [stdout] 188 | Box::new(pulse) [INFO] [stdout] 189 ~ } _ => { [INFO] [stdout] 190 | Box::new(alsa::Device::new( [INFO] [stdout] ... [INFO] [stdout] 194 | )?) [INFO] [stdout] 195 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/sound.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | if let Some((regex, mapped)) = config [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ____________________________________________| [INFO] [stdout] 249 | || .active_port_mappings [INFO] [stdout] | ||_____________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 250 | | .iter() [INFO] [stdout] 251 | | .find(|(regex, _)| regex.0.is_match(ap)) [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/blocks/sound.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 248 ~ match config [INFO] [stdout] 249 | .active_port_mappings [INFO] [stdout] 250 | .iter() [INFO] [stdout] 251 | .find(|(regex, _)| regex.0.is_match(ap)) [INFO] [stdout] 252 ~ { Some((regex, mapped)) => { [INFO] [stdout] 253 | let mapped = regex.0.replace(ap, mapped); [INFO] [stdout] ... [INFO] [stdout] 258 | } [INFO] [stdout] 259 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/sound/pulseaudio.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | ... if let Ok(c) = Self::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/blocks/sound/pulseaudio.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | ... } [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 Self::new() { Ok(c) => { [INFO] [stdout] 191 | eprintln!("reconnected to pulseaudio"); [INFO] [stdout] 192 | conn = c; [INFO] [stdout] 193 | break; [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/keyboard_layout/sway.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if let Event::Input(event) = event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/keyboard_layout/sway.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | } [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 event { Event::Input(event) => { [INFO] [stdout] 58 | if self [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/keyboard_layout/sway.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(new_layout) = event.input.xkb_active_layout_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/blocks/keyboard_layout/sway.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match event.input.xkb_active_layout_name { Some(new_layout) => { [INFO] [stdout] 64 | if new_layout != self.cur_layout { [INFO] [stdout] ... [INFO] [stdout] 67 | } [INFO] [stdout] 68 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/temperature.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(format_alt) = &mut format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/temperature.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match &mut format_alt { Some(format_alt) => { [INFO] [stdout] 208 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | ... if let Some(ref mut format_alt) = format_alt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:342:29 [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 format_alt { Some(ref mut format_alt) => { [INFO] [stdout] 341 | std::mem::swap(format_alt, &mut format); [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | if let Some(cached) = &*guard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/blocks/weather.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 400 ~ match &*guard { Some(cached) => { [INFO] [stdout] 401 | if cached.timestamp.elapsed() < interval { [INFO] [stdout] 402 | return Ok(cached.location.clone()); [INFO] [stdout] 403 | } [INFO] [stdout] 404 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/formatting/config.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | while let Some(key) = map.next_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/formatting/config.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/formatting/scheduling.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | if let Ok(Some((id, new_intervals))) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | tokio::time::timeout(Duration::from_millis(delay), state.intervals_rx.recv()) [INFO] [stdout] 54 | | .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/formatting/scheduling.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 ~ match tokio::time::timeout(Duration::from_millis(delay), state.intervals_rx.recv()) [INFO] [stdout] 53 | .await [INFO] [stdout] 54 ~ { Ok(Some((id, new_intervals))) => { [INFO] [stdout] 55 | state.intervals.retain(|(i, _)| *i != id); [INFO] [stdout] ... [INFO] [stdout] 58 | } [INFO] [stdout] 59 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/protocol.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if let Separator::Custom(separator) = &config.theme.separator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/protocol.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | } else if !merge_with_next { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 67 ~ match &config.theme.separator { Separator::Custom(separator) => { [INFO] [stdout] 68 | if !prev_merge_with_next { [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => if !merge_with_next { [INFO] [stdout] 93 | // Re-add native separator on last widget for native theme [INFO] [stdout] 94 | segments.last_mut().unwrap().separator = None; [INFO] [stdout] 95 | segments.last_mut().unwrap().separator_block_width = None; [INFO] [stdout] 96 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/protocol/i3bar_event.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | if let Ok(new_event) = tokio::time::timeout(double_click_delay, events.next()).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/protocol/i3bar_event.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match tokio::time::timeout(double_click_delay, events.next()).await { Ok(new_event) => { [INFO] [stdout] 98 | let new_event = new_event?; [INFO] [stdout] ... [INFO] [stdout] 103 | } [INFO] [stdout] 104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wrappers.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | while let Some((range, val)) = map.next_entry::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wrappers.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.14s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling i3status-rs v0.33.1 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.31s [INFO] running `Command { std: "docker" "inspect" "c9a7bfbb40febd6b2ee2c7383512daef0e8072c7d25ad231fc1aed3bdeeb9285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a7bfbb40febd6b2ee2c7383512daef0e8072c7d25ad231fc1aed3bdeeb9285", kill_on_drop: false }` [INFO] [stdout] c9a7bfbb40febd6b2ee2c7383512daef0e8072c7d25ad231fc1aed3bdeeb9285