[INFO] fetching crate winit 0.30.5... [INFO] checking winit-0.30.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate winit 0.30.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate winit 0.30.5 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 winit 0.30.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate winit 0.30.5 [INFO] tweaked toml for crates.io crate winit 0.30.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate winit 0.30.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a5d4bc222ef1ca634e31540874ee1799323c2c85cd2f0b79ace644c5756cc29 [INFO] running `Command { std: "docker" "start" "-a" "2a5d4bc222ef1ca634e31540874ee1799323c2c85cd2f0b79ace644c5756cc29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a5d4bc222ef1ca634e31540874ee1799323c2c85cd2f0b79ace644c5756cc29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5d4bc222ef1ca634e31540874ee1799323c2c85cd2f0b79ace644c5756cc29", kill_on_drop: false }` [INFO] [stdout] 2a5d4bc222ef1ca634e31540874ee1799323c2c85cd2f0b79ace644c5756cc29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 814698328c4941ff38665987dbdee70d91475b7697be1608c677dbfc6a3aea39 [INFO] running `Command { std: "docker" "start" "-a" "814698328c4941ff38665987dbdee70d91475b7697be1608c677dbfc6a3aea39", 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 log v0.4.21 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.4 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling softbuffer v0.4.2 [INFO] [stderr] Compiling winit v0.30.5 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking flate2 v1.0.29 [INFO] [stderr] Compiling wayland-sys v0.31.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking raw-window-handle v0.6.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling wayland-backend v0.3.5 [INFO] [stderr] Compiling wayland-scanner v0.31.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking tiny-xlib v0.2.2 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.2 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.2 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.2 [INFO] [stderr] Checking x11rb v0.13.0 [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 `winit` [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/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/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:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | ($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:1017:10 [INFO] [stderr] | [INFO] [stderr] 1017 | ($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:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | ($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:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | ($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/mouse.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($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:131:6 [INFO] [stderr] | [INFO] [stderr] 131 | ($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:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | (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:200:59 [INFO] [stderr] | [INFO] [stderr] 200 | (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:12 [INFO] [stderr] | [INFO] [stderr] 208 | (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:208:59 [INFO] [stderr] | [INFO] [stderr] 208 | (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 10 previous errors [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | ($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] 67 | ($error:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/event.rs:1017:19 [INFO] [stdout] | [INFO] [stdout] 1017 | ($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] 1017 | ($closure:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | ($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] 76 | ($e:expr_2021, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | ($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] 76 | ($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/mouse.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | ($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] 26 | ($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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ($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] 131 | ($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:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | (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] 200 | (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:200:57 [INFO] [stdout] | [INFO] [stdout] 200 | (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] 200 | (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:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | (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] 208 | (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:208:57 [INFO] [stdout] | [INFO] [stdout] 208 | (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] 208 | (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:995:12 [INFO] [stdout] | [INFO] [stdout] 995 | 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:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | } 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] 995 ~ match self.new_inner_size.upgrade() { Some(inner) => { [INFO] [stdout] 996 | *inner.lock().unwrap() = new_inner_size; [INFO] [stdout] 997 | Ok(()) [INFO] [stdout] 998 ~ } _ => { [INFO] [stdout] 999 | Err(ExternalError::Ignored) [INFO] [stdout] 1000~ }} [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:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | 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:398:31 [INFO] [stdout] | [INFO] [stdout] 398 | 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] 398 | 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:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | 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:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | 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] 164 | 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:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | 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:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match event { calloop::channel::Event::Msg(msg) => { [INFO] [stdout] 124 | winit_state.dispatched_events = true; [INFO] [stdout] 125 | pending_user_events_clone.borrow_mut().push(msg); [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/wayland/event_loop/mod.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | 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:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 468 ~ match event { Some(event) => { [INFO] [stdout] 469 | callback( [INFO] [stdout] ... [INFO] [stdout] 472 | ); [INFO] [stdout] 473 ~ } _ => {}} [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:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | 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:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | 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] 93 | 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:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(text_input_state) = [INFO] [stdout] | ____________^ [INFO] [stdout] 132 | | seat_state.text_input.is_none().then_some(self.text_input_state.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/seat/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match seat_state.text_input.is_none().then_some(self.text_input_state.as_ref()).flatten() [INFO] [stdout] 132 ~ { Some(text_input_state) => { [INFO] [stdout] 133 | seat_state.text_input = Some(Arc::new(text_input_state.get_text_input( [INFO] [stdout] ... [INFO] [stdout] 137 | ))); [INFO] [stdout] 138 ~ } _ => {}} [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:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | 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:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match seat_state.touch.take() { Some(touch) => { [INFO] [stdout] 164 | if touch.version() >= 3 { [INFO] [stdout] 165 | touch.release(); [INFO] [stdout] 166 | } [INFO] [stdout] 167 ~ } _ => {}} [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:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | 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:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 174 ~ match seat_state.pointer.take() { Some(pointer) => { [INFO] [stdout] 175 | let pointer_data = pointer.pointer().winit_data(); [INFO] [stdout] ... [INFO] [stdout] 187 | } [INFO] [stdout] 188 ~ } _ => {}} [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:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | 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:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 375 ~ match keyboard_state.xkb_context.key_context() { Some(mut key_context) => { [INFO] [stdout] 376 | let event = key_context.process_key_event(keycode, state, repeat); [INFO] [stdout] 377 | let event = WindowEvent::KeyboardInput { device_id, event, is_synthetic: false }; [INFO] [stdout] 378 | event_sink.push_window_event(event, window_id); [INFO] [stdout] 379 ~ } _ => {}} [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:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 91 | | seat, [INFO] [stdout] 92 | | surface, [INFO] [stdout] 93 | | Duration::ZERO, [INFO] [stdout] 94 | | event.position.0, [INFO] [stdout] 95 | | event.position.1, [INFO] [stdout] 96 | | ) { [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:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match window.frame_point_moved( [INFO] [stdout] 91 | seat, [INFO] [stdout] ... [INFO] [stdout] 95 | event.position.1, [INFO] [stdout] 96 ~ ) { Some(icon) => { [INFO] [stdout] 97 | let _ = themed_pointer.set_cursor(connection, icon); [INFO] [stdout] 98 ~ } _ => {}} [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:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | 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:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 260 ~ match inner.locked_pointer.take() { Some(locked_pointer) => { [INFO] [stdout] 261 | locked_pointer.destroy(); [INFO] [stdout] 262 ~ } _ => {}} [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:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | 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:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match inner.confined_pointer.as_ref() { Some(confined_pointer) => { [INFO] [stdout] 285 | confined_pointer.destroy(); [INFO] [stdout] 286 ~ } _ => {}} [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:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | 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:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match inner.locked_pointer.as_ref() { Some(locked_pointer) => { [INFO] [stdout] 312 | locked_pointer.set_cursor_position_hint(surface_x, surface_y); [INFO] [stdout] 313 ~ } _ => {}} [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:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | 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:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 347 ~ match self.confined_pointer.take() { Some(confined_pointer) => { [INFO] [stdout] 348 | confined_pointer.destroy(); [INFO] [stdout] 349 ~ } _ => {}} [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:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | 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:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match text_input_data.pending_preedit.take() { Some(preedit) => { [INFO] [stdout] 139 | let cursor_range = [INFO] [stdout] ... [INFO] [stdout] 145 | ); [INFO] [stdout] 146 ~ } _ => {}} [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:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } 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] 152 ~ match FractionalScalingManager::new(globals, queue_handle) { Ok(fsm) => { [INFO] [stdout] 153 | (ViewporterState::new(globals, queue_handle).ok(), Some(fsm)) [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | (None, None) [INFO] [stdout] 156 ~ }}; [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:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 228 | } 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:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | } 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:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match self.windows.get_mut().get(&window_id) { Some(window) => { [INFO] [stdout] 208 | // Don't update the scaling factor, when legacy method is used. [INFO] [stdout] ... [INFO] [stdout] 227 | self.window_compositor_updates[pos].scale_changed = true; [INFO] [stdout] 228 ~ } _ => { match self.pointer_surfaces.get(&surface.id()) { Some(pointer) => { [INFO] [stdout] 229 | // Get the window, where the pointer resides right now. [INFO] [stdout] ... [INFO] [stdout] 237 | } [INFO] [stdout] 238 ~ } _ => {}}}} [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:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | 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:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 235 ~ match self.windows.get_mut().get(&focused_window) { Some(window_state) => { [INFO] [stdout] 236 | window_state.lock().unwrap().reload_cursor_style() [INFO] [stdout] 237 ~ } _ => {}} [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:321:12 [INFO] [stdout] | [INFO] [stdout] 321 | 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:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | } 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] 321 ~ match monitors.iter().position(|output| output == &updated) { Some(pos) => { [INFO] [stdout] 322 | monitors[pos] = updated [INFO] [stdout] 323 ~ } _ => { [INFO] [stdout] 324 | monitors.push(updated) [INFO] [stdout] 325 ~ }} [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:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | 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:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 331 ~ match monitors.iter().position(|output| output == &removed) { Some(pos) => { [INFO] [stdout] 332 | monitors.remove(pos); [INFO] [stdout] 333 ~ } _ => {}} [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:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match fence.upgrade() { Some(attention_requested) => { [INFO] [stdout] 76 | attention_requested.store(false, std::sync::atomic::Ordering::Relaxed); [INFO] [stdout] 77 ~ } _ => {}} [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:310:44 [INFO] [stdout] | [INFO] [stdout] 310 | 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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | } 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] 310 ~ let (mut new_size, constrain) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 311 | // Configure the window states. [INFO] [stdout] ... [INFO] [stdout] 323 | } [INFO] [stdout] 324 ~ } _ => { [INFO] [stdout] 325 | match configure.new_size { [INFO] [stdout] ... [INFO] [stdout] 329 | } [INFO] [stdout] 330 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | 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:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } 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] 377 ~ match self.frame.as_ref() { Some(frame) => { [INFO] [stdout] 378 | let (width, height) = frame.subtract_borders( [INFO] [stdout] ... [INFO] [stdout] 382 | (configure_bounds.0.and(width), configure_bounds.1.and(height)) [INFO] [stdout] 383 ~ } _ => { [INFO] [stdout] 384 | configure_bounds [INFO] [stdout] 385 ~ }} [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:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | 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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | } [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 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 462 | frame.click_point_left(); [INFO] [stdout] 463 ~ } _ => {}} [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:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | 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:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | } 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] 478 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 479 | let cursor = frame.click_point_moved(timestamp, &surface.id(), x, y); [INFO] [stdout] ... [INFO] [stdout] 487 | } [INFO] [stdout] 488 ~ } _ => { [INFO] [stdout] 489 | None [INFO] [stdout] 490 ~ }} [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:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | 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:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 556 ~ match csd.then_some(self.frame.as_ref()).flatten() { Some(frame) => { [INFO] [stdout] 557 | !frame.is_hidden() [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | // Server side decorations. [INFO] [stdout] 560 | true [INFO] [stdout] 561 ~ }} [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:586:16 [INFO] [stdout] | [INFO] [stdout] 586 | 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:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 586 ~ match pointer.upgrade() { Some(pointer) => { [INFO] [stdout] 587 | if pointer.pointer() != removed.upgrade().unwrap().pointer() { [INFO] [stdout] 588 | new_pointers.push(Arc::downgrade(&pointer)); [INFO] [stdout] 589 | } [INFO] [stdout] 590 ~ } _ => {}} [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:625:19 [INFO] [stdout] | [INFO] [stdout] 625 | } 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:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | } 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] 625 ~ } else { match Region::new(&*self.compositor) { Ok(region) => { [INFO] [stdout] 626 | region.add(0, 0, i32::MAX, i32::MAX); [INFO] [stdout] 627 | surface.set_opaque_region(Some(region.wl_region())); [INFO] [stdout] 628 ~ } _ => { [INFO] [stdout] 629 | warn!("Failed to mark window opaque."); [INFO] [stdout] 630 ~ }}} [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:652:39 [INFO] [stdout] | [INFO] [stdout] 652 | 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:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 652 ~ let ((x, y), outer_size) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 653 | // Resize only visible frame. [INFO] [stdout] ... [INFO] [stdout] 661 | (frame.location(), frame.add_borders(self.size.width, self.size.height).into()) [INFO] [stdout] 662 ~ } _ => { [INFO] [stdout] 663 | ((0, 0), self.size) [INFO] [stdout] 664 ~ }}; [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:678:12 [INFO] [stdout] | [INFO] [stdout] 678 | 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:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 678 ~ match self.viewport.as_ref() { Some(viewport) => { [INFO] [stdout] 679 | // Set inner size without the borders. [INFO] [stdout] 680 | viewport.set_destination(self.size.width as _, self.size.height as _); [INFO] [stdout] 681 ~ } _ => {}} [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:793:12 [INFO] [stdout] | [INFO] [stdout] 793 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 793 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 794 | frame.set_config(into_sctk_adwaita_config(theme)) [INFO] [stdout] 795 ~ } _ => {}} [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:926:12 [INFO] [stdout] | [INFO] [stdout] 926 | 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:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 926 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 927 | frame.set_hidden(!decorate); [INFO] [stdout] 928 | // Force the resize. [INFO] [stdout] 929 | self.resize(self.size); [INFO] [stdout] 930 ~ } _ => {}} [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:1002:12 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1004:9 [INFO] [stdout] | [INFO] [stdout] 1004 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1002 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 1003 | frame.set_scaling_factor(scale_factor); [INFO] [stdout] 1004 ~ } _ => {}} [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:1011:16 [INFO] [stdout] | [INFO] [stdout] 1011 | 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:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | } 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] 1011 ~ match self.blur_manager.as_ref() { Some(blur_manager) => { [INFO] [stdout] 1012 | let blur = blur_manager.blur(self.window.wl_surface(), &self.queue_handle); [INFO] [stdout] 1013 | blur.commit(); [INFO] [stdout] 1014 | self.blur = Some(blur); [INFO] [stdout] 1015 ~ } _ => { [INFO] [stdout] 1016 | info!("Blur manager unavailable, unable to change blur") [INFO] [stdout] 1017 ~ }} [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:1065:12 [INFO] [stdout] | [INFO] [stdout] 1065 | 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:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1065 ~ match self.text_inputs.iter().position(|t| t == text_input) { Some(position) => { [INFO] [stdout] 1066 | self.text_inputs.remove(position); [INFO] [stdout] 1067 ~ } _ => {}} [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:1087:12 [INFO] [stdout] | [INFO] [stdout] 1087 | 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:1089:9 [INFO] [stdout] | [INFO] [stdout] 1089 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match self.viewport.take() { Some(viewport) => { [INFO] [stdout] 1088 | viewport.destroy(); [INFO] [stdout] 1089 ~ } _ => {}} [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:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | 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] 213 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 214 | } 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:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | } 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:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match ime.as_ref() { Err(ImeCreationError::OpenFailure(state)) => { [INFO] [stdout] 213 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 214 ~ } _ => { match ime.as_ref() { Err(err) => { [INFO] [stdout] 215 | warn!("Failed to set input method destruction callback: {err:?}"); [INFO] [stdout] 216 ~ } _ => {}}}} [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:523:15 [INFO] [stdout] | [INFO] [stdout] 523 | 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:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | } [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:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | 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:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | } [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:557:19 [INFO] [stdout] | [INFO] [stdout] 557 | 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | } [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:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | if let Event::WindowEvent { [INFO] [stdout] | ____________________^ [INFO] [stdout] 586 | | window_id: crate::window::WindowId(wid), [INFO] [stdout] 587 | | event: WindowEvent::RedrawRequested, [INFO] [stdout] 588 | | } = 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:592:17 [INFO] [stdout] | [INFO] [stdout] 592 | } 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] 585 ~ match event [INFO] [stdout] 586 ~ { Event::WindowEvent { [INFO] [stdout] 587 + window_id: crate::window::WindowId(wid), [INFO] [stdout] 588 + event: WindowEvent::RedrawRequested, [INFO] [stdout] 589 ~ } => { [INFO] [stdout] 590 | let window_target = EventProcessor::window_target(window_target); [INFO] [stdout] 591 | window_target.redraw_sender.send(wid).unwrap(); [INFO] [stdout] 592 ~ } _ => { [INFO] [stdout] 593 | callback(event, window_target); [INFO] [stdout] 594 ~ }} [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:639:41 [INFO] [stdout] | [INFO] [stdout] 639 | 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:639:31 [INFO] [stdout] | [INFO] [stdout] 639 | 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] 639 | 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:806:12 [INFO] [stdout] | [INFO] [stdout] 806 | if let Ok(c) = xconn.xcb_connection().destroy_window(window.id().0 as xproto::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/mod.rs:808:9 [INFO] [stdout] | [INFO] [stdout] 808 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 806 ~ match xconn.xcb_connection().destroy_window(window.id().0 as xproto::Window) { Ok(c) => { [INFO] [stdout] 807 | c.ignore_error(); [INFO] [stdout] 808 ~ } _ => {}} [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:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | } [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:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | 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:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } [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:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | 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:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 338 ~ match DeviceInfo::get(&window_target.xconn, device as _) { Some(info) => { [INFO] [stdout] 339 | for info in info.iter() { [INFO] [stdout] 340 | devices.insert(DeviceId(info.deviceid as _), Device::new(info)); [INFO] [stdout] 341 | } [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/x11/event_processor.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 445 | } else if let Ok(more_types) = 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ } else { match unsafe { self.dnd.get_type_list(source_window) } { Ok(more_types) => { [INFO] [stdout] 446 | self.dnd.type_list = Some(more_types); [INFO] [stdout] 447 ~ } _ => {}}} [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:477:31 [INFO] [stdout] | [INFO] [stdout] 477 | 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:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | } 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] 477 ~ let accepted = match self.dnd.type_list { Some(ref type_list) => { [INFO] [stdout] 478 | type_list.contains(&atoms[TextUriList]) [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | false [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/x11/event_processor.rs:520:45 [INFO] [stdout] | [INFO] [stdout] 520 | let (source_window, state) = 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:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | } 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] 520 ~ let (source_window, state) = match self.dnd.source_window { Some(source_window) => { [INFO] [stdout] 521 | if let Some(Ok(ref path_list)) = self.dnd.result { [INFO] [stdout] ... [INFO] [stdout] 530 | (source_window, DndState::Accepted) [INFO] [stdout] 531 ~ } _ => { [INFO] [stdout] 532 | // `source_window` won't be part of our DND state if we already rejected the drop in [INFO] [stdout] ... [INFO] [stdout] 535 | (source_window, DndState::Rejected) [INFO] [stdout] 536 ~ }}; [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:574:12 [INFO] [stdout] | [INFO] [stdout] 574 | 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:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | } [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 unsafe { self.dnd.read_data(window) } { Ok(mut data) => { [INFO] [stdout] 575 | let parse_result = self.dnd.parse_data(&mut data); [INFO] [stdout] ... [INFO] [stdout] 585 | self.dnd.result = Some(parse_result); [INFO] [stdout] 586 ~ } _ => {}} [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:972:12 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some(ic) = [INFO] [stdout] | ____________^ [INFO] [stdout] 973 | | wt.ime.as_ref().and_then(|ime| ime.borrow().get_context(window as XWindow)) [INFO] [stdout] | |_____________------____________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:989:9 [INFO] [stdout] | [INFO] [stdout] 989 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 972 ~ match wt.ime.as_ref().and_then(|ime| ime.borrow().get_context(window as XWindow)) [INFO] [stdout] 973 ~ { Some(ic) => { [INFO] [stdout] 974 | let written = wt.xconn.lookup_utf8(ic, xev); [INFO] [stdout] ... [INFO] [stdout] 987 | } [INFO] [stdout] 988 ~ } _ => {}} [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:1183:24 [INFO] [stdout] | [INFO] [stdout] 1183 | 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:1185:21 [INFO] [stdout] | [INFO] [stdout] 1185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1183 ~ match devices.get_mut(&device_id) { Some(device) => { [INFO] [stdout] 1184 | device.reset_scroll_position(device_info); [INFO] [stdout] 1185 ~ } _ => {}} [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:1550:24 [INFO] [stdout] | [INFO] [stdout] 1550 | 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:1553:21 [INFO] [stdout] | [INFO] [stdout] 1553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1550 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1551 | let mods = state.modifiers().into(); [INFO] [stdout] 1552 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1553 ~ } _ => {}} [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:1565:20 [INFO] [stdout] | [INFO] [stdout] 1565 | 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:1568:17 [INFO] [stdout] | [INFO] [stdout] 1568 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1565 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1566 | let mods = state.modifiers().into(); [INFO] [stdout] 1567 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1568 ~ } _ => {}} [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:1576:20 [INFO] [stdout] | [INFO] [stdout] 1576 | 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:1593:17 [INFO] [stdout] | [INFO] [stdout] 1593 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1576 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1577 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1592 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1593 ~ } _ => {}} [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:1608:12 [INFO] [stdout] | [INFO] [stdout] 1608 | 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:1627:9 [INFO] [stdout] | [INFO] [stdout] 1627 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1608 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1609 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1626 | self.send_modifiers(window_id, mods.into(), force, &mut callback); [INFO] [stdout] 1627 ~ } _ => {}} [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:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | 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:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | } 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] 163 ~ match self.inner.contexts.get(&window) { Some(Some(context)) => { [INFO] [stdout] 164 | Some(context.ic) [INFO] [stdout] 165 ~ } _ => { [INFO] [stdout] 166 | None [INFO] [stdout] 167 ~ }} [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:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | 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:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | } 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] 171 ~ match self.inner.contexts.remove(&window) { Some(Some(context)) => { [INFO] [stdout] 172 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(true) [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | Ok(false) [INFO] [stdout] 178 ~ }} [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:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | 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:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | } 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] 185 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 186 | context.focus(&self.xconn).map(|_| true) [INFO] [stdout] 187 ~ } _ => { [INFO] [stdout] 188 | Ok(false) [INFO] [stdout] 189 ~ }} [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:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | 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:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | } 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] 196 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 197 | context.unfocus(&self.xconn).map(|_| true) [INFO] [stdout] 198 ~ } _ => { [INFO] [stdout] 199 | Ok(false) [INFO] [stdout] 200 ~ }} [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:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | 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:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 208 | context.set_spot(&self.xconn, x as _, y as _); [INFO] [stdout] 209 ~ } _ => {}} [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:188:34 [INFO] [stdout] | [INFO] [stdout] 188 | 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:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | 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] 188 | 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:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | 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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | } 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] 117 ~ let no_utf8 = match result { Err(ref err) => { [INFO] [stdout] 118 | err.is_actual_property_type(xproto::Atom::from(xproto::AtomEnum::STRING)) [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | false [INFO] [stdout] 121 ~ }}; [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:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | let (instance, class) = 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:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | } 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] 383 ~ let (instance, class) = match window_attrs.platform_specific.name { Some(name) => { [INFO] [stdout] 384 | (name.instance, name.general) [INFO] [stdout] 385 ~ } _ => { [INFO] [stdout] 386 | let class = env::args_os() [INFO] [stdout] ... [INFO] [stdout] 396 | (instance, class) [INFO] [stdout] 397 ~ }}; [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:816:12 [INFO] [stdout] | [INFO] [stdout] 816 | if let Some(flusher) = [INFO] [stdout] | ____________^ [INFO] [stdout] 817 | | self.set_fullscreen_inner(fullscreen).expect("Failed to change window fullscreen state") [INFO] [stdout] | |_____________---------------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 816 ~ match self.set_fullscreen_inner(fullscreen).expect("Failed to change window fullscreen state") [INFO] [stdout] 817 ~ { Some(flusher) => { [INFO] [stdout] 818 | flusher.check().expect("Failed to change window fullscreen state"); [INFO] [stdout] 819 | self.invalidate_cached_frame_extents(); [INFO] [stdout] 820 ~ } _ => {}} [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:838:20 [INFO] [stdout] | [INFO] [stdout] 838 | 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:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 838 ~ match shared_state.desired_fullscreen.take() { Some(fullscreen) => { [INFO] [stdout] 839 | drop(shared_state); [INFO] [stdout] 840 | self.set_fullscreen(fullscreen); [INFO] [stdout] 841 ~ } _ => {}} [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:1737:31 [INFO] [stdout] | [INFO] [stdout] 1737 | let is_minimized = if let Ok(state) = [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1738 | | self.xconn.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:1741:9 [INFO] [stdout] | [INFO] [stdout] 1741 | } 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] 1737 ~ let is_minimized = match self.xconn.get_property::(self.xwindow, state_atom, state_type_atom) [INFO] [stdout] 1738 ~ { Ok(state) => { [INFO] [stdout] 1739 | state.contains(&super::ICONIC_STATE) [INFO] [stdout] 1740 ~ } _ => { [INFO] [stdout] 1741 | false [INFO] [stdout] 1742 ~ }}; [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:1762:16 [INFO] [stdout] | [INFO] [stdout] 1762 | 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:1767:13 [INFO] [stdout] | [INFO] [stdout] 1767 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1762 ~ match self.xconn.flush_requests() { Err(e) => { [INFO] [stdout] 1763 | tracing::error!( [INFO] [stdout] ... [INFO] [stdout] 1766 | ); [INFO] [stdout] 1767 ~ } _ => {}} [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:1599:41 [INFO] [stdout] | [INFO] [stdout] 1599 | 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:1599:31 [INFO] [stdout] | [INFO] [stdout] 1599 | 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] 1599 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `winit` [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/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:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | ($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:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | ($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:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | ($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/mouse.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($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:131:6 [INFO] [stderr] | [INFO] [stderr] 131 | ($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:200:12 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/error.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | ($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] 67 | ($error:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 200 | (match $what:expr_2021; $enum:ident ( $($c1:tt)* ) => $x:expr_2021; as $enum2:ident ) => { [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:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | ($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] 76 | ($e:expr_2021, $err:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/platform_impl/linux/wayland/event_loop/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | ($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] 76 | ($e:expr, $err: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/platform_impl/linux/x11/util/mouse.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | ($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] 26 | ($this:expr_2021, $ty:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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:200:59 [INFO] [stderr] | [INFO] [stderr] 200 | (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:12 [INFO] [stderr] | [INFO] [stderr] 208 | (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:208:59 [INFO] [stderr] | [INFO] [stderr] 208 | (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 9 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/window.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ($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] 131 | ($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:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | (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] 200 | (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:200:57 [INFO] [stdout] | [INFO] [stdout] 200 | (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] 200 | (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:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | (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] 208 | (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:208:57 [INFO] [stdout] | [INFO] [stdout] 208 | (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] 208 | (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:995:12 [INFO] [stdout] | [INFO] [stdout] 995 | 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:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | } 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] 995 ~ match self.new_inner_size.upgrade() { Some(inner) => { [INFO] [stdout] 996 | *inner.lock().unwrap() = new_inner_size; [INFO] [stdout] 997 | Ok(()) [INFO] [stdout] 998 ~ } _ => { [INFO] [stdout] 999 | Err(ExternalError::Ignored) [INFO] [stdout] 1000~ }} [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:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | 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:398:31 [INFO] [stdout] | [INFO] [stdout] 398 | 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] 398 | 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:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | 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:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | 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] 164 | 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:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | 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:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match event { calloop::channel::Event::Msg(msg) => { [INFO] [stdout] 124 | winit_state.dispatched_events = true; [INFO] [stdout] 125 | pending_user_events_clone.borrow_mut().push(msg); [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/wayland/event_loop/mod.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | 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:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 468 ~ match event { Some(event) => { [INFO] [stdout] 469 | callback( [INFO] [stdout] ... [INFO] [stdout] 472 | ); [INFO] [stdout] 473 ~ } _ => {}} [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:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | 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:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | 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] 93 | 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:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(text_input_state) = [INFO] [stdout] | ____________^ [INFO] [stdout] 132 | | seat_state.text_input.is_none().then_some(self.text_input_state.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/seat/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match seat_state.text_input.is_none().then_some(self.text_input_state.as_ref()).flatten() [INFO] [stdout] 132 ~ { Some(text_input_state) => { [INFO] [stdout] 133 | seat_state.text_input = Some(Arc::new(text_input_state.get_text_input( [INFO] [stdout] ... [INFO] [stdout] 137 | ))); [INFO] [stdout] 138 ~ } _ => {}} [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:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | 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:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match seat_state.touch.take() { Some(touch) => { [INFO] [stdout] 164 | if touch.version() >= 3 { [INFO] [stdout] 165 | touch.release(); [INFO] [stdout] 166 | } [INFO] [stdout] 167 ~ } _ => {}} [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:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | 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:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 174 ~ match seat_state.pointer.take() { Some(pointer) => { [INFO] [stdout] 175 | let pointer_data = pointer.pointer().winit_data(); [INFO] [stdout] ... [INFO] [stdout] 187 | } [INFO] [stdout] 188 ~ } _ => {}} [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:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | 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:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 375 ~ match keyboard_state.xkb_context.key_context() { Some(mut key_context) => { [INFO] [stdout] 376 | let event = key_context.process_key_event(keycode, state, repeat); [INFO] [stdout] 377 | let event = WindowEvent::KeyboardInput { device_id, event, is_synthetic: false }; [INFO] [stdout] 378 | event_sink.push_window_event(event, window_id); [INFO] [stdout] 379 ~ } _ => {}} [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:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 91 | | seat, [INFO] [stdout] 92 | | surface, [INFO] [stdout] 93 | | Duration::ZERO, [INFO] [stdout] 94 | | event.position.0, [INFO] [stdout] 95 | | event.position.1, [INFO] [stdout] 96 | | ) { [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:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match window.frame_point_moved( [INFO] [stdout] 91 | seat, [INFO] [stdout] ... [INFO] [stdout] 95 | event.position.1, [INFO] [stdout] 96 ~ ) { Some(icon) => { [INFO] [stdout] 97 | let _ = themed_pointer.set_cursor(connection, icon); [INFO] [stdout] 98 ~ } _ => {}} [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:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | 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:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 260 ~ match inner.locked_pointer.take() { Some(locked_pointer) => { [INFO] [stdout] 261 | locked_pointer.destroy(); [INFO] [stdout] 262 ~ } _ => {}} [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:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | 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:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match inner.confined_pointer.as_ref() { Some(confined_pointer) => { [INFO] [stdout] 285 | confined_pointer.destroy(); [INFO] [stdout] 286 ~ } _ => {}} [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:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | 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:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ match inner.locked_pointer.as_ref() { Some(locked_pointer) => { [INFO] [stdout] 312 | locked_pointer.set_cursor_position_hint(surface_x, surface_y); [INFO] [stdout] 313 ~ } _ => {}} [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:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | 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:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 347 ~ match self.confined_pointer.take() { Some(confined_pointer) => { [INFO] [stdout] 348 | confined_pointer.destroy(); [INFO] [stdout] 349 ~ } _ => {}} [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:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | 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:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match text_input_data.pending_preedit.take() { Some(preedit) => { [INFO] [stdout] 139 | let cursor_range = [INFO] [stdout] ... [INFO] [stdout] 145 | ); [INFO] [stdout] 146 ~ } _ => {}} [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:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | 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:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | } 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] 152 ~ match FractionalScalingManager::new(globals, queue_handle) { Ok(fsm) => { [INFO] [stdout] 153 | (ViewporterState::new(globals, queue_handle).ok(), Some(fsm)) [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | (None, None) [INFO] [stdout] 156 ~ }}; [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:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 228 | } 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:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | } 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:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match self.windows.get_mut().get(&window_id) { Some(window) => { [INFO] [stdout] 208 | // Don't update the scaling factor, when legacy method is used. [INFO] [stdout] ... [INFO] [stdout] 227 | self.window_compositor_updates[pos].scale_changed = true; [INFO] [stdout] 228 ~ } _ => { match self.pointer_surfaces.get(&surface.id()) { Some(pointer) => { [INFO] [stdout] 229 | // Get the window, where the pointer resides right now. [INFO] [stdout] ... [INFO] [stdout] 237 | } [INFO] [stdout] 238 ~ } _ => {}}}} [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:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | 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:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 235 ~ match self.windows.get_mut().get(&focused_window) { Some(window_state) => { [INFO] [stdout] 236 | window_state.lock().unwrap().reload_cursor_style() [INFO] [stdout] 237 ~ } _ => {}} [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:321:12 [INFO] [stdout] | [INFO] [stdout] 321 | 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:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | } 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] 321 ~ match monitors.iter().position(|output| output == &updated) { Some(pos) => { [INFO] [stdout] 322 | monitors[pos] = updated [INFO] [stdout] 323 ~ } _ => { [INFO] [stdout] 324 | monitors.push(updated) [INFO] [stdout] 325 ~ }} [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:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | 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:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 331 ~ match monitors.iter().position(|output| output == &removed) { Some(pos) => { [INFO] [stdout] 332 | monitors.remove(pos); [INFO] [stdout] 333 ~ } _ => {}} [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:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match fence.upgrade() { Some(attention_requested) => { [INFO] [stdout] 76 | attention_requested.store(false, std::sync::atomic::Ordering::Relaxed); [INFO] [stdout] 77 ~ } _ => {}} [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:310:44 [INFO] [stdout] | [INFO] [stdout] 310 | 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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | } 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] 310 ~ let (mut new_size, constrain) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 311 | // Configure the window states. [INFO] [stdout] ... [INFO] [stdout] 323 | } [INFO] [stdout] 324 ~ } _ => { [INFO] [stdout] 325 | match configure.new_size { [INFO] [stdout] ... [INFO] [stdout] 329 | } [INFO] [stdout] 330 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/wayland/window/state.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | 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:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } 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] 377 ~ match self.frame.as_ref() { Some(frame) => { [INFO] [stdout] 378 | let (width, height) = frame.subtract_borders( [INFO] [stdout] ... [INFO] [stdout] 382 | (configure_bounds.0.and(width), configure_bounds.1.and(height)) [INFO] [stdout] 383 ~ } _ => { [INFO] [stdout] 384 | configure_bounds [INFO] [stdout] 385 ~ }} [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:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | 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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | } [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 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 462 | frame.click_point_left(); [INFO] [stdout] 463 ~ } _ => {}} [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:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | 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:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | } 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] 478 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 479 | let cursor = frame.click_point_moved(timestamp, &surface.id(), x, y); [INFO] [stdout] ... [INFO] [stdout] 487 | } [INFO] [stdout] 488 ~ } _ => { [INFO] [stdout] 489 | None [INFO] [stdout] 490 ~ }} [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:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | 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:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | } 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] 556 ~ match csd.then_some(self.frame.as_ref()).flatten() { Some(frame) => { [INFO] [stdout] 557 | !frame.is_hidden() [INFO] [stdout] 558 ~ } _ => { [INFO] [stdout] 559 | // Server side decorations. [INFO] [stdout] 560 | true [INFO] [stdout] 561 ~ }} [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:586:16 [INFO] [stdout] | [INFO] [stdout] 586 | 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:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 586 ~ match pointer.upgrade() { Some(pointer) => { [INFO] [stdout] 587 | if pointer.pointer() != removed.upgrade().unwrap().pointer() { [INFO] [stdout] 588 | new_pointers.push(Arc::downgrade(&pointer)); [INFO] [stdout] 589 | } [INFO] [stdout] 590 ~ } _ => {}} [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:625:19 [INFO] [stdout] | [INFO] [stdout] 625 | } 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:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | } 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] 625 ~ } else { match Region::new(&*self.compositor) { Ok(region) => { [INFO] [stdout] 626 | region.add(0, 0, i32::MAX, i32::MAX); [INFO] [stdout] 627 | surface.set_opaque_region(Some(region.wl_region())); [INFO] [stdout] 628 ~ } _ => { [INFO] [stdout] 629 | warn!("Failed to mark window opaque."); [INFO] [stdout] 630 ~ }}} [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:652:39 [INFO] [stdout] | [INFO] [stdout] 652 | 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:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 652 ~ let ((x, y), outer_size) = match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 653 | // Resize only visible frame. [INFO] [stdout] ... [INFO] [stdout] 661 | (frame.location(), frame.add_borders(self.size.width, self.size.height).into()) [INFO] [stdout] 662 ~ } _ => { [INFO] [stdout] 663 | ((0, 0), self.size) [INFO] [stdout] 664 ~ }}; [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:678:12 [INFO] [stdout] | [INFO] [stdout] 678 | 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:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 678 ~ match self.viewport.as_ref() { Some(viewport) => { [INFO] [stdout] 679 | // Set inner size without the borders. [INFO] [stdout] 680 | viewport.set_destination(self.size.width as _, self.size.height as _); [INFO] [stdout] 681 ~ } _ => {}} [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:793:12 [INFO] [stdout] | [INFO] [stdout] 793 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 793 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 794 | frame.set_config(into_sctk_adwaita_config(theme)) [INFO] [stdout] 795 ~ } _ => {}} [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:926:12 [INFO] [stdout] | [INFO] [stdout] 926 | 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:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 926 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 927 | frame.set_hidden(!decorate); [INFO] [stdout] 928 | // Force the resize. [INFO] [stdout] 929 | self.resize(self.size); [INFO] [stdout] 930 ~ } _ => {}} [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:1002:12 [INFO] [stdout] | [INFO] [stdout] 1002 | 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:1004:9 [INFO] [stdout] | [INFO] [stdout] 1004 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1002 ~ match self.frame.as_mut() { Some(frame) => { [INFO] [stdout] 1003 | frame.set_scaling_factor(scale_factor); [INFO] [stdout] 1004 ~ } _ => {}} [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:1011:16 [INFO] [stdout] | [INFO] [stdout] 1011 | 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:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | } 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] 1011 ~ match self.blur_manager.as_ref() { Some(blur_manager) => { [INFO] [stdout] 1012 | let blur = blur_manager.blur(self.window.wl_surface(), &self.queue_handle); [INFO] [stdout] 1013 | blur.commit(); [INFO] [stdout] 1014 | self.blur = Some(blur); [INFO] [stdout] 1015 ~ } _ => { [INFO] [stdout] 1016 | info!("Blur manager unavailable, unable to change blur") [INFO] [stdout] 1017 ~ }} [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:1065:12 [INFO] [stdout] | [INFO] [stdout] 1065 | 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:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1065 ~ match self.text_inputs.iter().position(|t| t == text_input) { Some(position) => { [INFO] [stdout] 1066 | self.text_inputs.remove(position); [INFO] [stdout] 1067 ~ } _ => {}} [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:1087:12 [INFO] [stdout] | [INFO] [stdout] 1087 | 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:1089:9 [INFO] [stdout] | [INFO] [stdout] 1089 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match self.viewport.take() { Some(viewport) => { [INFO] [stdout] 1088 | viewport.destroy(); [INFO] [stdout] 1089 ~ } _ => {}} [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:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | 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] 213 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 214 | } 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:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | } 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:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 212 ~ match ime.as_ref() { Err(ImeCreationError::OpenFailure(state)) => { [INFO] [stdout] 213 | warn!("Failed to open input method: {state:#?}"); [INFO] [stdout] 214 ~ } _ => { match ime.as_ref() { Err(err) => { [INFO] [stdout] 215 | warn!("Failed to set input method destruction callback: {err:?}"); [INFO] [stdout] 216 ~ } _ => {}}}} [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:523:15 [INFO] [stdout] | [INFO] [stdout] 523 | 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:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | } [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:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | 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:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | } [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:557:19 [INFO] [stdout] | [INFO] [stdout] 557 | 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | } [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:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | if let Event::WindowEvent { [INFO] [stdout] | ____________________^ [INFO] [stdout] 586 | | window_id: crate::window::WindowId(wid), [INFO] [stdout] 587 | | event: WindowEvent::RedrawRequested, [INFO] [stdout] 588 | | } = 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:592:17 [INFO] [stdout] | [INFO] [stdout] 592 | } 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] 585 ~ match event [INFO] [stdout] 586 ~ { Event::WindowEvent { [INFO] [stdout] 587 + window_id: crate::window::WindowId(wid), [INFO] [stdout] 588 + event: WindowEvent::RedrawRequested, [INFO] [stdout] 589 ~ } => { [INFO] [stdout] 590 | let window_target = EventProcessor::window_target(window_target); [INFO] [stdout] 591 | window_target.redraw_sender.send(wid).unwrap(); [INFO] [stdout] 592 ~ } _ => { [INFO] [stdout] 593 | callback(event, window_target); [INFO] [stdout] 594 ~ }} [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:639:41 [INFO] [stdout] | [INFO] [stdout] 639 | 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:639:31 [INFO] [stdout] | [INFO] [stdout] 639 | 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] 639 | 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:806:12 [INFO] [stdout] | [INFO] [stdout] 806 | if let Ok(c) = xconn.xcb_connection().destroy_window(window.id().0 as xproto::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/mod.rs:808:9 [INFO] [stdout] | [INFO] [stdout] 808 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 806 ~ match xconn.xcb_connection().destroy_window(window.id().0 as xproto::Window) { Ok(c) => { [INFO] [stdout] 807 | c.ignore_error(); [INFO] [stdout] 808 ~ } _ => {}} [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:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | 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:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | } [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:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | 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:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } [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:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | 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:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 338 ~ match DeviceInfo::get(&window_target.xconn, device as _) { Some(info) => { [INFO] [stdout] 339 | for info in info.iter() { [INFO] [stdout] 340 | devices.insert(DeviceId(info.deviceid as _), Device::new(info)); [INFO] [stdout] 341 | } [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/x11/event_processor.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 445 | } else if let Ok(more_types) = 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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ } else { match unsafe { self.dnd.get_type_list(source_window) } { Ok(more_types) => { [INFO] [stdout] 446 | self.dnd.type_list = Some(more_types); [INFO] [stdout] 447 ~ } _ => {}}} [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:477:31 [INFO] [stdout] | [INFO] [stdout] 477 | 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:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | } 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] 477 ~ let accepted = match self.dnd.type_list { Some(ref type_list) => { [INFO] [stdout] 478 | type_list.contains(&atoms[TextUriList]) [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | false [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/x11/event_processor.rs:520:45 [INFO] [stdout] | [INFO] [stdout] 520 | let (source_window, state) = 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:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | } 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] 520 ~ let (source_window, state) = match self.dnd.source_window { Some(source_window) => { [INFO] [stdout] 521 | if let Some(Ok(ref path_list)) = self.dnd.result { [INFO] [stdout] ... [INFO] [stdout] 530 | (source_window, DndState::Accepted) [INFO] [stdout] 531 ~ } _ => { [INFO] [stdout] 532 | // `source_window` won't be part of our DND state if we already rejected the drop in [INFO] [stdout] ... [INFO] [stdout] 535 | (source_window, DndState::Rejected) [INFO] [stdout] 536 ~ }}; [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:574:12 [INFO] [stdout] | [INFO] [stdout] 574 | 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:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | } [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 unsafe { self.dnd.read_data(window) } { Ok(mut data) => { [INFO] [stdout] 575 | let parse_result = self.dnd.parse_data(&mut data); [INFO] [stdout] ... [INFO] [stdout] 585 | self.dnd.result = Some(parse_result); [INFO] [stdout] 586 ~ } _ => {}} [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:972:12 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some(ic) = [INFO] [stdout] | ____________^ [INFO] [stdout] 973 | | wt.ime.as_ref().and_then(|ime| ime.borrow().get_context(window as XWindow)) [INFO] [stdout] | |_____________------____________________________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:989:9 [INFO] [stdout] | [INFO] [stdout] 989 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 972 ~ match wt.ime.as_ref().and_then(|ime| ime.borrow().get_context(window as XWindow)) [INFO] [stdout] 973 ~ { Some(ic) => { [INFO] [stdout] 974 | let written = wt.xconn.lookup_utf8(ic, xev); [INFO] [stdout] ... [INFO] [stdout] 987 | } [INFO] [stdout] 988 ~ } _ => {}} [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:1183:24 [INFO] [stdout] | [INFO] [stdout] 1183 | 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:1185:21 [INFO] [stdout] | [INFO] [stdout] 1185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1183 ~ match devices.get_mut(&device_id) { Some(device) => { [INFO] [stdout] 1184 | device.reset_scroll_position(device_info); [INFO] [stdout] 1185 ~ } _ => {}} [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:1550:24 [INFO] [stdout] | [INFO] [stdout] 1550 | 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:1553:21 [INFO] [stdout] | [INFO] [stdout] 1553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1550 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1551 | let mods = state.modifiers().into(); [INFO] [stdout] 1552 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1553 ~ } _ => {}} [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:1565:20 [INFO] [stdout] | [INFO] [stdout] 1565 | 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:1568:17 [INFO] [stdout] | [INFO] [stdout] 1568 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1565 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1566 | let mods = state.modifiers().into(); [INFO] [stdout] 1567 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1568 ~ } _ => {}} [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:1576:20 [INFO] [stdout] | [INFO] [stdout] 1576 | 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:1593:17 [INFO] [stdout] | [INFO] [stdout] 1593 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1576 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1577 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1592 | self.send_modifiers(window_id, mods, true, &mut callback); [INFO] [stdout] 1593 ~ } _ => {}} [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:1608:12 [INFO] [stdout] | [INFO] [stdout] 1608 | 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:1627:9 [INFO] [stdout] | [INFO] [stdout] 1627 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1608 ~ match self.xkb_context.state_mut() { Some(state) => { [INFO] [stdout] 1609 | state.update_modifiers( [INFO] [stdout] ... [INFO] [stdout] 1626 | self.send_modifiers(window_id, mods.into(), force, &mut callback); [INFO] [stdout] 1627 ~ } _ => {}} [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:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | 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:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | } 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] 163 ~ match self.inner.contexts.get(&window) { Some(Some(context)) => { [INFO] [stdout] 164 | Some(context.ic) [INFO] [stdout] 165 ~ } _ => { [INFO] [stdout] 166 | None [INFO] [stdout] 167 ~ }} [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:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | 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:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | } 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] 171 ~ match self.inner.contexts.remove(&window) { Some(Some(context)) => { [INFO] [stdout] 172 | unsafe { [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(true) [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | Ok(false) [INFO] [stdout] 178 ~ }} [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:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | 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:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | } 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] 185 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 186 | context.focus(&self.xconn).map(|_| true) [INFO] [stdout] 187 ~ } _ => { [INFO] [stdout] 188 | Ok(false) [INFO] [stdout] 189 ~ }} [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:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | 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:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | } 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] 196 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 197 | context.unfocus(&self.xconn).map(|_| true) [INFO] [stdout] 198 ~ } _ => { [INFO] [stdout] 199 | Ok(false) [INFO] [stdout] 200 ~ }} [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:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | 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:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match self.inner.contexts.get_mut(&window) { Some(&mut Some(ref mut context)) => { [INFO] [stdout] 208 | context.set_spot(&self.xconn, x as _, y as _); [INFO] [stdout] 209 ~ } _ => {}} [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:188:34 [INFO] [stdout] | [INFO] [stdout] 188 | 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:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | 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] 188 | 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:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | 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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | } 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] 117 ~ let no_utf8 = match result { Err(ref err) => { [INFO] [stdout] 118 | err.is_actual_property_type(xproto::Atom::from(xproto::AtomEnum::STRING)) [INFO] [stdout] 119 ~ } _ => { [INFO] [stdout] 120 | false [INFO] [stdout] 121 ~ }}; [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:383:44 [INFO] [stdout] | [INFO] [stdout] 383 | let (instance, class) = 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:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | } 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] 383 ~ let (instance, class) = match window_attrs.platform_specific.name { Some(name) => { [INFO] [stdout] 384 | (name.instance, name.general) [INFO] [stdout] 385 ~ } _ => { [INFO] [stdout] 386 | let class = env::args_os() [INFO] [stdout] ... [INFO] [stdout] 396 | (instance, class) [INFO] [stdout] 397 ~ }}; [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:816:12 [INFO] [stdout] | [INFO] [stdout] 816 | if let Some(flusher) = [INFO] [stdout] | ____________^ [INFO] [stdout] 817 | | self.set_fullscreen_inner(fullscreen).expect("Failed to change window fullscreen state") [INFO] [stdout] | |_____________---------------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/platform_impl/linux/x11/window.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 816 ~ match self.set_fullscreen_inner(fullscreen).expect("Failed to change window fullscreen state") [INFO] [stdout] 817 ~ { Some(flusher) => { [INFO] [stdout] 818 | flusher.check().expect("Failed to change window fullscreen state"); [INFO] [stdout] 819 | self.invalidate_cached_frame_extents(); [INFO] [stdout] 820 ~ } _ => {}} [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:838:20 [INFO] [stdout] | [INFO] [stdout] 838 | 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:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 838 ~ match shared_state.desired_fullscreen.take() { Some(fullscreen) => { [INFO] [stdout] 839 | drop(shared_state); [INFO] [stdout] 840 | self.set_fullscreen(fullscreen); [INFO] [stdout] 841 ~ } _ => {}} [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:1737:31 [INFO] [stdout] | [INFO] [stdout] 1737 | let is_minimized = if let Ok(state) = [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1738 | | self.xconn.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:1741:9 [INFO] [stdout] | [INFO] [stdout] 1741 | } 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] 1737 ~ let is_minimized = match self.xconn.get_property::(self.xwindow, state_atom, state_type_atom) [INFO] [stdout] 1738 ~ { Ok(state) => { [INFO] [stdout] 1739 | state.contains(&super::ICONIC_STATE) [INFO] [stdout] 1740 ~ } _ => { [INFO] [stdout] 1741 | false [INFO] [stdout] 1742 ~ }}; [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:1762:16 [INFO] [stdout] | [INFO] [stdout] 1762 | 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:1767:13 [INFO] [stdout] | [INFO] [stdout] 1767 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1762 ~ match self.xconn.flush_requests() { Err(e) => { [INFO] [stdout] 1763 | tracing::error!( [INFO] [stdout] ... [INFO] [stdout] 1766 | ); [INFO] [stdout] 1767 ~ } _ => {}} [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:1599:41 [INFO] [stdout] | [INFO] [stdout] 1599 | 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:1599:31 [INFO] [stdout] | [INFO] [stdout] 1599 | 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] 1599 | pub fn available_monitors(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 87 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/control_flow.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/serde_objects.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/window.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/window.rs (11 fixes) [INFO] [stderr] Migrating examples/pump_events.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/run_on_demand.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/run_on_demand.rs (1 fix) [INFO] [stderr] Migrating examples/x11_embed.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/send_objects.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/sync_object.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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.00s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling winit v0.30.5 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/platform_impl/linux/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | / match $what { [INFO] [stdout] 210 | | #[cfg(x11_platform)] [INFO] [stdout] 211 | | $enum::X($($c1)*) => $x, [INFO] [stdout] 212 | | #[cfg(wayland_platform)] [INFO] [stdout] 213 | | $enum::Wayland($($c1)*) => $x, [INFO] [stdout] 214 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn video_modes(&self) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 251 | 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] 250 | 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:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | / match $what { [INFO] [stdout] 210 | | #[cfg(x11_platform)] [INFO] [stdout] 211 | | $enum::X($($c1)*) => $x, [INFO] [stdout] 212 | | #[cfg(wayland_platform)] [INFO] [stdout] 213 | | $enum::Wayland($($c1)*) => $x, [INFO] [stdout] 214 | | } [INFO] [stdout] | |_________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn video_modes(&self) -> Box> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 251 | 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] 250 | 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 `winit` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `winit` (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" "814698328c4941ff38665987dbdee70d91475b7697be1608c677dbfc6a3aea39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814698328c4941ff38665987dbdee70d91475b7697be1608c677dbfc6a3aea39", kill_on_drop: false }` [INFO] [stdout] 814698328c4941ff38665987dbdee70d91475b7697be1608c677dbfc6a3aea39