[INFO] fetching crate rio-window 0.1.14... [INFO] checking rio-window-0.1.14 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rio-window 0.1.14 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rio-window 0.1.14 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rio-window 0.1.14 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rio-window 0.1.14 [INFO] tweaked toml for crates.io crate rio-window 0.1.14 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate rio-window 0.1.14 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4e96317e16e2f03f4e1455f57c1a8b114adefe0d484d997bc0eb29c786863798 [INFO] running `Command { std: "docker" "start" "-a" "4e96317e16e2f03f4e1455f57c1a8b114adefe0d484d997bc0eb29c786863798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e96317e16e2f03f4e1455f57c1a8b114adefe0d484d997bc0eb29c786863798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e96317e16e2f03f4e1455f57c1a8b114adefe0d484d997bc0eb29c786863798", kill_on_drop: false }` [INFO] [stdout] 4e96317e16e2f03f4e1455f57c1a8b114adefe0d484d997bc0eb29c786863798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ea4437c8ad561fa4f1212a9eb59f45e3ab699eaa95e739126def09af8ab0e930 [INFO] running `Command { std: "docker" "start" "-a" "ea4437c8ad561fa4f1212a9eb59f45e3ab699eaa95e739126def09af8ab0e930", 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 (15 fixes) [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tiny-xlib v0.2.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling softbuffer v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling rio-window v0.1.14 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking smol_str v0.3.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rio_window` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/platform_impl/linux/mod.rs [INFO] [stderr] * src/platform_impl/linux/wayland/event_loop/mod.rs [INFO] [stderr] * src/platform_impl/linux/x11/util/cursor.rs [INFO] [stderr] * src/platform_impl/linux/x11/util/mouse.rs [INFO] [stderr] * src/platform_impl/linux/x11/window.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/error.rs:71:6 [INFO] [stderr] | [INFO] [stderr] 71 | ($error: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/platform_impl/linux/wayland/event_loop/mod.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | ($e:expr_2021, $err: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/platform_impl/linux/wayland/event_loop/mod.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | ($e:expr_2021, $err: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/platform_impl/linux/x11/util/cursor.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | ($format:expr_2021, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/cursor.rs:108:70 [INFO] [stderr] | [INFO] [stderr] 108 | ($format:expr_2021, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/mouse.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($this:expr_2021, $ty:ty) => {{ [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/platform_impl/linux/x11/window.rs:138:6 [INFO] [stderr] | [INFO] [stderr] 138 | ($e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/platform_impl/linux/mod.rs:208:12 [INFO] [stderr] | [INFO] [stderr] 208 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/platform_impl/linux/mod.rs:208:59 [INFO] [stderr] | [INFO] [stderr] 208 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/platform_impl/linux/mod.rs:216:12 [INFO] [stderr] | [INFO] [stderr] 216 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | ($error: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] 71 | ($error: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/platform_impl/linux/wayland/event_loop/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | ($e:expr, $err: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] 79 | ($e:expr_2021, $err: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/platform_impl/linux/wayland/event_loop/mod.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ($e:expr, $err: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] 79 | ($e:expr, $err:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/platform_impl/linux/mod.rs:216:59 [INFO] [stderr] | [INFO] [stderr] 216 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/x11/util/cursor.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | ($format:expr, $shift_name:ident, $mask_name:ident, $shift: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] 108 | ($format:expr_2021, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/cursor.rs:108:72 [INFO] [stdout] | [INFO] [stdout] 108 | ($format:expr, $shift_name:ident, $mask_name:ident, $shift: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] 108 | ($format:expr, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/mouse.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | ($this:expr, $ty:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($this:expr_2021, $ty:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 138 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/mod.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr; as $enum2:ident ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr; as $enum2:ident ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/mod.rs:208:57 [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr; as $enum2:ident ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/mod.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x: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] 216 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x: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/platform_impl/linux/mod.rs:216:57 [INFO] [stdout] | [INFO] [stdout] 216 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x: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] 216 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | env::remove_var(X11_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 89 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 90 ~ unsafe { env::remove_var(X11_VAR) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | env::remove_var(WAYLAND_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 90 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 91 ~ unsafe { env::remove_var(WAYLAND_VAR) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | env::set_var(X11_VAR, &token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 97 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 98 ~ unsafe { env::set_var(X11_VAR, &token._token) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | env::set_var(WAYLAND_VAR, token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 98 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 99 ~ unsafe { env::set_var(WAYLAND_VAR, token._token) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/event.rs:1032:12 [INFO] [stdout] | [INFO] [stdout] 1032 | if let Some(inner) = self.new_inner_size.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/event.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | } else { [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] 1032 ~ match self.new_inner_size.upgrade() { Some(inner) => { [INFO] [stdout] 1033 | *inner.lock().unwrap() = new_inner_size; [INFO] [stdout] 1034 | Ok(()) [INFO] [stdout] 1035 ~ } _ => { [INFO] [stdout] 1036 | Err(ExternalError::Ignored) [INFO] [stdout] 1037 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/event_loop.rs:430:41 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/event_loop.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 430 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/monitor.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/monitor.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 166 | pub fn video_modes(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | if let calloop::channel::Event::Msg(msg) = 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/platform_impl/linux/wayland/event_loop/mod.rs:144:21 [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] 141 ~ match event { calloop::channel::Event::Msg(msg) => { [INFO] [stdout] 142 | winit_state.dispatched_events = true; [INFO] [stdout] 143 | pending_user_events_clone.borrow_mut().push(msg); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(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/platform_impl/linux/wayland/event_loop/mod.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 517 ~ match event { Some(event) => { [INFO] [stdout] 518 | callback( [INFO] [stdout] ... [INFO] [stdout] 524 | ); [INFO] [stdout] 525 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 13 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 101 | pub fn video_modes(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(text_input_state) = seat_state [INFO] [stdout] | _____________^ - [INFO] [stdout] | | _________________________________________| [INFO] [stdout] 135 | || .text_input [INFO] [stdout] | ||_______________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 136 | | .is_none() [INFO] [stdout] 137 | | .then_some(self.text_input_state.as_ref()) [INFO] [stdout] 138 | | .flatten() [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/platform_impl/linux/wayland/seat/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match seat_state [INFO] [stdout] 135 | .text_input [INFO] [stdout] ... [INFO] [stdout] 138 | .flatten() [INFO] [stdout] 139 ~ { Some(text_input_state) => { [INFO] [stdout] 140 | seat_state.text_input = Some(Arc::new(text_input_state.get_text_input( [INFO] [stdout] ... [INFO] [stdout] 144 | ))); [INFO] [stdout] 145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(touch) = seat_state.touch.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/platform_impl/linux/wayland/seat/mod.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 169 ~ match seat_state.touch.take() { Some(touch) => { [INFO] [stdout] 170 | if touch.version() >= 3 { [INFO] [stdout] 171 | touch.release(); [INFO] [stdout] 172 | } [INFO] [stdout] 173 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/mod.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(pointer) = seat_state.pointer.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/platform_impl/linux/wayland/seat/mod.rs:194:17 [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] 180 ~ match seat_state.pointer.take() { Some(pointer) => { [INFO] [stdout] 181 | let pointer_data = pointer.pointer().winit_data(); [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/keyboard/mod.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | if let Some(mut key_context) = keyboard_state.xkb_context.key_context() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/keyboard/mod.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 420 ~ match keyboard_state.xkb_context.key_context() { Some(mut key_context) => { [INFO] [stdout] 421 | let event = key_context.process_key_event(keycode, state, repeat); [INFO] [stdout] ... [INFO] [stdout] 427 | event_sink.push_window_event(event, window_id); [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(icon) = window.frame_point_moved( [INFO] [stdout] | ^ ------ 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] 95 | | seat, [INFO] [stdout] 96 | | surface, [INFO] [stdout] 97 | | Duration::ZERO, [INFO] [stdout] 98 | | event.position.0, [INFO] [stdout] 99 | | event.position.1, [INFO] [stdout] 100 | | ) { [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/platform_impl/linux/wayland/seat/pointer/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match window.frame_point_moved( [INFO] [stdout] 95 | seat, [INFO] [stdout] ... [INFO] [stdout] 99 | event.position.1, [INFO] [stdout] 100 ~ ) { Some(icon) => { [INFO] [stdout] 101 | let _ = themed_pointer.set_cursor(connection, icon); [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(locked_pointer) = inner.locked_pointer.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/platform_impl/linux/wayland/seat/pointer/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 301 ~ match inner.locked_pointer.take() { Some(locked_pointer) => { [INFO] [stdout] 302 | locked_pointer.destroy(); [INFO] [stdout] 303 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(confined_pointer) = inner.confined_pointer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 326 ~ match inner.confined_pointer.as_ref() { Some(confined_pointer) => { [INFO] [stdout] 327 | confined_pointer.destroy(); [INFO] [stdout] 328 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(locked_pointer) = inner.locked_pointer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match inner.locked_pointer.as_ref() { Some(locked_pointer) => { [INFO] [stdout] 354 | locked_pointer.set_cursor_position_hint(surface_x, surface_y); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | if let Some(confined_pointer) = self.confined_pointer.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/platform_impl/linux/wayland/seat/pointer/mod.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 389 ~ match self.confined_pointer.take() { Some(confined_pointer) => { [INFO] [stdout] 390 | confined_pointer.destroy(); [INFO] [stdout] 391 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/text_input/mod.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(preedit) = text_input_data.pending_preedit.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/platform_impl/linux/wayland/seat/text_input/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match text_input_data.pending_preedit.take() { Some(preedit) => { [INFO] [stdout] 152 | let cursor_range = preedit [INFO] [stdout] ... [INFO] [stdout] 159 | ); [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | if let Ok(fsm) = FractionalScalingManager::new(globals, queue_handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | } 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] 154 ~ match FractionalScalingManager::new(globals, queue_handle) { Ok(fsm) => { [INFO] [stdout] 155 | (ViewporterState::new(globals, queue_handle).ok(), Some(fsm)) [INFO] [stdout] 156 ~ } _ => { [INFO] [stdout] 157 | (None, None) [INFO] [stdout] 158 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(window) = self.windows.get_mut().get(&window_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 232 | } else if let Some(pointer) = self.pointer_surfaces.get(&surface.id()) { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | } else if let Some(pointer) = self.pointer_surfaces.get(&surface.id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 210 ~ match self.windows.get_mut().get(&window_id) { Some(window) => { [INFO] [stdout] 211 | // Don't update the scaling factor, when legacy method is used. [INFO] [stdout] ... [INFO] [stdout] 231 | self.window_compositor_updates[pos].scale_changed = true; [INFO] [stdout] 232 ~ } _ => { match self.pointer_surfaces.get(&surface.id()) { Some(pointer) => { [INFO] [stdout] 233 | // Get the window, where the pointer resides right now. [INFO] [stdout] ... [INFO] [stdout] 241 | } [INFO] [stdout] 242 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(window_state) = self.windows.get_mut().get(&focused_window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | } [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 self.windows.get_mut().get(&focused_window) { Some(window_state) => { [INFO] [stdout] 240 | window_state.lock().unwrap().reload_cursor_style() [INFO] [stdout] 241 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | if let Some(pos) = monitors.iter().position(|output| output == &updated) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } 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] 338 ~ match monitors.iter().position(|output| output == &updated) { Some(pos) => { [INFO] [stdout] 339 | monitors[pos] = updated [INFO] [stdout] 340 ~ } _ => { [INFO] [stdout] 341 | monitors.push(updated) [INFO] [stdout] 342 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(pos) = monitors.iter().position(|output| output == &removed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match monitors.iter().position(|output| output == &removed) { Some(pos) => { [INFO] [stdout] 354 | monitors.remove(pos); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/types/xdg_activation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(attention_requested) = fence.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/types/xdg_activation.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match fence.upgrade() { Some(attention_requested) => { [INFO] [stdout] 80 | attention_requested [INFO] [stdout] 81 | .store(false, std::sync::atomic::Ordering::Relaxed); [INFO] [stdout] 82 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:313:44 [INFO] [stdout] | [INFO] [stdout] 313 | let (mut new_size, constrain) = if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 313 ~ let (mut new_size, constrain) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 314 | // Configure the window states. [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | match configure.new_size { [INFO] [stdout] ... [INFO] [stdout] 334 | } [INFO] [stdout] 335 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(frame) = self.frame.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | } 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] 387 ~ match self.frame.as_ref() { Some(frame) => { [INFO] [stdout] 388 | let (width, height) = frame.subtract_borders( [INFO] [stdout] ... [INFO] [stdout] 395 | ) [INFO] [stdout] 396 ~ } _ => { [INFO] [stdout] 397 | configure_bounds [INFO] [stdout] 398 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 479 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 480 | frame.click_point_left(); [INFO] [stdout] 481 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 497 | let cursor = frame.click_point_moved(timestamp, &surface.id(), x, y); [INFO] [stdout] ... [INFO] [stdout] 505 | } [INFO] [stdout] 506 ~ } _ => { [INFO] [stdout] 507 | None [INFO] [stdout] 508 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:574:12 [INFO] [stdout] | [INFO] [stdout] 574 | if let Some(frame) = csd.then_some(self.frame.as_ref()).flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | } 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] 574 ~ match csd.then_some(self.frame.as_ref()).flatten() { Some(frame) => { [INFO] [stdout] 575 | !frame.is_hidden() [INFO] [stdout] 576 ~ } _ => { [INFO] [stdout] 577 | // Server side decorations. [INFO] [stdout] 578 | true [INFO] [stdout] 579 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:604:16 [INFO] [stdout] | [INFO] [stdout] 604 | if let Some(pointer) = pointer.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 604 ~ match pointer.upgrade() { Some(pointer) => { [INFO] [stdout] 605 | if pointer.pointer() != removed.upgrade().unwrap().pointer() { [INFO] [stdout] 606 | new_pointers.push(Arc::downgrade(&pointer)); [INFO] [stdout] 607 | } [INFO] [stdout] 608 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:643:19 [INFO] [stdout] | [INFO] [stdout] 643 | } else if let Ok(region) = Region::new(&*self.compositor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:646:9 [INFO] [stdout] | [INFO] [stdout] 646 | } 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] 643 ~ } else { match Region::new(&*self.compositor) { Ok(region) => { [INFO] [stdout] 644 | region.add(0, 0, i32::MAX, i32::MAX); [INFO] [stdout] 645 | surface.set_opaque_region(Some(region.wl_region())); [INFO] [stdout] 646 ~ } _ => { [INFO] [stdout] 647 | warn!("Failed to mark window opaque."); [INFO] [stdout] 648 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:675:39 [INFO] [stdout] | [INFO] [stdout] 675 | let ((x, y), outer_size) = if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | } 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] 675 ~ let ((x, y), outer_size) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 676 | // Resize only visible frame. [INFO] [stdout] ... [INFO] [stdout] 687 | ) [INFO] [stdout] 688 ~ } _ => { [INFO] [stdout] 689 | ((0, 0), self.size) [INFO] [stdout] 690 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 704 | if let Some(viewport) = self.viewport.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 704 ~ match self.viewport.as_ref() { Some(viewport) => { [INFO] [stdout] 705 | // Set inner size without the borders. [INFO] [stdout] 706 | viewport.set_destination(self.size.width as _, self.size.height as _); [INFO] [stdout] 707 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:827:12 [INFO] [stdout] | [INFO] [stdout] 827 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 827 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 828 | frame.set_config(into_sctk_adwaita_config(theme)) [INFO] [stdout] 829 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:989:12 [INFO] [stdout] | [INFO] [stdout] 989 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:993:9 [INFO] [stdout] | [INFO] [stdout] 993 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 989 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 990 | frame.set_hidden(!decorate); [INFO] [stdout] 991 | // Force the resize. [INFO] [stdout] 992 | self.resize(self.size); [INFO] [stdout] 993 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1069:12 [INFO] [stdout] | [INFO] [stdout] 1069 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1069 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 1070 | frame.set_scaling_factor(scale_factor); [INFO] [stdout] 1071 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1078:16 [INFO] [stdout] | [INFO] [stdout] 1078 | if let Some(blur_manager) = self.blur_manager.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1083:13 [INFO] [stdout] | [INFO] [stdout] 1083 | } 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] 1078 ~ match self.blur_manager.as_ref() { Some(blur_manager) => { [INFO] [stdout] 1079 | let blur = [INFO] [stdout] ... [INFO] [stdout] 1082 | self.blur = Some(blur); [INFO] [stdout] 1083 ~ } _ => { [INFO] [stdout] 1084 | info!("Blur manager unavailable, unable to change blur") [INFO] [stdout] 1085 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1136:12 [INFO] [stdout] | [INFO] [stdout] 1136 | if let Some(position) = self.text_inputs.iter().position(|t| t == text_input) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1136 ~ match self.text_inputs.iter().position(|t| t == text_input) { Some(position) => { [INFO] [stdout] 1137 | self.text_inputs.remove(position); [INFO] [stdout] 1138 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1158:12 [INFO] [stdout] | [INFO] [stdout] 1158 | if let Some(viewport) = self.viewport.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/platform_impl/linux/wayland/window/state.rs:1160:9 [INFO] [stdout] | [INFO] [stdout] 1160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1158 ~ match self.viewport.take() { Some(viewport) => { [INFO] [stdout] 1159 | viewport.destroy(); [INFO] [stdout] 1160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | if let Err(ImeCreationError::OpenFailure(state)) = ime.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 222 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 223 | } else if let Err(err) = ime.as_ref() { [INFO] [stdout] | --- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } else if let Err(err) = ime.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } [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 ime.as_ref() { Err(ImeCreationError::OpenFailure(state)) => { [INFO] [stdout] 222 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 223 ~ } _ => { match ime.as_ref() { Err(err) => { [INFO] [stdout] 224 | warn!("Failed to set input method destruction callback: {err:?}"); [INFO] [stdout] 225 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:566:15 [INFO] [stdout] | [INFO] [stdout] 566 | while let Ok((window_id, serial)) = self.activation_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:593:19 [INFO] [stdout] | [INFO] [stdout] 593 | while let Ok(event) = self.user_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:602:19 [INFO] [stdout] | [INFO] [stdout] 602 | while let Ok(window_id) = self.redraw_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | if let Event::WindowEvent { [INFO] [stdout] | ________________________^ [INFO] [stdout] 635 | | window_id: crate::window::WindowId(wid), [INFO] [stdout] 636 | | event: WindowEvent::RedrawRequested, [INFO] [stdout] 637 | | } = 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/platform_impl/linux/x11/mod.rs:641:21 [INFO] [stdout] | [INFO] [stdout] 641 | } 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] 634 ~ match event [INFO] [stdout] 635 ~ { Event::WindowEvent { [INFO] [stdout] 636 + window_id: crate::window::WindowId(wid), [INFO] [stdout] 637 + event: WindowEvent::RedrawRequested, [INFO] [stdout] 638 ~ } => { [INFO] [stdout] 639 | let window_target = EventProcessor::window_target(window_target); [INFO] [stdout] 640 | window_target.redraw_sender.send(wid).unwrap(); [INFO] [stdout] 641 ~ } _ => { [INFO] [stdout] 642 | callback(event, window_target); [INFO] [stdout] 643 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:688:41 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:688:31 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 688 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | if let Ok(c) = xconn [INFO] [stdout] | ____________^ - [INFO] [stdout] | |________________________| [INFO] [stdout] 863 | || .xcb_connection() [INFO] [stdout] 864 | || .destroy_window(window.id().0 as xproto::Window) [INFO] [stdout] | ||____________________________________________________________^ 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/platform_impl/linux/x11/mod.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 862 ~ match xconn [INFO] [stdout] 863 | .xcb_connection() [INFO] [stdout] 864 | .destroy_window(window.id().0 as xproto::Window) [INFO] [stdout] 865 ~ { Ok(c) => { [INFO] [stdout] 866 | c.ignore_error(); [INFO] [stdout] 867 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | while let Ok(request) = self.ime_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | while let Ok((window, event)) = self.ime_event_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | if let Some(info) = DeviceInfo::get(&window_target.xconn, device as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 343 ~ match DeviceInfo::get(&window_target.xconn, device as _) { Some(info) => { [INFO] [stdout] 344 | for info in info.iter() { [INFO] [stdout] 345 | devices.insert(DeviceId(info.deviceid as _), Device::new(info)); [INFO] [stdout] 346 | } [INFO] [stdout] 347 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:461:23 [INFO] [stdout] | [INFO] [stdout] 461 | } else if let Ok(more_types) = [INFO] [stdout] | _______________________^ [INFO] [stdout] 462 | | unsafe { self.dnd.get_type_list(source_window) } [INFO] [stdout] | |_________________-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.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] 461 ~ } else { match unsafe { self.dnd.get_type_list(source_window) } [INFO] [stdout] 462 ~ { Ok(more_types) => { [INFO] [stdout] 463 | self.dnd.type_list = Some(more_types); [INFO] [stdout] 464 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 495 | let accepted = if let Some(ref type_list) = self.dnd.type_list { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | } 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] 495 ~ let accepted = match self.dnd.type_list { Some(ref type_list) => { [INFO] [stdout] 496 | type_list.contains(&atoms[TextUriList]) [INFO] [stdout] 497 ~ } _ => { [INFO] [stdout] 498 | false [INFO] [stdout] 499 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(source_window) = self.dnd.source_window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | } 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] 539 ~ match self.dnd.source_window { Some(source_window) => { [INFO] [stdout] 540 | if let Some(Ok(ref path_list)) = self.dnd.result { [INFO] [stdout] ... [INFO] [stdout] 549 | (source_window, DndState::Accepted) [INFO] [stdout] 550 ~ } _ => { [INFO] [stdout] 551 | // `source_window` won't be part of our DND state if we already rejected the drop in [INFO] [stdout] ... [INFO] [stdout] 554 | (source_window, DndState::Rejected) [INFO] [stdout] 555 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:596:12 [INFO] [stdout] | [INFO] [stdout] 596 | if let Ok(mut data) = unsafe { self.dnd.read_data(window) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 596 ~ match unsafe { self.dnd.read_data(window) } { Ok(mut data) => { [INFO] [stdout] 597 | let parse_result = self.dnd.parse_data(&mut data); [INFO] [stdout] ... [INFO] [stdout] 607 | self.dnd.result = Some(parse_result); [INFO] [stdout] 608 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1048:12 [INFO] [stdout] | [INFO] [stdout] 1048 | if let Some(ic) = wt [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 1049 | || .ime [INFO] [stdout] | ||________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1050 | | .as_ref() [INFO] [stdout] 1051 | | .and_then(|ime| ime.borrow().get_context(window as XWindow)) [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/platform_impl/linux/x11/event_processor.rs:1069:9 [INFO] [stdout] | [INFO] [stdout] 1069 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1048 ~ match wt [INFO] [stdout] 1049 | .ime [INFO] [stdout] 1050 | .as_ref() [INFO] [stdout] 1051 | .and_then(|ime| ime.borrow().get_context(window as XWindow)) [INFO] [stdout] 1052 ~ { Some(ic) => { [INFO] [stdout] 1053 | let written = wt.xconn.lookup_utf8(ic, xev); [INFO] [stdout] ... [INFO] [stdout] 1068 | } [INFO] [stdout] 1069 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1299:24 [INFO] [stdout] | [INFO] [stdout] 1299 | if let Some(device) = devices.get_mut(&device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1301:21 [INFO] [stdout] | [INFO] [stdout] 1301 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1299 ~ match devices.get_mut(&device_id) { Some(device) => { [INFO] [stdout] 1300 | device.reset_scroll_position(device_info); [INFO] [stdout] 1301 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1710:24 [INFO] [stdout] | [INFO] [stdout] 1710 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1713:21 [INFO] [stdout] | [INFO] [stdout] 1713 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1710 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1711 | let mods = state.modifiers().into(); [INFO] [stdout] 1712 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1713 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1725:20 [INFO] [stdout] | [INFO] [stdout] 1725 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1728:17 [INFO] [stdout] | [INFO] [stdout] 1728 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1725 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1726 | let mods = state.modifiers().into(); [INFO] [stdout] 1727 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1728 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1737:20 [INFO] [stdout] | [INFO] [stdout] 1737 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1754:17 [INFO] [stdout] | [INFO] [stdout] 1754 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1737 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1738 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1753 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1754 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1769:12 [INFO] [stdout] | [INFO] [stdout] 1769 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1788:9 [INFO] [stdout] | [INFO] [stdout] 1788 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1769 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1770 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1787 | self.send_modifiers(window_id, mods.into(), force, &mut callback); [INFO] [stdout] 1788 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(Some(context)) = self.inner.contexts.get(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 172 ~ match self.inner.contexts.get(&window) { Some(Some(context)) => { [INFO] [stdout] 173 | Some(context.ic) [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | None [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(Some(context)) = self.inner.contexts.remove(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 180 ~ match self.inner.contexts.remove(&window) { Some(Some(context)) => { [INFO] [stdout] 181 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(true) [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | Ok(false) [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(&mut Some(ref mut context)) = self.inner.contexts.get_mut(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | } 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] 194 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 195 | context.focus(&self.xconn).map(|_| true) [INFO] [stdout] 196 ~ } _ => { [INFO] [stdout] 197 | Ok(false) [INFO] [stdout] 198 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(&mut Some(ref mut context)) = self.inner.contexts.get_mut(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } 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] 205 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 206 | context.unfocus(&self.xconn).map(|_| true) [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | Ok(false) [INFO] [stdout] 209 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | if let Some(&mut Some(ref mut context)) = self.inner.contexts.get_mut(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 217 | context.set_spot(&self.xconn, x as _, y as _); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/monitor.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/x11/monitor.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 191 | pub fn video_modes(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/window_property.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let GetPropertyError::TypeMismatch(actual_type) = *self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/window_property.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ match *self { GetPropertyError::TypeMismatch(actual_type) => { [INFO] [stdout] 26 | actual_type == t [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | false [INFO] [stdout] 29 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(ref name) = *WM_NAME.lock().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ match *WM_NAME.lock().unwrap() { Some(ref name) => { [INFO] [stdout] 26 | names.contains(&name.as_str()) [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | false [INFO] [stdout] 29 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let no_utf8 = if let Err(ref err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } 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] 124 ~ let no_utf8 = match result { Err(ref err) => { [INFO] [stdout] 125 | err.is_actual_property_type(xproto::Atom::from(xproto::AtomEnum::STRING)) [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | false [INFO] [stdout] 128 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:412:24 [INFO] [stdout] | [INFO] [stdout] 412 | if let Some(name) = window_attrs.platform_specific.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/platform_impl/linux/x11/window.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | } 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] 412 ~ match window_attrs.platform_specific.name { Some(name) => { [INFO] [stdout] 413 | (name.instance, name.general) [INFO] [stdout] 414 ~ } _ => { [INFO] [stdout] 415 | let class = env::args_os() [INFO] [stdout] ... [INFO] [stdout] 427 | (instance, class) [INFO] [stdout] 428 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:895:12 [INFO] [stdout] | [INFO] [stdout] 895 | if let Some(flusher) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 896 | || .set_fullscreen_inner(fullscreen) [INFO] [stdout] 897 | || .expect("Failed to change window fullscreen state") [INFO] [stdout] | ||_______________________________________________________________^ 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/platform_impl/linux/x11/window.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 903 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 895 ~ match self [INFO] [stdout] 896 | .set_fullscreen_inner(fullscreen) [INFO] [stdout] 897 | .expect("Failed to change window fullscreen state") [INFO] [stdout] 898 ~ { Some(flusher) => { [INFO] [stdout] 899 | flusher [INFO] [stdout] ... [INFO] [stdout] 902 | self.invalidate_cached_frame_extents(); [INFO] [stdout] 903 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:920:20 [INFO] [stdout] | [INFO] [stdout] 920 | if let Some(fullscreen) = shared_state.desired_fullscreen.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/platform_impl/linux/x11/window.rs:923:17 [INFO] [stdout] | [INFO] [stdout] 923 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 920 ~ match shared_state.desired_fullscreen.take() { Some(fullscreen) => { [INFO] [stdout] 921 | drop(shared_state); [INFO] [stdout] 922 | self.set_fullscreen(fullscreen); [INFO] [stdout] 923 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1602:24 [INFO] [stdout] | [INFO] [stdout] 1602 | if let Err(err) = self.xconn.set_cursor_icon(self.xwindow, Some(icon)) [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1605:21 [INFO] [stdout] | [INFO] [stdout] 1605 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1602 ~ match self.xconn.set_cursor_icon(self.xwindow, Some(icon)) [INFO] [stdout] 1603 ~ { Err(err) => { [INFO] [stdout] 1604 | tracing::error!("failed to set cursor icon: {err}"); [INFO] [stdout] 1605 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1613:24 [INFO] [stdout] | [INFO] [stdout] 1613 | if let Err(err) = self.xconn.set_custom_cursor(self.xwindow, &cursor) [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1616:21 [INFO] [stdout] | [INFO] [stdout] 1616 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1613 ~ match self.xconn.set_custom_cursor(self.xwindow, &cursor) [INFO] [stdout] 1614 ~ { Err(err) => { [INFO] [stdout] 1615 | tracing::error!("failed to set window icon: {err}"); [INFO] [stdout] 1616 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1732 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1734:9 [INFO] [stdout] | [INFO] [stdout] 1734 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1732 ~ match result { Err(err) => { [INFO] [stdout] 1733 | tracing::error!("failed to set cursor icon: {err}"); [INFO] [stdout] 1734 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1901:31 [INFO] [stdout] | [INFO] [stdout] 1901 | let is_minimized = if let Ok(state) = [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1902 | |/ self.xconn [INFO] [stdout] 1903 | || .get_property::(self.xwindow, state_atom, state_type_atom) [INFO] [stdout] | ||_______________________________________________________________________________^ [INFO] [stdout] | |_______________________________________________________________________________| [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1906:9 [INFO] [stdout] | [INFO] [stdout] 1906 | } 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] 1901 ~ let is_minimized = match self.xconn [INFO] [stdout] 1902 | .get_property::(self.xwindow, state_atom, state_type_atom) [INFO] [stdout] 1903 ~ { Ok(state) => { [INFO] [stdout] 1904 | state.contains(&super::ICONIC_STATE) [INFO] [stdout] 1905 ~ } _ => { [INFO] [stdout] 1906 | false [INFO] [stdout] 1907 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1927:16 [INFO] [stdout] | [INFO] [stdout] 1927 | if let Err(e) = self.xconn.flush_requests() { [INFO] [stdout] | ^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1932:13 [INFO] [stdout] | [INFO] [stdout] 1932 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1927 ~ match self.xconn.flush_requests() { Err(e) => { [INFO] [stdout] 1928 | tracing::error!( [INFO] [stdout] ... [INFO] [stdout] 1931 | ); [INFO] [stdout] 1932 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if let Some(Fullscreen::Exclusive(_)) = w.fullscreen().map(|f| f.into()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/window.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 55 ~ match w.fullscreen().map(|f| f.into()) { Some(Fullscreen::Exclusive(_)) => { [INFO] [stdout] 56 | w.set_fullscreen(None); [INFO] [stdout] 57 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/window.rs:1649:41 [INFO] [stdout] | [INFO] [stdout] 1649 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/window.rs:1649:31 [INFO] [stdout] | [INFO] [stdout] 1649 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1649 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/window.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rio_window` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | ($error: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] 71 | ($error: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/event.rs:1054:19 [INFO] [stdout] | [INFO] [stdout] 1054 | ($closure: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] 1054 | ($closure:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/event.rs [INFO] [stderr] * src/platform_impl/linux/mod.rs [INFO] [stderr] * src/platform_impl/linux/wayland/event_loop/mod.rs [INFO] [stderr] * src/platform_impl/linux/x11/util/cursor.rs [INFO] [stderr] * src/platform_impl/linux/x11/util/mouse.rs [INFO] [stderr] * src/platform_impl/linux/x11/window.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/error.rs:71:6 [INFO] [stderr] | [INFO] [stderr] 71 | ($error: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/event.rs:1054:10 [INFO] [stderr] | [INFO] [stderr] 1054 | ($closure: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/platform_impl/linux/wayland/event_loop/mod.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | ($e:expr_2021, $err: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/platform_impl/linux/wayland/event_loop/mod.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | ($e:expr_2021, $err: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/platform_impl/linux/x11/util/cursor.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | ($format:expr_2021, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/cursor.rs:108:70 [INFO] [stderr] | [INFO] [stderr] 108 | ($format:expr_2021, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/mouse.rs:29:6 [INFO] [stderr] | [INFO] [stderr] 29 | ($this:expr_2021, $ty:ty) => {{ [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/platform_impl/linux/x11/window.rs:138:6 [INFO] [stderr] | [INFO] [stderr] 138 | ($e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/platform_impl/linux/mod.rs:208:12 [INFO] [stderr] | [INFO] [stderr] 208 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/platform_impl/linux/mod.rs:208:59 [INFO] [stderr] | [INFO] [stderr] 208 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/platform_impl/linux/mod.rs:216:12 [INFO] [stderr] | [INFO] [stderr] 216 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x: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/platform_impl/linux/mod.rs:216:59 [INFO] [stderr] | [INFO] [stderr] 216 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x: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 12 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/platform_impl/linux/wayland/event_loop/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | ($e:expr, $err: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] 79 | ($e:expr_2021, $err: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/platform_impl/linux/wayland/event_loop/mod.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | ($e:expr, $err: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] 79 | ($e:expr, $err: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/platform_impl/linux/x11/util/cursor.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | ($format:expr, $shift_name:ident, $mask_name:ident, $shift: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] 108 | ($format:expr_2021, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/cursor.rs:108:72 [INFO] [stdout] | [INFO] [stdout] 108 | ($format:expr, $shift_name:ident, $mask_name:ident, $shift: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] 108 | ($format:expr, $shift_name:ident, $mask_name:ident, $shift: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/platform_impl/linux/x11/util/mouse.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | ($this:expr, $ty:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($this:expr_2021, $ty:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 138 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/mod.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr; as $enum2:ident ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr; as $enum2:ident ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/mod.rs:208:57 [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr; as $enum2:ident ) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 208 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/mod.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x: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] 216 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x: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/platform_impl/linux/mod.rs:216:57 [INFO] [stdout] | [INFO] [stdout] 216 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x: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] 216 | (match $what:expr; $enum:ident ( $($c1:tt)* ) => $x:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | env::remove_var(X11_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 89 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 90 ~ unsafe { env::remove_var(X11_VAR) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | env::remove_var(WAYLAND_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 90 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 91 ~ unsafe { env::remove_var(WAYLAND_VAR) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | env::set_var(X11_VAR, &token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 97 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 98 ~ unsafe { env::set_var(X11_VAR, &token._token) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | env::set_var(WAYLAND_VAR, token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 98 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 99 ~ unsafe { env::set_var(WAYLAND_VAR, token._token) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/event.rs:1032:12 [INFO] [stdout] | [INFO] [stdout] 1032 | if let Some(inner) = self.new_inner_size.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/event.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | } else { [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] 1032 ~ match self.new_inner_size.upgrade() { Some(inner) => { [INFO] [stdout] 1033 | *inner.lock().unwrap() = new_inner_size; [INFO] [stdout] 1034 | Ok(()) [INFO] [stdout] 1035 ~ } _ => { [INFO] [stdout] 1036 | Err(ExternalError::Ignored) [INFO] [stdout] 1037 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/event_loop.rs:430:41 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/event_loop.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 430 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/monitor.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/monitor.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 166 | pub fn video_modes(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | if let calloop::channel::Event::Msg(msg) = 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/platform_impl/linux/wayland/event_loop/mod.rs:144:21 [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] 141 ~ match event { calloop::channel::Event::Msg(msg) => { [INFO] [stdout] 142 | winit_state.dispatched_events = true; [INFO] [stdout] 143 | pending_user_events_clone.borrow_mut().push(msg); [INFO] [stdout] 144 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | if let Some(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/platform_impl/linux/wayland/event_loop/mod.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 517 ~ match event { Some(event) => { [INFO] [stdout] 518 | callback( [INFO] [stdout] ... [INFO] [stdout] 524 | ); [INFO] [stdout] 525 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 13 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/wayland/output.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 101 | pub fn video_modes(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(text_input_state) = seat_state [INFO] [stdout] | _____________^ - [INFO] [stdout] | | _________________________________________| [INFO] [stdout] 135 | || .text_input [INFO] [stdout] | ||_______________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 136 | | .is_none() [INFO] [stdout] 137 | | .then_some(self.text_input_state.as_ref()) [INFO] [stdout] 138 | | .flatten() [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/platform_impl/linux/wayland/seat/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ match seat_state [INFO] [stdout] 135 | .text_input [INFO] [stdout] ... [INFO] [stdout] 138 | .flatten() [INFO] [stdout] 139 ~ { Some(text_input_state) => { [INFO] [stdout] 140 | seat_state.text_input = Some(Arc::new(text_input_state.get_text_input( [INFO] [stdout] ... [INFO] [stdout] 144 | ))); [INFO] [stdout] 145 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(touch) = seat_state.touch.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/platform_impl/linux/wayland/seat/mod.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 169 ~ match seat_state.touch.take() { Some(touch) => { [INFO] [stdout] 170 | if touch.version() >= 3 { [INFO] [stdout] 171 | touch.release(); [INFO] [stdout] 172 | } [INFO] [stdout] 173 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/mod.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(pointer) = seat_state.pointer.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/platform_impl/linux/wayland/seat/mod.rs:194:17 [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] 180 ~ match seat_state.pointer.take() { Some(pointer) => { [INFO] [stdout] 181 | let pointer_data = pointer.pointer().winit_data(); [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/keyboard/mod.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | if let Some(mut key_context) = keyboard_state.xkb_context.key_context() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/keyboard/mod.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 420 ~ match keyboard_state.xkb_context.key_context() { Some(mut key_context) => { [INFO] [stdout] 421 | let event = key_context.process_key_event(keycode, state, repeat); [INFO] [stdout] ... [INFO] [stdout] 427 | event_sink.push_window_event(event, window_id); [INFO] [stdout] 428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(icon) = window.frame_point_moved( [INFO] [stdout] | ^ ------ 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] 95 | | seat, [INFO] [stdout] 96 | | surface, [INFO] [stdout] 97 | | Duration::ZERO, [INFO] [stdout] 98 | | event.position.0, [INFO] [stdout] 99 | | event.position.1, [INFO] [stdout] 100 | | ) { [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/platform_impl/linux/wayland/seat/pointer/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 94 ~ match window.frame_point_moved( [INFO] [stdout] 95 | seat, [INFO] [stdout] ... [INFO] [stdout] 99 | event.position.1, [INFO] [stdout] 100 ~ ) { Some(icon) => { [INFO] [stdout] 101 | let _ = themed_pointer.set_cursor(connection, icon); [INFO] [stdout] 102 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(locked_pointer) = inner.locked_pointer.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/platform_impl/linux/wayland/seat/pointer/mod.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 301 ~ match inner.locked_pointer.take() { Some(locked_pointer) => { [INFO] [stdout] 302 | locked_pointer.destroy(); [INFO] [stdout] 303 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(confined_pointer) = inner.confined_pointer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 326 ~ match inner.confined_pointer.as_ref() { Some(confined_pointer) => { [INFO] [stdout] 327 | confined_pointer.destroy(); [INFO] [stdout] 328 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(locked_pointer) = inner.locked_pointer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match inner.locked_pointer.as_ref() { Some(locked_pointer) => { [INFO] [stdout] 354 | locked_pointer.set_cursor_position_hint(surface_x, surface_y); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/pointer/mod.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | if let Some(confined_pointer) = self.confined_pointer.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/platform_impl/linux/wayland/seat/pointer/mod.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 389 ~ match self.confined_pointer.take() { Some(confined_pointer) => { [INFO] [stdout] 390 | confined_pointer.destroy(); [INFO] [stdout] 391 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/seat/text_input/mod.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(preedit) = text_input_data.pending_preedit.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/platform_impl/linux/wayland/seat/text_input/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 151 ~ match text_input_data.pending_preedit.take() { Some(preedit) => { [INFO] [stdout] 152 | let cursor_range = preedit [INFO] [stdout] ... [INFO] [stdout] 159 | ); [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | if let Ok(fsm) = FractionalScalingManager::new(globals, queue_handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | } 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] 154 ~ match FractionalScalingManager::new(globals, queue_handle) { Ok(fsm) => { [INFO] [stdout] 155 | (ViewporterState::new(globals, queue_handle).ok(), Some(fsm)) [INFO] [stdout] 156 ~ } _ => { [INFO] [stdout] 157 | (None, None) [INFO] [stdout] 158 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(window) = self.windows.get_mut().get(&window_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 232 | } else if let Some(pointer) = self.pointer_surfaces.get(&surface.id()) { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | } else if let Some(pointer) = self.pointer_surfaces.get(&surface.id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 210 ~ match self.windows.get_mut().get(&window_id) { Some(window) => { [INFO] [stdout] 211 | // Don't update the scaling factor, when legacy method is used. [INFO] [stdout] ... [INFO] [stdout] 231 | self.window_compositor_updates[pos].scale_changed = true; [INFO] [stdout] 232 ~ } _ => { match self.pointer_surfaces.get(&surface.id()) { Some(pointer) => { [INFO] [stdout] 233 | // Get the window, where the pointer resides right now. [INFO] [stdout] ... [INFO] [stdout] 241 | } [INFO] [stdout] 242 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(window_state) = self.windows.get_mut().get(&focused_window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | } [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 self.windows.get_mut().get(&focused_window) { Some(window_state) => { [INFO] [stdout] 240 | window_state.lock().unwrap().reload_cursor_style() [INFO] [stdout] 241 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | if let Some(pos) = monitors.iter().position(|output| output == &updated) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } 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] 338 ~ match monitors.iter().position(|output| output == &updated) { Some(pos) => { [INFO] [stdout] 339 | monitors[pos] = updated [INFO] [stdout] 340 ~ } _ => { [INFO] [stdout] 341 | monitors.push(updated) [INFO] [stdout] 342 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(pos) = monitors.iter().position(|output| output == &removed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/state.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ match monitors.iter().position(|output| output == &removed) { Some(pos) => { [INFO] [stdout] 354 | monitors.remove(pos); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/types/xdg_activation.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(attention_requested) = fence.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/types/xdg_activation.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match fence.upgrade() { Some(attention_requested) => { [INFO] [stdout] 80 | attention_requested [INFO] [stdout] 81 | .store(false, std::sync::atomic::Ordering::Relaxed); [INFO] [stdout] 82 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:313:44 [INFO] [stdout] | [INFO] [stdout] 313 | let (mut new_size, constrain) = if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | } 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] 313 ~ let (mut new_size, constrain) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 314 | // Configure the window states. [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | match configure.new_size { [INFO] [stdout] ... [INFO] [stdout] 334 | } [INFO] [stdout] 335 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | if let Some(frame) = self.frame.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | } 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] 387 ~ match self.frame.as_ref() { Some(frame) => { [INFO] [stdout] 388 | let (width, height) = frame.subtract_borders( [INFO] [stdout] ... [INFO] [stdout] 395 | ) [INFO] [stdout] 396 ~ } _ => { [INFO] [stdout] 397 | configure_bounds [INFO] [stdout] 398 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 479 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 480 | frame.click_point_left(); [INFO] [stdout] 481 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 497 | let cursor = frame.click_point_moved(timestamp, &surface.id(), x, y); [INFO] [stdout] ... [INFO] [stdout] 505 | } [INFO] [stdout] 506 ~ } _ => { [INFO] [stdout] 507 | None [INFO] [stdout] 508 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:574:12 [INFO] [stdout] | [INFO] [stdout] 574 | if let Some(frame) = csd.then_some(self.frame.as_ref()).flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | } 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] 574 ~ match csd.then_some(self.frame.as_ref()).flatten() { Some(frame) => { [INFO] [stdout] 575 | !frame.is_hidden() [INFO] [stdout] 576 ~ } _ => { [INFO] [stdout] 577 | // Server side decorations. [INFO] [stdout] 578 | true [INFO] [stdout] 579 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:604:16 [INFO] [stdout] | [INFO] [stdout] 604 | if let Some(pointer) = pointer.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 604 ~ match pointer.upgrade() { Some(pointer) => { [INFO] [stdout] 605 | if pointer.pointer() != removed.upgrade().unwrap().pointer() { [INFO] [stdout] 606 | new_pointers.push(Arc::downgrade(&pointer)); [INFO] [stdout] 607 | } [INFO] [stdout] 608 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:643:19 [INFO] [stdout] | [INFO] [stdout] 643 | } else if let Ok(region) = Region::new(&*self.compositor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:646:9 [INFO] [stdout] | [INFO] [stdout] 646 | } 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] 643 ~ } else { match Region::new(&*self.compositor) { Ok(region) => { [INFO] [stdout] 644 | region.add(0, 0, i32::MAX, i32::MAX); [INFO] [stdout] 645 | surface.set_opaque_region(Some(region.wl_region())); [INFO] [stdout] 646 ~ } _ => { [INFO] [stdout] 647 | warn!("Failed to mark window opaque."); [INFO] [stdout] 648 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:675:39 [INFO] [stdout] | [INFO] [stdout] 675 | let ((x, y), outer_size) = if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | } 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] 675 ~ let ((x, y), outer_size) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 676 | // Resize only visible frame. [INFO] [stdout] ... [INFO] [stdout] 687 | ) [INFO] [stdout] 688 ~ } _ => { [INFO] [stdout] 689 | ((0, 0), self.size) [INFO] [stdout] 690 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 704 | if let Some(viewport) = self.viewport.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 707 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 704 ~ match self.viewport.as_ref() { Some(viewport) => { [INFO] [stdout] 705 | // Set inner size without the borders. [INFO] [stdout] 706 | viewport.set_destination(self.size.width as _, self.size.height as _); [INFO] [stdout] 707 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:827:12 [INFO] [stdout] | [INFO] [stdout] 827 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 827 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 828 | frame.set_config(into_sctk_adwaita_config(theme)) [INFO] [stdout] 829 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:989:12 [INFO] [stdout] | [INFO] [stdout] 989 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:993:9 [INFO] [stdout] | [INFO] [stdout] 993 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 989 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 990 | frame.set_hidden(!decorate); [INFO] [stdout] 991 | // Force the resize. [INFO] [stdout] 992 | self.resize(self.size); [INFO] [stdout] 993 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1069:12 [INFO] [stdout] | [INFO] [stdout] 1069 | if let Some(frame) = self.frame.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1069 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 1070 | frame.set_scaling_factor(scale_factor); [INFO] [stdout] 1071 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1078:16 [INFO] [stdout] | [INFO] [stdout] 1078 | if let Some(blur_manager) = self.blur_manager.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1083:13 [INFO] [stdout] | [INFO] [stdout] 1083 | } 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] 1078 ~ match self.blur_manager.as_ref() { Some(blur_manager) => { [INFO] [stdout] 1079 | let blur = [INFO] [stdout] ... [INFO] [stdout] 1082 | self.blur = Some(blur); [INFO] [stdout] 1083 ~ } _ => { [INFO] [stdout] 1084 | info!("Blur manager unavailable, unable to change blur") [INFO] [stdout] 1085 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1136:12 [INFO] [stdout] | [INFO] [stdout] 1136 | if let Some(position) = self.text_inputs.iter().position(|t| t == text_input) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1138:9 [INFO] [stdout] | [INFO] [stdout] 1138 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1136 ~ match self.text_inputs.iter().position(|t| t == text_input) { Some(position) => { [INFO] [stdout] 1137 | self.text_inputs.remove(position); [INFO] [stdout] 1138 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:1158:12 [INFO] [stdout] | [INFO] [stdout] 1158 | if let Some(viewport) = self.viewport.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/platform_impl/linux/wayland/window/state.rs:1160:9 [INFO] [stdout] | [INFO] [stdout] 1160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1158 ~ match self.viewport.take() { Some(viewport) => { [INFO] [stdout] 1159 | viewport.destroy(); [INFO] [stdout] 1160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | if let Err(ImeCreationError::OpenFailure(state)) = ime.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 222 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 223 | } else if let Err(err) = ime.as_ref() { [INFO] [stdout] | --- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } else if let Err(err) = ime.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | } [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 ime.as_ref() { Err(ImeCreationError::OpenFailure(state)) => { [INFO] [stdout] 222 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 223 ~ } _ => { match ime.as_ref() { Err(err) => { [INFO] [stdout] 224 | warn!("Failed to set input method destruction callback: {err:?}"); [INFO] [stdout] 225 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:566:15 [INFO] [stdout] | [INFO] [stdout] 566 | while let Ok((window_id, serial)) = self.activation_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:593:19 [INFO] [stdout] | [INFO] [stdout] 593 | while let Ok(event) = self.user_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:602:19 [INFO] [stdout] | [INFO] [stdout] 602 | while let Ok(window_id) = self.redraw_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:634:24 [INFO] [stdout] | [INFO] [stdout] 634 | if let Event::WindowEvent { [INFO] [stdout] | ________________________^ [INFO] [stdout] 635 | | window_id: crate::window::WindowId(wid), [INFO] [stdout] 636 | | event: WindowEvent::RedrawRequested, [INFO] [stdout] 637 | | } = 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/platform_impl/linux/x11/mod.rs:641:21 [INFO] [stdout] | [INFO] [stdout] 641 | } 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] 634 ~ match event [INFO] [stdout] 635 ~ { Event::WindowEvent { [INFO] [stdout] 636 + window_id: crate::window::WindowId(wid), [INFO] [stdout] 637 + event: WindowEvent::RedrawRequested, [INFO] [stdout] 638 ~ } => { [INFO] [stdout] 639 | let window_target = EventProcessor::window_target(window_target); [INFO] [stdout] 640 | window_target.redraw_sender.send(wid).unwrap(); [INFO] [stdout] 641 ~ } _ => { [INFO] [stdout] 642 | callback(event, window_target); [INFO] [stdout] 643 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:688:41 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:688:31 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 688 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/mod.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | if let Ok(c) = xconn [INFO] [stdout] | ____________^ - [INFO] [stdout] | |________________________| [INFO] [stdout] 863 | || .xcb_connection() [INFO] [stdout] 864 | || .destroy_window(window.id().0 as xproto::Window) [INFO] [stdout] | ||____________________________________________________________^ 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/platform_impl/linux/x11/mod.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 862 ~ match xconn [INFO] [stdout] 863 | .xcb_connection() [INFO] [stdout] 864 | .destroy_window(window.id().0 as xproto::Window) [INFO] [stdout] 865 ~ { Ok(c) => { [INFO] [stdout] 866 | c.ignore_error(); [INFO] [stdout] 867 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | while let Ok(request) = self.ime_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | while let Ok((window, event)) = self.ime_event_receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | if let Some(info) = DeviceInfo::get(&window_target.xconn, device as _) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 343 ~ match DeviceInfo::get(&window_target.xconn, device as _) { Some(info) => { [INFO] [stdout] 344 | for info in info.iter() { [INFO] [stdout] 345 | devices.insert(DeviceId(info.deviceid as _), Device::new(info)); [INFO] [stdout] 346 | } [INFO] [stdout] 347 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:461:23 [INFO] [stdout] | [INFO] [stdout] 461 | } else if let Ok(more_types) = [INFO] [stdout] | _______________________^ [INFO] [stdout] 462 | | unsafe { self.dnd.get_type_list(source_window) } [INFO] [stdout] | |_________________-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.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] 461 ~ } else { match unsafe { self.dnd.get_type_list(source_window) } [INFO] [stdout] 462 ~ { Ok(more_types) => { [INFO] [stdout] 463 | self.dnd.type_list = Some(more_types); [INFO] [stdout] 464 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 495 | let accepted = if let Some(ref type_list) = self.dnd.type_list { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | } 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] 495 ~ let accepted = match self.dnd.type_list { Some(ref type_list) => { [INFO] [stdout] 496 | type_list.contains(&atoms[TextUriList]) [INFO] [stdout] 497 ~ } _ => { [INFO] [stdout] 498 | false [INFO] [stdout] 499 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 539 | if let Some(source_window) = self.dnd.source_window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | } 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] 539 ~ match self.dnd.source_window { Some(source_window) => { [INFO] [stdout] 540 | if let Some(Ok(ref path_list)) = self.dnd.result { [INFO] [stdout] ... [INFO] [stdout] 549 | (source_window, DndState::Accepted) [INFO] [stdout] 550 ~ } _ => { [INFO] [stdout] 551 | // `source_window` won't be part of our DND state if we already rejected the drop in [INFO] [stdout] ... [INFO] [stdout] 554 | (source_window, DndState::Rejected) [INFO] [stdout] 555 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:596:12 [INFO] [stdout] | [INFO] [stdout] 596 | if let Ok(mut data) = unsafe { self.dnd.read_data(window) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 596 ~ match unsafe { self.dnd.read_data(window) } { Ok(mut data) => { [INFO] [stdout] 597 | let parse_result = self.dnd.parse_data(&mut data); [INFO] [stdout] ... [INFO] [stdout] 607 | self.dnd.result = Some(parse_result); [INFO] [stdout] 608 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1048:12 [INFO] [stdout] | [INFO] [stdout] 1048 | if let Some(ic) = wt [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 1049 | || .ime [INFO] [stdout] | ||________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1050 | | .as_ref() [INFO] [stdout] 1051 | | .and_then(|ime| ime.borrow().get_context(window as XWindow)) [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/platform_impl/linux/x11/event_processor.rs:1069:9 [INFO] [stdout] | [INFO] [stdout] 1069 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1048 ~ match wt [INFO] [stdout] 1049 | .ime [INFO] [stdout] 1050 | .as_ref() [INFO] [stdout] 1051 | .and_then(|ime| ime.borrow().get_context(window as XWindow)) [INFO] [stdout] 1052 ~ { Some(ic) => { [INFO] [stdout] 1053 | let written = wt.xconn.lookup_utf8(ic, xev); [INFO] [stdout] ... [INFO] [stdout] 1068 | } [INFO] [stdout] 1069 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1299:24 [INFO] [stdout] | [INFO] [stdout] 1299 | if let Some(device) = devices.get_mut(&device_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1301:21 [INFO] [stdout] | [INFO] [stdout] 1301 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1299 ~ match devices.get_mut(&device_id) { Some(device) => { [INFO] [stdout] 1300 | device.reset_scroll_position(device_info); [INFO] [stdout] 1301 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1710:24 [INFO] [stdout] | [INFO] [stdout] 1710 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1713:21 [INFO] [stdout] | [INFO] [stdout] 1713 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1710 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1711 | let mods = state.modifiers().into(); [INFO] [stdout] 1712 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1713 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1725:20 [INFO] [stdout] | [INFO] [stdout] 1725 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1728:17 [INFO] [stdout] | [INFO] [stdout] 1728 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1725 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1726 | let mods = state.modifiers().into(); [INFO] [stdout] 1727 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1728 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1737:20 [INFO] [stdout] | [INFO] [stdout] 1737 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1754:17 [INFO] [stdout] | [INFO] [stdout] 1754 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1737 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1738 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1753 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1754 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1769:12 [INFO] [stdout] | [INFO] [stdout] 1769 | if let Some(state) = self.xkb_context.state_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/event_processor.rs:1788:9 [INFO] [stdout] | [INFO] [stdout] 1788 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1769 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1770 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1787 | self.send_modifiers(window_id, mods.into(), force, &mut callback); [INFO] [stdout] 1788 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(Some(context)) = self.inner.contexts.get(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 172 ~ match self.inner.contexts.get(&window) { Some(Some(context)) => { [INFO] [stdout] 173 | Some(context.ic) [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | None [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | if let Some(Some(context)) = self.inner.contexts.remove(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 180 ~ match self.inner.contexts.remove(&window) { Some(Some(context)) => { [INFO] [stdout] 181 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 184 | Ok(true) [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | Ok(false) [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let Some(&mut Some(ref mut context)) = self.inner.contexts.get_mut(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | } 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] 194 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 195 | context.focus(&self.xconn).map(|_| true) [INFO] [stdout] 196 ~ } _ => { [INFO] [stdout] 197 | Ok(false) [INFO] [stdout] 198 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(&mut Some(ref mut context)) = self.inner.contexts.get_mut(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } 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] 205 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 206 | context.unfocus(&self.xconn).map(|_| true) [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | Ok(false) [INFO] [stdout] 209 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | if let Some(&mut Some(ref mut context)) = self.inner.contexts.get_mut(&window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/ime/mod.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 217 | context.set_spot(&self.xconn, x as _, y as _); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/monitor.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/platform_impl/linux/x11/monitor.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn video_modes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 191 | pub fn video_modes(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/window_property.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let GetPropertyError::TypeMismatch(actual_type) = *self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/window_property.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ match *self { GetPropertyError::TypeMismatch(actual_type) => { [INFO] [stdout] 26 | actual_type == t [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | false [INFO] [stdout] 29 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(ref name) = *WM_NAME.lock().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ match *WM_NAME.lock().unwrap() { Some(ref name) => { [INFO] [stdout] 26 | names.contains(&name.as_str()) [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | false [INFO] [stdout] 29 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let no_utf8 = if let Err(ref err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/util/wm.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | } 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] 124 ~ let no_utf8 = match result { Err(ref err) => { [INFO] [stdout] 125 | err.is_actual_property_type(xproto::Atom::from(xproto::AtomEnum::STRING)) [INFO] [stdout] 126 ~ } _ => { [INFO] [stdout] 127 | false [INFO] [stdout] 128 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:412:24 [INFO] [stdout] | [INFO] [stdout] 412 | if let Some(name) = window_attrs.platform_specific.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/platform_impl/linux/x11/window.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | } 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] 412 ~ match window_attrs.platform_specific.name { Some(name) => { [INFO] [stdout] 413 | (name.instance, name.general) [INFO] [stdout] 414 ~ } _ => { [INFO] [stdout] 415 | let class = env::args_os() [INFO] [stdout] ... [INFO] [stdout] 427 | (instance, class) [INFO] [stdout] 428 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:895:12 [INFO] [stdout] | [INFO] [stdout] 895 | if let Some(flusher) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 896 | || .set_fullscreen_inner(fullscreen) [INFO] [stdout] 897 | || .expect("Failed to change window fullscreen state") [INFO] [stdout] | ||_______________________________________________________________^ 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/platform_impl/linux/x11/window.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 903 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 895 ~ match self [INFO] [stdout] 896 | .set_fullscreen_inner(fullscreen) [INFO] [stdout] 897 | .expect("Failed to change window fullscreen state") [INFO] [stdout] 898 ~ { Some(flusher) => { [INFO] [stdout] 899 | flusher [INFO] [stdout] ... [INFO] [stdout] 902 | self.invalidate_cached_frame_extents(); [INFO] [stdout] 903 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:920:20 [INFO] [stdout] | [INFO] [stdout] 920 | if let Some(fullscreen) = shared_state.desired_fullscreen.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/platform_impl/linux/x11/window.rs:923:17 [INFO] [stdout] | [INFO] [stdout] 923 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 920 ~ match shared_state.desired_fullscreen.take() { Some(fullscreen) => { [INFO] [stdout] 921 | drop(shared_state); [INFO] [stdout] 922 | self.set_fullscreen(fullscreen); [INFO] [stdout] 923 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1602:24 [INFO] [stdout] | [INFO] [stdout] 1602 | if let Err(err) = self.xconn.set_cursor_icon(self.xwindow, Some(icon)) [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1605:21 [INFO] [stdout] | [INFO] [stdout] 1605 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1602 ~ match self.xconn.set_cursor_icon(self.xwindow, Some(icon)) [INFO] [stdout] 1603 ~ { Err(err) => { [INFO] [stdout] 1604 | tracing::error!("failed to set cursor icon: {err}"); [INFO] [stdout] 1605 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1613:24 [INFO] [stdout] | [INFO] [stdout] 1613 | if let Err(err) = self.xconn.set_custom_cursor(self.xwindow, &cursor) [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1616:21 [INFO] [stdout] | [INFO] [stdout] 1616 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1613 ~ match self.xconn.set_custom_cursor(self.xwindow, &cursor) [INFO] [stdout] 1614 ~ { Err(err) => { [INFO] [stdout] 1615 | tracing::error!("failed to set window icon: {err}"); [INFO] [stdout] 1616 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1732 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1734:9 [INFO] [stdout] | [INFO] [stdout] 1734 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1732 ~ match result { Err(err) => { [INFO] [stdout] 1733 | tracing::error!("failed to set cursor icon: {err}"); [INFO] [stdout] 1734 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1901:31 [INFO] [stdout] | [INFO] [stdout] 1901 | let is_minimized = if let Ok(state) = [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1902 | |/ self.xconn [INFO] [stdout] 1903 | || .get_property::(self.xwindow, state_atom, state_type_atom) [INFO] [stdout] | ||_______________________________________________________________________________^ [INFO] [stdout] | |_______________________________________________________________________________| [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1906:9 [INFO] [stdout] | [INFO] [stdout] 1906 | } 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] 1901 ~ let is_minimized = match self.xconn [INFO] [stdout] 1902 | .get_property::(self.xwindow, state_atom, state_type_atom) [INFO] [stdout] 1903 ~ { Ok(state) => { [INFO] [stdout] 1904 | state.contains(&super::ICONIC_STATE) [INFO] [stdout] 1905 ~ } _ => { [INFO] [stdout] 1906 | false [INFO] [stdout] 1907 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1927:16 [INFO] [stdout] | [INFO] [stdout] 1927 | if let Err(e) = self.xconn.flush_requests() { [INFO] [stdout] | ^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:1932:13 [INFO] [stdout] | [INFO] [stdout] 1932 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1927 ~ match self.xconn.flush_requests() { Err(e) => { [INFO] [stdout] 1928 | tracing::error!( [INFO] [stdout] ... [INFO] [stdout] 1931 | ); [INFO] [stdout] 1932 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if let Some(Fullscreen::Exclusive(_)) = w.fullscreen().map(|f| f.into()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/window.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 55 ~ match w.fullscreen().map(|f| f.into()) { Some(Fullscreen::Exclusive(_)) => { [INFO] [stdout] 56 | w.set_fullscreen(None); [INFO] [stdout] 57 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/window.rs:1649:41 [INFO] [stdout] | [INFO] [stdout] 1649 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/window.rs:1649:31 [INFO] [stdout] | [INFO] [stdout] 1649 | pub fn available_monitors(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1649 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 93 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/window.rs (11 fixes) [INFO] [stderr] Migrating examples/run_on_demand.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/util/fill.rs (1 fix) [INFO] [stderr] Migrating examples/pump_events.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/run_on_demand.rs (1 fix) [INFO] [stderr] Migrating tests/send_objects.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/control_flow.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/x11_embed.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/child_window.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/child_window.rs (1 fix) [INFO] [stderr] Migrating tests/sync_object.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.94s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rio-window v0.1.14 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/platform_impl/linux/mod.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | / match $what { [INFO] [stdout] 218 | | #[cfg(x11_platform)] [INFO] [stdout] 219 | | $enum::X($($c1)*) => $x, [INFO] [stdout] 220 | | #[cfg(wayland_platform)] [INFO] [stdout] 221 | | $enum::Wayland($($c1)*) => $x, [INFO] [stdout] 222 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn video_modes(&self) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 259 | x11_or_wayland!(match self; MonitorHandle(m) => Box::new(m.video_modes())) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_or_wayland` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 258 | pub fn video_modes(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/platform_impl/linux/mod.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | / match $what { [INFO] [stdout] 218 | | #[cfg(x11_platform)] [INFO] [stdout] 219 | | $enum::X($($c1)*) => $x, [INFO] [stdout] 220 | | #[cfg(wayland_platform)] [INFO] [stdout] 221 | | $enum::Wayland($($c1)*) => $x, [INFO] [stdout] 222 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn video_modes(&self) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 259 | x11_or_wayland!(match self; MonitorHandle(m) => Box::new(m.video_modes())) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `x11_or_wayland` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 258 | pub fn video_modes(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | env::remove_var(X11_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | env::remove_var(WAYLAND_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | env::set_var(X11_VAR, &token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | env::set_var(WAYLAND_VAR, token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | env::remove_var(X11_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | env::remove_var(WAYLAND_VAR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | env::set_var(X11_VAR, &token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/platform/startup_notify.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | env::set_var(WAYLAND_VAR, token._token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rio-window` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rio-window` (lib test) due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ea4437c8ad561fa4f1212a9eb59f45e3ab699eaa95e739126def09af8ab0e930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea4437c8ad561fa4f1212a9eb59f45e3ab699eaa95e739126def09af8ab0e930", kill_on_drop: false }` [INFO] [stdout] ea4437c8ad561fa4f1212a9eb59f45e3ab699eaa95e739126def09af8ab0e930