[INFO] fetching crate zng-view 0.4.17... [INFO] checking zng-view-0.4.17 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate zng-view 0.4.17 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate zng-view 0.4.17 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 zng-view 0.4.17 [INFO] finished tweaking crates.io crate zng-view 0.4.17 [INFO] tweaked toml for crates.io crate zng-view 0.4.17 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 432 packages to latest compatible versions [INFO] [stderr] Adding ashpd v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding async-broadcast v0.5.1 (available: v0.7.1) [INFO] [stderr] Adding async-fs v1.6.0 (available: v2.1.2) [INFO] [stderr] Adding async-io v1.13.0 (available: v2.3.4) [INFO] [stderr] Adding async-lock v2.8.0 (available: v3.4.0) [INFO] [stderr] Adding async-process v1.8.1 (available: v2.3.0) [INFO] [stderr] Adding atspi v0.19.0 (available: v0.24.0) [INFO] [stderr] Adding atspi-common v0.3.0 (available: v0.8.0) [INFO] [stderr] Adding atspi-connection v0.3.0 (available: v0.8.0) [INFO] [stderr] Adding atspi-proxies v0.3.0 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding calloop v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding calloop-wayland-source v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding core-text v20.1.0 (available: v21.0.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding event-listener v3.1.0 (available: v5.3.1) [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.1.1) [INFO] [stderr] Adding freetype-sys v0.20.1 (available: v0.22.1) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.3.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gethostname v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding glsl v6.0.2 (available: v7.0.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding io-lifetimes v1.0.11 (available: v2.0.3) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libredox v0.0.2 (available: v0.1.3) [INFO] [stderr] Adding linux-raw-sys v0.3.8 (available: v0.6.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding memoffset v0.7.1 (available: v0.9.1) [INFO] [stderr] Adding miniz_oxide v0.5.4 (available: v0.8.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding nix v0.26.4 (available: v0.29.0) [INFO] [stderr] Adding polling v2.8.0 (available: v3.7.3) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (available: v0.5.6) [INFO] [stderr] Adding rfd v0.14.1 (available: v0.15.0) [INFO] [stderr] Adding rustix v0.37.27 (available: v0.38.37) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding socket2 v0.4.10 (available: v0.5.7) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding topological-sort v0.1.0 (available: v0.2.2) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] [stderr] Adding zbus v3.15.2 (available: v4.4.0) [INFO] [stderr] Adding zbus_macros v3.15.2 (available: v4.4.0) [INFO] [stderr] Adding zbus_names v2.6.1 (available: v3.0.0) [INFO] [stderr] Adding zvariant v3.15.2 (available: v4.2.0) [INFO] [stderr] Adding zvariant_derive v3.15.2 (available: v4.2.0) [INFO] [stderr] Adding zvariant_utils v1.0.1 (available: v1.1.1) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2f7a394060d6fcbf33b875882e7134e5575801f9e4a91b570c8d33c308501a95 [INFO] running `Command { std: "docker" "start" "-a" "2f7a394060d6fcbf33b875882e7134e5575801f9e4a91b570c8d33c308501a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f7a394060d6fcbf33b875882e7134e5575801f9e4a91b570c8d33c308501a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7a394060d6fcbf33b875882e7134e5575801f9e4a91b570c8d33c308501a95", kill_on_drop: false }` [INFO] [stdout] 2f7a394060d6fcbf33b875882e7134e5575801f9e4a91b570c8d33c308501a95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 08356ca5628b4d0d99c524581217a451556310857ad64e732f5e27776ff8e1bd [INFO] running `Command { std: "docker" "start" "-a" "08356ca5628b4d0d99c524581217a451556310857ad64e732f5e27776ff8e1bd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling zng-webrender-build v0.0.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling glslopt v0.1.11 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking immutable-chunkmap v2.0.5 [INFO] [stderr] Compiling zng-peek-poke-derive v0.3.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling glsl v6.0.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling gleam v0.15.0 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking app_units v0.7.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking zng-txt v0.2.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking accesskit v0.16.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking accesskit_consumer v0.24.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking zng-wr-malloc-size-of v0.0.3 [INFO] [stderr] Checking zng-peek-poke v0.3.2 [INFO] [stderr] Compiling zng-glsl-to-cxx v0.1.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Compiling build-parallel v0.1.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.3 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Compiling linkme-impl v0.3.28 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking linkme v0.3.28 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking zng-webrender-api v0.63.0 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Checking zng-unique-id v0.4.6 [INFO] [stderr] Compiling zng-swgl v0.2.0 [INFO] [stderr] Compiling zng-env-proc-macros v0.2.2 [INFO] [stderr] Compiling zng-tp-licenses v0.2.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.4 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking freetype v0.7.2 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking accesskit_atspi_common v0.9.1 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling zng-view-api v0.10.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking tracy-rs v0.1.2 [INFO] [stderr] Checking svg_fmt v0.4.3 [INFO] [stderr] Checking ipc-channel v0.18.3 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking etagere v0.2.13 [INFO] [stderr] Checking zng-env v0.3.5 [INFO] [stderr] Compiling zng-view v0.4.17 (/tmp/fixit) [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.12.1 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Checking ashpd v0.8.1 [INFO] [stderr] Checking zng-unit v0.2.9 [INFO] [stderr] Checking plane-split v0.18.0 [INFO] [stderr] Checking serde_variant v0.1.3 [INFO] [stderr] Checking tracing-shared v0.1.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking zng-wr-glyph-rasterizer v0.2.0 [INFO] [stderr] Checking topological-sort v0.1.0 [INFO] [stderr] Checking accesskit_winit v0.22.1 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking img-parts v0.3.0 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Compiling zng-webrender v0.63.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 `zng_view` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/extensions.rs [INFO] [stderr] * src/lib.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/extensions.rs:1124:6 [INFO] [stderr] | [INFO] [stderr] 1124 | ($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/lib.rs:1541:41 [INFO] [stderr] | [INFO] [stderr] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr_2021, ||$fallback: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/lib.rs:1541:62 [INFO] [stderr] | [INFO] [stderr] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr_2021, ||$fallback: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 3 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1590:24 [INFO] [stdout] | [INFO] [stdout] 1590 | fn init(&mut self, gen: ViewProcessGen, is_respawn: bool, device_events: bool, headless: bool) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | self.generation = gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1603:25 [INFO] [stdout] | [INFO] [stdout] 1603 | generation: gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/surface.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/surface.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/surface.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/window.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/window.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/window.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 201 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 271 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/extensions.rs:1124:15 [INFO] [stdout] | [INFO] [stdout] 1124 | ($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] = 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] 1124 | ($closure: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/lib.rs:1541:49 [INFO] [stdout] | [INFO] [stdout] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr, ||$fallback: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] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr_2021, ||$fallback: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/lib.rs:1541:67 [INFO] [stdout] | [INFO] [stdout] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr, ||$fallback: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] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr, ||$fallback:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1037:30 [INFO] [stdout] | [INFO] [stdout] 1037 | let screen = (xlib.XDefaultScreen)(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gl.rs:1036:13 [INFO] [stdout] | [INFO] [stdout] 1036 | unsafe fn xlib_blit(xlib: &Xlib, display: *mut _XDisplay, window: u64, width: u32, height: u32, frame: &super::Bgra8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1039:45 [INFO] [stdout] | [INFO] [stdout] 1039 | let mut info: XVisualInfo = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1040:20 [INFO] [stdout] | [INFO] [stdout] 1040 | if (xlib.XMatchVisualInfo)(display, screen, 32, TrueColor, &mut info) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1051:43 [INFO] [stdout] | [INFO] [stdout] 1051 | let mut opts: XGCValues = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1053:27 [INFO] [stdout] | [INFO] [stdout] 1053 | let ctx = (xlib.XCreateGC)(display, window, GCGraphicsExposures as _, &mut opts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1055:27 [INFO] [stdout] | [INFO] [stdout] 1055 | let img = (xlib.XCreateImage)( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1056 | | display, [INFO] [stdout] 1057 | | info.visual, [INFO] [stdout] 1058 | | 32, [INFO] [stdout] ... | [INFO] [stdout] 1065 | | line_len as i32, [INFO] [stdout] 1066 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | (xlib.XPutImage)(display, window, ctx, img, 0, 0, 0, 0, width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1070:17 [INFO] [stdout] | [INFO] [stdout] 1070 | (xlib.XFreeGC)(display, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if let Err(e) = std::panic::catch_unwind(std::panic::AssertUnwindSafe(run_app)) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } [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] 237 ~ match std::panic::catch_unwind(std::panic::AssertUnwindSafe(run_app)) { Err(e) => { [INFO] [stdout] 238 | thread::spawn(|| { [INFO] [stdout] ... [INFO] [stdout] 248 | std::panic::resume_unwind(e); [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | if let Err(p) = app_thread.join() { [INFO] [stdout] | ^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 264 ~ match app_thread.join() { Err(p) => { [INFO] [stdout] 265 | std::panic::resume_unwind(p); [INFO] [stdout] 266 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | let i = if let Some((i, _)) = self.windows.iter_mut().enumerate().find(|(_, w)| w.window_id() == 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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 403 ~ let i = match self.windows.iter_mut().enumerate().find(|(_, w)| w.window_id() == window_id) { Some((i, _)) => { [INFO] [stdout] 404 | i [INFO] [stdout] 405 ~ } _ => { [INFO] [stdout] 406 | return; [INFO] [stdout] 407 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:457:31 [INFO] [stdout] | [INFO] [stdout] 457 | let size = if let Some(size) = self.windows[i].resized() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 457 ~ let size = match self.windows[i].resized() { Some(size) => { [INFO] [stdout] 458 | size [INFO] [stdout] 459 ~ } _ => { [INFO] [stdout] 460 | winit_loop_guard.unset(&mut self.winit_loop); [INFO] [stdout] 461 | return; [INFO] [stdout] 462 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | while let Ok(req) = self.request_recv.recv_deadline(deadline) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 550 | while let Ok(req) = self.request_recv.recv_deadline(deadline) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:565:21 [INFO] [stdout] | [INFO] [stdout] 565 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:569:54 [INFO] [stdout] | [INFO] [stdout] 569 | let (global_position, position) = if let Some(p) = self.windows[i].moved() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 569 ~ let (global_position, position) = match self.windows[i].moved() { Some(p) => { [INFO] [stdout] 570 | p [INFO] [stdout] 571 ~ } _ => { [INFO] [stdout] 572 | winit_loop_guard.unset(&mut self.winit_loop); [INFO] [stdout] 573 | return; [INFO] [stdout] 574 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:587:20 [INFO] [stdout] | [INFO] [stdout] 587 | if let Some(handle) = self.windows[i].monitor_change() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 587 ~ match self.windows[i].monitor_change() { Some(handle) => { [INFO] [stdout] 588 | let m_id = self.monitor_handle_to_id(&handle); [INFO] [stdout] 589 | [INFO] [stdout] 590 | self.notify(Event::WindowChanged(WindowChanged::monitor_changed(id, m_id, EventCause::System))); [INFO] [stdout] 591 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:814:20 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(new_monitor) = self.windows[i].monitor_change() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:817:17 [INFO] [stdout] | [INFO] [stdout] 817 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 814 ~ match self.windows[i].monitor_change() { Some(new_monitor) => { [INFO] [stdout] 815 | monitor = Some(new_monitor); [INFO] [stdout] 816 | is_monitor_change = true; [INFO] [stdout] 817 ~ } _ => { [INFO] [stdout] 818 | monitor = self.windows[i].monitor(); [INFO] [stdout] 819 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:821:34 [INFO] [stdout] | [INFO] [stdout] 821 | let monitor = if let Some(handle) = monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:823:17 [INFO] [stdout] | [INFO] [stdout] 823 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 821 ~ let monitor = match monitor { Some(handle) => { [INFO] [stdout] 822 | self.monitor_handle_to_id(&handle) [INFO] [stdout] 823 ~ } _ => { [INFO] [stdout] 824 | MonitorId::INVALID [INFO] [stdout] 825 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:840:20 [INFO] [stdout] | [INFO] [stdout] 840 | if let Some(size) = self.windows[i].resized() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 840 ~ match self.windows[i].resized() { Some(size) => { [INFO] [stdout] 841 | self.notify(Event::WindowChanged(WindowChanged::resized(id, size, EventCause::System, None))); [INFO] [stdout] 842 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:881:23 [INFO] [stdout] | [INFO] [stdout] 881 | while let Ok(req) = self.request_recv.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/lib.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:992:12 [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(t) = self.config_listener_exit.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/lib.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 992 ~ match self.config_listener_exit.take() { Some(t) => { [INFO] [stdout] 993 | t(); [INFO] [stdout] 994 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1104:39 [INFO] [stdout] | [INFO] [stdout] 1104 | ... while let Ok(request) = self.app.request_recv.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/lib.rs:1128:33 [INFO] [stdout] | [INFO] [stdout] 1128 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1114:56 [INFO] [stdout] | [INFO] [stdout] 1114 | ... let r = if let Some(s) = self.app.surfaces.iter_mut().find(|s| s.id() == 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/lib.rs:1116:45 [INFO] [stdout] | [INFO] [stdout] 1116 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1114 ~ let r = match self.app.surfaces.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1115 | Some(s.on_frame_ready(msg, &mut self.app.image_cache)) [INFO] [stdout] 1116 ~ } _ => { [INFO] [stdout] 1117 | None [INFO] [stdout] 1118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1119:48 [INFO] [stdout] | [INFO] [stdout] 1119 | ... if let Some((frame_id, image)) = r { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1125:45 [INFO] [stdout] | [INFO] [stdout] 1125 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1119 ~ match r { Some((frame_id, image)) => { [INFO] [stdout] 1120 | self.app.notify(Event::FrameRendered(EventFrameRendered { [INFO] [stdout] ... [INFO] [stdout] 1124 | })); [INFO] [stdout] 1125 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1202:12 [INFO] [stdout] | [INFO] [stdout] 1202 | if let Err(e) = event_loop.run_app(&mut app) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1208:9 [INFO] [stdout] | [INFO] [stdout] 1208 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1202 ~ match event_loop.run_app(&mut app) { Err(e) => { [INFO] [stdout] 1203 | if app.exited { [INFO] [stdout] ... [INFO] [stdout] 1207 | } [INFO] [stdout] 1208 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1261:19 [INFO] [stdout] | [INFO] [stdout] 1261 | while let Ok(r) = request_recv.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/lib.rs:1265:13 [INFO] [stdout] | [INFO] [stdout] 1265 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1262:20 [INFO] [stdout] | [INFO] [stdout] 1262 | if let Err(ipc::Disconnected) = app_sender.request(r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1262 ~ match app_sender.request(r) { Err(ipc::Disconnected) => { [INFO] [stdout] 1263 | break; [INFO] [stdout] 1264 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1271:12 [INFO] [stdout] | [INFO] [stdout] 1271 | if let Some((id, _)) = self.monitors.iter().find(|(_, h)| h == 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/lib.rs:1273:9 [INFO] [stdout] | [INFO] [stdout] 1273 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ match self.monitors.iter().find(|(_, h)| h == handle) { Some((id, _)) => { [INFO] [stdout] 1272 | *id [INFO] [stdout] 1273 ~ } _ => { [INFO] [stdout] 1274 | self.refresh_monitors(); [INFO] [stdout] ... [INFO] [stdout] 1279 | } [INFO] [stdout] 1280 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1275:16 [INFO] [stdout] | [INFO] [stdout] 1275 | if let Some((id, _)) = self.monitors.iter().find(|(_, h)| h == 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/lib.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1275 ~ match self.monitors.iter().find(|(_, h)| h == handle) { Some((id, _)) => { [INFO] [stdout] 1276 | *id [INFO] [stdout] 1277 ~ } _ => { [INFO] [stdout] 1278 | MonitorId::INVALID [INFO] [stdout] 1279 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1295:16 [INFO] [stdout] | [INFO] [stdout] 1295 | if let Some(id) = self.windows.iter().find(|w| w.is_focused()).map(|w| w.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/lib.rs:1357:13 [INFO] [stdout] | [INFO] [stdout] 1357 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1295 ~ match self.windows.iter().find(|w| w.is_focused()).map(|w| w.id()) { Some(id) => { [INFO] [stdout] 1296 | let mut notify = vec![]; [INFO] [stdout] ... [INFO] [stdout] 1356 | } [INFO] [stdout] 1357 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1387:12 [INFO] [stdout] | [INFO] [stdout] 1387 | if let Some(w) = self.windows.iter_mut().find(|w| w.id() == 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] 1400 | } else if let Some(s) = self.surfaces.iter_mut().find(|w| w.id() == window_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/lib.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | } else if let Some(s) = self.surfaces.iter_mut().find(|w| w.id() == window_id) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1408:9 [INFO] [stdout] | [INFO] [stdout] 1408 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1387 ~ match self.windows.iter_mut().find(|w| w.id() == window_id) { Some(w) => { [INFO] [stdout] 1388 | let r = w.on_frame_ready(msg, &mut self.image_cache); [INFO] [stdout] ... [INFO] [stdout] 1399 | } [INFO] [stdout] 1400 ~ } _ => { match self.surfaces.iter_mut().find(|w| w.id() == window_id) { Some(s) => { [INFO] [stdout] 1401 | let (frame_id, image) = s.on_frame_ready(msg, &mut self.image_cache); [INFO] [stdout] ... [INFO] [stdout] 1407 | })) [INFO] [stdout] 1408 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1413:12 [INFO] [stdout] | [INFO] [stdout] 1413 | if let Some((mut coal, timestamp)) = self.coalescing_event.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/lib.rs:1455:9 [INFO] [stdout] | [INFO] [stdout] 1455 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1413 ~ match self.coalescing_event.take() { Some((mut coal, timestamp)) => { [INFO] [stdout] 1414 | let r = if now.saturating_duration_since(timestamp) >= Duration::from_millis(16) { [INFO] [stdout] ... [INFO] [stdout] 1454 | } [INFO] [stdout] 1455 ~ } _ => { [INFO] [stdout] 1456 | self.coalescing_event = Some((event, now)); [INFO] [stdout] 1457 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1467:16 [INFO] [stdout] | [INFO] [stdout] 1467 | if let Some(w) = self.windows.iter().find(|w| w.id() == 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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1475:13 [INFO] [stdout] | [INFO] [stdout] 1475 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1467 ~ match self.windows.iter().find(|w| w.id() == window_id) { Some(w) => { [INFO] [stdout] 1468 | let (position, device) = w.last_cursor_pos(); [INFO] [stdout] ... [INFO] [stdout] 1474 | }); [INFO] [stdout] 1475 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1484:12 [INFO] [stdout] | [INFO] [stdout] 1484 | if let Some((coal, _)) = self.coalescing_event.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/lib.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1484 ~ match self.coalescing_event.take() { Some((coal, _)) => { [INFO] [stdout] 1485 | if self.event_sender.send(coal).is_err() { [INFO] [stdout] 1486 | let _ = self.app_sender.send(AppEvent::ParentProcessExited); [INFO] [stdout] 1487 | } [INFO] [stdout] 1488 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1505:12 [INFO] [stdout] | [INFO] [stdout] 1505 | if let Some((id, _)) = self.monitors.iter().find(|(_, h)| h == 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/lib.rs:1507:9 [INFO] [stdout] | [INFO] [stdout] 1507 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1505 ~ match self.monitors.iter().find(|(_, h)| h == handle) { Some((id, _)) => { [INFO] [stdout] 1506 | *id [INFO] [stdout] 1507 ~ } _ => { [INFO] [stdout] 1508 | let id = self.monitor_id_gen.incr(); [INFO] [stdout] 1509 | self.monitors.push((id, handle.clone())); [INFO] [stdout] 1510 | id [INFO] [stdout] 1511 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1554:12 [INFO] [stdout] | [INFO] [stdout] 1554 | if let Some(f) = self.config_listener_exit.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/lib.rs:1556:9 [INFO] [stdout] | [INFO] [stdout] 1556 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1554 ~ match self.config_listener_exit.take() { Some(f) => { [INFO] [stdout] 1555 | f(); [INFO] [stdout] 1556 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1725:12 [INFO] [stdout] | [INFO] [stdout] 1725 | if let Some(i) = self.surfaces.iter().position(|w| w.id() == 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/lib.rs:1727:9 [INFO] [stdout] | [INFO] [stdout] 1727 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1725 ~ match self.surfaces.iter().position(|w| w.id() == id) { Some(i) => { [INFO] [stdout] 1726 | let _ = self.surfaces.swap_remove(i); [INFO] [stdout] 1727 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1759:12 [INFO] [stdout] | [INFO] [stdout] 1759 | if let Some(w) = self.windows.iter_mut().find(|w| w.id() == 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/lib.rs:1772:9 [INFO] [stdout] | [INFO] [stdout] 1772 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1759 ~ match self.windows.iter_mut().find(|w| w.id() == id) { Some(w) => { [INFO] [stdout] 1760 | if w.set_state(state.clone()) { [INFO] [stdout] ... [INFO] [stdout] 1771 | } [INFO] [stdout] 1772 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1777:12 [INFO] [stdout] | [INFO] [stdout] 1777 | if let Some(surf) = self.surfaces.iter_mut().find(|s| s.id() == renderer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1779:9 [INFO] [stdout] | [INFO] [stdout] 1779 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1777 ~ match self.surfaces.iter_mut().find(|s| s.id() == renderer) { Some(surf) => { [INFO] [stdout] 1778 | surf.set_size(size, scale_factor) [INFO] [stdout] 1779 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1863:12 [INFO] [stdout] | [INFO] [stdout] 1863 | if let Some(img) = self.image_cache.get(image_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/lib.rs:1865:9 [INFO] [stdout] | [INFO] [stdout] 1865 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1863 ~ match self.image_cache.get(image_id) { Some(img) => { [INFO] [stdout] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] 1865 ~ } _ => { [INFO] [stdout] 1866 | ImageTextureId::INVALID [INFO] [stdout] 1867 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1871 | if let Some(img) = self.image_cache.get(image_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/lib.rs:1873:9 [INFO] [stdout] | [INFO] [stdout] 1873 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1871 ~ match self.image_cache.get(image_id) { Some(img) => { [INFO] [stdout] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] 1873 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1877 | with_window_or_surface!(self, id, |w| w.delete_image(texture_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1877 | with_window_or_surface!(self, id, |w| w.delete_image(texture_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1877 | with_window_or_surface!(self, id, |w| w.delete_image(texture_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1881 | with_window_or_surface!(self, id, |w| w.add_font_face(bytes.to_vec(), index), || FontFaceId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1881 | with_window_or_surface!(self, id, |w| w.add_font_face(bytes.to_vec(), index), || FontFaceId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1881 | with_window_or_surface!(self, id, |w| w.add_font_face(bytes.to_vec(), index), || FontFaceId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1885 | with_window_or_surface!(self, id, |w| w.delete_font_face(font_face_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1885 | with_window_or_surface!(self, id, |w| w.delete_font_face(font_face_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1885 | with_window_or_surface!(self, id, |w| w.delete_font_face(font_face_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1896 | / with_window_or_surface!(self, id, |w| w.add_font(font_face_id, glyph_size, options, variations), || { [INFO] [stdout] 1897 | | FontId::INVALID [INFO] [stdout] 1898 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1896 | / with_window_or_surface!(self, id, |w| w.add_font(font_face_id, glyph_size, options, variations), || { [INFO] [stdout] 1897 | | FontId::INVALID [INFO] [stdout] 1898 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1896 | / with_window_or_surface!(self, id, |w| w.add_font(font_face_id, glyph_size, options, variations), || { [INFO] [stdout] 1897 | | FontId::INVALID [INFO] [stdout] 1898 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1902 | with_window_or_surface!(self, id, |w| w.delete_font(font_id), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1902 | with_window_or_surface!(self, id, |w| w.delete_font(font_id), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1902 | with_window_or_surface!(self, id, |w| w.delete_font(font_id), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1910 | with_window_or_surface!(self, id, |w| w.frame_image(&mut self.image_cache, mask), || ImageId::INVALID) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1910 | with_window_or_surface!(self, id, |w| w.frame_image(&mut self.image_cache, mask), || ImageId::INVALID) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1910 | with_window_or_surface!(self, id, |w| w.frame_image(&mut self.image_cache, mask), || ImageId::INVALID) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1914 | / with_window_or_surface!(self, id, |w| w.frame_image_rect(&mut self.image_cache, rect, mask), || { [INFO] [stdout] 1915 | | ImageId::INVALID [INFO] [stdout] 1916 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1914 | / with_window_or_surface!(self, id, |w| w.frame_image_rect(&mut self.image_cache, rect, mask), || { [INFO] [stdout] 1915 | | ImageId::INVALID [INFO] [stdout] 1916 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1914 | / with_window_or_surface!(self, id, |w| w.frame_image_rect(&mut self.image_cache, rect, mask), || { [INFO] [stdout] 1915 | | ImageId::INVALID [INFO] [stdout] 1916 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1920 | with_window_or_surface!(self, id, |w| w.render(frame), || ()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1920 | with_window_or_surface!(self, id, |w| w.render(frame), || ()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1920 | with_window_or_surface!(self, id, |w| w.render(frame), || ()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1924 | with_window_or_surface!(self, id, |w| w.render_update(frame), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1924 | with_window_or_surface!(self, id, |w| w.render_update(frame), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1924 | with_window_or_surface!(self, id, |w| w.render_update(frame), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1928:12 [INFO] [stdout] | [INFO] [stdout] 1928 | if let Some(s) = self.windows.iter_mut().find(|s| s.id() == 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/lib.rs:1930:9 [INFO] [stdout] | [INFO] [stdout] 1930 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1928 ~ match self.windows.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1929 | s.access_update(update, &self.app_sender); [INFO] [stdout] 1930 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1935:12 [INFO] [stdout] | [INFO] [stdout] 1935 | if let Some(s) = self.windows.iter_mut().find(|s| s.id() == 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/lib.rs:1937:9 [INFO] [stdout] | [INFO] [stdout] 1937 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1935 ~ match self.windows.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1936 | s.message_dialog(dialog, r_id, self.app_sender.clone()); [INFO] [stdout] 1937 ~ } _ => { [INFO] [stdout] 1938 | let r = MsgDialogResponse::Error(Txt::from_static("window not found")); [INFO] [stdout] 1939 | let _ = self.app_sender.send(AppEvent::Notify(Event::MsgDialogResponse(r_id, r))); [INFO] [stdout] 1940 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1946:12 [INFO] [stdout] | [INFO] [stdout] 1946 | if let Some(s) = self.windows.iter_mut().find(|s| s.id() == 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/lib.rs:1948:9 [INFO] [stdout] | [INFO] [stdout] 1948 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1946 ~ match self.windows.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1947 | s.file_dialog(dialog, r_id, self.app_sender.clone()); [INFO] [stdout] 1948 ~ } _ => { [INFO] [stdout] 1949 | let r = MsgDialogResponse::Error(Txt::from_static("window not found")); [INFO] [stdout] 1950 | let _ = self.app_sender.send(AppEvent::Notify(Event::MsgDialogResponse(r_id, r))); [INFO] [stdout] 1951 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2063:20 [INFO] [stdout] | [INFO] [stdout] 2063 | if let Some(img) = self.image_cache.get(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/lib.rs:2076:17 [INFO] [stdout] | [INFO] [stdout] 2076 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2063 ~ match self.image_cache.get(id) { Some(img) => { [INFO] [stdout] 2064 | let size = img.size(); [INFO] [stdout] ... [INFO] [stdout] 2075 | Ok(()) [INFO] [stdout] 2076 ~ } _ => { [INFO] [stdout] 2077 | Err(clipboard::ClipboardError::Other(zng_txt::Txt::from_static("image not found"))) [INFO] [stdout] 2078 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 2139 | / with_window_or_surface!(self, id, |w| w.render_extension(extension_id, extension_request), || { [INFO] [stdout] 2140 | | ApiExtensionPayload::invalid_request(extension_id, "renderer not found") [INFO] [stdout] 2141 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2139 | / with_window_or_surface!(self, id, |w| w.render_extension(extension_id, extension_request), || { [INFO] [stdout] 2140 | | ApiExtensionPayload::invalid_request(extension_id, "renderer not found") [INFO] [stdout] 2141 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2139 | / with_window_or_surface!(self, id, |w| w.render_extension(extension_id, extension_request), || { [INFO] [stdout] 2140 | | ApiExtensionPayload::invalid_request(extension_id, "renderer not found") [INFO] [stdout] 2141 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/display_list.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(l) = self.lists.get(&frame_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/display_list.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match self.lists.get(&frame_id) { Some(l) => { [INFO] [stdout] 284 | l.used.set(true); [INFO] [stdout] ... [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ } _ => { [INFO] [stdout] 305 | tracing::error!("did not find reuse frame {frame_id:?}"); [INFO] [stdout] 306 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/display_list.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(list) = self.lists.get_mut(frame_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/display_list.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | } [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 self.lists.get_mut(frame_id) { Some(list) => { [INFO] [stdout] 332 | if let Some(item) = list.list.get_mut(*i) { [INFO] [stdout] 333 | return Some(item); [INFO] [stdout] 334 | } [INFO] [stdout] 335 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/display_list.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | if let Some(item) = list.list.get_mut(*i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/display_list.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 332 ~ match list.list.get_mut(*i) { Some(item) => { [INFO] [stdout] 333 | return Some(item); [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gl.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(id) = config.x11_visual() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gl.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match config.x11_visual() { Some(id) => { [INFO] [stdout] 245 | w.with_x11_visual(id.visual_id() as _) [INFO] [stdout] 246 ~ } _ => { [INFO] [stdout] 247 | w [INFO] [stdout] 248 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gl.rs:644:20 [INFO] [stdout] | [INFO] [stdout] 644 | if let Some(h) = headless { [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gl.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 644 ~ match headless { Some(h) => { [INFO] [stdout] 645 | let _ = h.hidden_window; [INFO] [stdout] 646 | [INFO] [stdout] 647 | h.destroy(&self.gl); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/image_cache.rs:1155:16 [INFO] [stdout] | [INFO] [stdout] 1155 | if let Some(i) = self.locked.iter().position(|d| ExternalImageId(Arc::as_ptr(d) as _) == key) { [INFO] [stdout] | ^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/image_cache.rs:1157:13 [INFO] [stdout] | [INFO] [stdout] 1157 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1155 ~ match self.locked.iter().position(|d| ExternalImageId(Arc::as_ptr(d) as _) == key) { Some(i) => { [INFO] [stdout] 1156 | self.locked.swap_remove(i); [INFO] [stdout] 1157 ~ } _ => { [INFO] [stdout] 1158 | debug_assert!(false); [INFO] [stdout] 1159 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1033:12 [INFO] [stdout] | [INFO] [stdout] 1033 | if let Some(clean) = self.0.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/util.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1033 ~ match self.0.take() { Some(clean) => { [INFO] [stdout] 1034 | clean(); [INFO] [stdout] 1035 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | if let Some(accesskit::ActionData::Value(s)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1192 ~ match request.data { Some(accesskit::ActionData::Value(s)) => { [INFO] [stdout] 1193 | AccessCmd::ReplaceSelectedText(Txt::from_str(&s)) [INFO] [stdout] 1194 ~ } _ => { [INFO] [stdout] 1195 | AccessCmd::ReplaceSelectedText(Txt::from_str("")) [INFO] [stdout] 1196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1206:20 [INFO] [stdout] | [INFO] [stdout] 1206 | if let Some(accesskit::ActionData::ScrollTargetRect(r)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1212:17 [INFO] [stdout] | [INFO] [stdout] 1212 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ match request.data { Some(accesskit::ActionData::ScrollTargetRect(r)) => { [INFO] [stdout] 1207 | let r = PxRect::new( [INFO] [stdout] ... [INFO] [stdout] 1211 | AccessCmd::Scroll(ScrollCmd::ScrollToRect(r)) [INFO] [stdout] 1212 ~ } _ => { [INFO] [stdout] 1213 | AccessCmd::Scroll(ScrollCmd::ScrollTo) [INFO] [stdout] 1214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1217:20 [INFO] [stdout] | [INFO] [stdout] 1217 | if let Some(accesskit::ActionData::ScrollToPoint(p)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1219:17 [INFO] [stdout] | [INFO] [stdout] 1219 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1217 ~ match request.data { Some(accesskit::ActionData::ScrollToPoint(p)) => { [INFO] [stdout] 1218 | AccessCmd::Scroll(ScrollCmd::ScrollToRect(PxRect::new(accesskit_point_to_px(p), PxSize::splat(Px(1))))) [INFO] [stdout] 1219 ~ } _ => { [INFO] [stdout] 1220 | return None; [INFO] [stdout] 1221 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1224:20 [INFO] [stdout] | [INFO] [stdout] 1224 | if let Some(accesskit::ActionData::SetScrollOffset(o)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1226:17 [INFO] [stdout] | [INFO] [stdout] 1226 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1224 ~ match request.data { Some(accesskit::ActionData::SetScrollOffset(o)) => { [INFO] [stdout] 1225 | AccessCmd::Scroll(ScrollCmd::ScrollToRect(PxRect::new(accesskit_point_to_px(o), PxSize::splat(Px(1))))) [INFO] [stdout] 1226 ~ } _ => { [INFO] [stdout] 1227 | return None; [INFO] [stdout] 1228 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1231:20 [INFO] [stdout] | [INFO] [stdout] 1231 | if let Some(accesskit::ActionData::SetTextSelection(s)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1236:17 [INFO] [stdout] | [INFO] [stdout] 1236 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1231 ~ match request.data { Some(accesskit::ActionData::SetTextSelection(s)) => { [INFO] [stdout] 1232 | AccessCmd::SelectText { [INFO] [stdout] ... [INFO] [stdout] 1235 | } [INFO] [stdout] 1236 ~ } _ => { [INFO] [stdout] 1237 | return None; [INFO] [stdout] 1238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | } else if let Some(m) = monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ } else { match monitor { Some(m) => { [INFO] [stdout] 220 | // fallback to center. [INFO] [stdout] ... [INFO] [stdout] 226 | winit = winit.with_position(m.position()); [INFO] [stdout] 227 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(m) = monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 190 ~ match monitor { Some(m) => { [INFO] [stdout] 191 | if cfg.default_position { [INFO] [stdout] ... [INFO] [stdout] 217 | } [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:508:73 [INFO] [stdout] | [INFO] [stdout] 508 | WindowState::Exclusive => win.window.set_fullscreen(Some(if let Some(mode) = win.video_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 508 ~ WindowState::Exclusive => win.window.set_fullscreen(Some(match win.video_mode() { Some(mode) => { [INFO] [stdout] 509 | Fullscreen::Exclusive(mode) [INFO] [stdout] 510 ~ } _ => { [INFO] [stdout] 511 | Fullscreen::Borderless(None) [INFO] [stdout] 512 ~ }})), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:516:33 [INFO] [stdout] | [INFO] [stdout] 516 | let monitor_offset = if let Some(m) = win.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 516 ~ let monitor_offset = match win.window.current_monitor() { Some(m) => { [INFO] [stdout] 517 | m.position().to_px().to_vector() [INFO] [stdout] 518 ~ } _ => { [INFO] [stdout] 519 | PxVector::zero() [INFO] [stdout] 520 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:732:37 [INFO] [stdout] | [INFO] [stdout] 732 | let monitor_offset = if let Some(m) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:734:13 [INFO] [stdout] | [INFO] [stdout] 734 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 732 ~ let monitor_offset = match self.window.current_monitor() { Some(m) => { [INFO] [stdout] 733 | m.position().to_px().to_vector() [INFO] [stdout] 734 ~ } _ => { [INFO] [stdout] 735 | PxVector::zero() [INFO] [stdout] 736 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1019:19 [INFO] [stdout] | [INFO] [stdout] 1019 | } else if let Some(h) = self.window.fullscreen() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | } else if self.is_maximized() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1019 ~ } else { match self.window.fullscreen() { Some(h) => { [INFO] [stdout] 1020 | state.state = match h { [INFO] [stdout] ... [INFO] [stdout] 1023 | }; [INFO] [stdout] 1024 ~ } _ => if self.is_maximized() { [INFO] [stdout] 1025 | state.state = WindowState::Maximized; [INFO] [stdout] ... [INFO] [stdout] 1040 | ); [INFO] [stdout] 1041 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1031:37 [INFO] [stdout] | [INFO] [stdout] 1031 | let monitor_offset = if let Some(monitor) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1033:13 [INFO] [stdout] | [INFO] [stdout] 1033 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1031 ~ let monitor_offset = match self.window.current_monitor() { Some(monitor) => { [INFO] [stdout] 1032 | monitor.position().to_px().to_vector() [INFO] [stdout] 1033 ~ } _ => { [INFO] [stdout] 1034 | PxVector::zero() [INFO] [stdout] 1035 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1095:24 [INFO] [stdout] | [INFO] [stdout] 1095 | if let Some(c) = &candidate { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1103:21 [INFO] [stdout] | [INFO] [stdout] 1103 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1095 ~ match &candidate { Some(c) => { [INFO] [stdout] 1096 | if m.size().width >= c.size().width [INFO] [stdout] ... [INFO] [stdout] 1102 | } [INFO] [stdout] 1103 ~ } _ => { [INFO] [stdout] 1104 | candidate = Some(m); [INFO] [stdout] 1105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1117:16 [INFO] [stdout] | [INFO] [stdout] 1117 | if let Some(mode) = self.video_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1119:13 [INFO] [stdout] | [INFO] [stdout] 1119 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1117 ~ match self.video_mode() { Some(mode) => { [INFO] [stdout] 1118 | self.window.set_fullscreen(Some(Fullscreen::Exclusive(mode))); [INFO] [stdout] 1119 ~ } _ => { [INFO] [stdout] 1120 | self.window.set_fullscreen(Some(Fullscreen::Borderless(None))); [INFO] [stdout] 1121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | let monitor_offset = if let Some(m) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1199:9 [INFO] [stdout] | [INFO] [stdout] 1199 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1197 ~ let monitor_offset = match self.window.current_monitor() { Some(m) => { [INFO] [stdout] 1198 | m.position().to_px().to_vector() [INFO] [stdout] 1199 ~ } _ => { [INFO] [stdout] 1200 | PxVector::zero() [INFO] [stdout] 1201 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1231:12 [INFO] [stdout] | [INFO] [stdout] 1231 | if let Err(e) = self.window.drag_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/window.rs:1233:9 [INFO] [stdout] | [INFO] [stdout] 1233 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1231 ~ match self.window.drag_window() { Err(e) => { [INFO] [stdout] 1232 | tracing::error!("failed to drag_move, {e}"); [INFO] [stdout] 1233 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1238:12 [INFO] [stdout] | [INFO] [stdout] 1238 | if let Err(e) = self.window.drag_resize_window(direction.to_winit()) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1240:9 [INFO] [stdout] | [INFO] [stdout] 1240 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1238 ~ match self.window.drag_resize_window(direction.to_winit()) { Err(e) => { [INFO] [stdout] 1239 | tracing::error!("failed to drag_resize, {e}"); [INFO] [stdout] 1240 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1280:24 [INFO] [stdout] | [INFO] [stdout] 1280 | if let Some(mode) = self.video_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1282:21 [INFO] [stdout] | [INFO] [stdout] 1282 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1280 ~ match self.video_mode() { Some(mode) => { [INFO] [stdout] 1281 | self.window.set_fullscreen(Some(Fullscreen::Exclusive(mode))); [INFO] [stdout] 1282 ~ } _ => { [INFO] [stdout] 1283 | self.window.set_fullscreen(Some(Fullscreen::Borderless(None))); [INFO] [stdout] 1284 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1669:33 [INFO] [stdout] | [INFO] [stdout] 1669 | let monitor_offset = if let Some(m) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1671:9 [INFO] [stdout] | [INFO] [stdout] 1671 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1669 ~ let monitor_offset = match self.window.current_monitor() { Some(m) => { [INFO] [stdout] 1670 | m.position().to_px().to_vector() [INFO] [stdout] 1671 ~ } _ => { [INFO] [stdout] 1672 | PxVector::zero() [INFO] [stdout] 1673 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1935:12 [INFO] [stdout] | [INFO] [stdout] 1935 | if let Some(a) = &mut self.access { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1950:9 [INFO] [stdout] | [INFO] [stdout] 1950 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1935 ~ match &mut self.access { Some(a) => { [INFO] [stdout] 1936 | // SAFETY: we drop `access` in case of panic. [INFO] [stdout] ... [INFO] [stdout] 1949 | } [INFO] [stdout] 1950 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1941:16 [INFO] [stdout] | [INFO] [stdout] 1941 | if let Err(p) = panic { [INFO] [stdout] | ^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1949:13 [INFO] [stdout] | [INFO] [stdout] 1949 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1941 ~ match panic { Err(p) => { [INFO] [stdout] 1942 | self.access = None; [INFO] [stdout] ... [INFO] [stdout] 1948 | })); [INFO] [stdout] 1949 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:2139:12 [INFO] [stdout] | [INFO] [stdout] 2139 | if let Some(ev) = crate::util::accesskit_to_event(self.id, request) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:2141:9 [INFO] [stdout] | [INFO] [stdout] 2141 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2139 ~ match crate::util::accesskit_to_event(self.id, request) { Some(ev) => { [INFO] [stdout] 2140 | let _ = self.event_sender.send(AppEvent::Notify(ev)); [INFO] [stdout] 2141 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/extensions.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | if let Some(i) = self.images.iter().position(|img| ExternalImageId(Arc::as_ptr(img) as u64) == 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/extensions.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 535 ~ match self.images.iter().position(|img| ExternalImageId(Arc::as_ptr(img) as u64) == id) { Some(i) => { [INFO] [stdout] 536 | self.images.swap_remove(i); [INFO] [stdout] 537 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/extensions.rs:813:19 [INFO] [stdout] | [INFO] [stdout] 813 | } else if let Some(r) = self.exts[idx].command(request) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/extensions.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 813 ~ } else { match self.exts[idx].command(request) { Some(r) => { [INFO] [stdout] 814 | r [INFO] [stdout] 815 ~ } _ => { [INFO] [stdout] 816 | ApiExtensionPayload::unknown_extension(id) [INFO] [stdout] 817 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 102 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zng_view` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/extensions.rs [INFO] [stderr] * src/lib.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/extensions.rs:1124:6 [INFO] [stderr] | [INFO] [stderr] 1124 | ($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/lib.rs:1541:41 [INFO] [stderr] | [INFO] [stderr] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr_2021, ||$fallback: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/lib.rs:1541:62 [INFO] [stderr] | [INFO] [stderr] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr_2021, ||$fallback: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 3 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1590:24 [INFO] [stdout] | [INFO] [stdout] 1590 | fn init(&mut self, gen: ViewProcessGen, is_respawn: bool, device_events: bool, headless: bool) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | self.generation = gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:1603:25 [INFO] [stdout] | [INFO] [stdout] 1603 | generation: gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/surface.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/surface.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/surface.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/window.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/window.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/window.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 201 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [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 #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 271 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/extensions.rs:1124:15 [INFO] [stdout] | [INFO] [stdout] 1124 | ($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] = 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] 1124 | ($closure: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/lib.rs:1541:49 [INFO] [stdout] | [INFO] [stdout] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr, ||$fallback: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] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr_2021, ||$fallback: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/lib.rs:1541:67 [INFO] [stdout] | [INFO] [stdout] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr, ||$fallback: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] 1541 | ($self:ident, $id:ident, |$el:ident|$action:expr, ||$fallback:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1037:30 [INFO] [stdout] | [INFO] [stdout] 1037 | let screen = (xlib.XDefaultScreen)(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gl.rs:1036:13 [INFO] [stdout] | [INFO] [stdout] 1036 | unsafe fn xlib_blit(xlib: &Xlib, display: *mut _XDisplay, window: u64, width: u32, height: u32, frame: &super::Bgra8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1039:45 [INFO] [stdout] | [INFO] [stdout] 1039 | let mut info: XVisualInfo = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1040:20 [INFO] [stdout] | [INFO] [stdout] 1040 | if (xlib.XMatchVisualInfo)(display, screen, 32, TrueColor, &mut info) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1051:43 [INFO] [stdout] | [INFO] [stdout] 1051 | let mut opts: XGCValues = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1053:27 [INFO] [stdout] | [INFO] [stdout] 1053 | let ctx = (xlib.XCreateGC)(display, window, GCGraphicsExposures as _, &mut opts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1055:27 [INFO] [stdout] | [INFO] [stdout] 1055 | let img = (xlib.XCreateImage)( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1056 | | display, [INFO] [stdout] 1057 | | info.visual, [INFO] [stdout] 1058 | | 32, [INFO] [stdout] ... | [INFO] [stdout] 1065 | | line_len as i32, [INFO] [stdout] 1066 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | (xlib.XPutImage)(display, window, ctx, img, 0, 0, 0, 0, width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1070:17 [INFO] [stdout] | [INFO] [stdout] 1070 | (xlib.XFreeGC)(display, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if let Err(e) = std::panic::catch_unwind(std::panic::AssertUnwindSafe(run_app)) { [INFO] [stdout] | ^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } [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] 237 ~ match std::panic::catch_unwind(std::panic::AssertUnwindSafe(run_app)) { Err(e) => { [INFO] [stdout] 238 | thread::spawn(|| { [INFO] [stdout] ... [INFO] [stdout] 248 | std::panic::resume_unwind(e); [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | if let Err(p) = app_thread.join() { [INFO] [stdout] | ^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 264 ~ match app_thread.join() { Err(p) => { [INFO] [stdout] 265 | std::panic::resume_unwind(p); [INFO] [stdout] 266 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | let i = if let Some((i, _)) = self.windows.iter_mut().enumerate().find(|(_, w)| w.window_id() == 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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 403 ~ let i = match self.windows.iter_mut().enumerate().find(|(_, w)| w.window_id() == window_id) { Some((i, _)) => { [INFO] [stdout] 404 | i [INFO] [stdout] 405 ~ } _ => { [INFO] [stdout] 406 | return; [INFO] [stdout] 407 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:457:31 [INFO] [stdout] | [INFO] [stdout] 457 | let size = if let Some(size) = self.windows[i].resized() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 457 ~ let size = match self.windows[i].resized() { Some(size) => { [INFO] [stdout] 458 | size [INFO] [stdout] 459 ~ } _ => { [INFO] [stdout] 460 | winit_loop_guard.unset(&mut self.winit_loop); [INFO] [stdout] 461 | return; [INFO] [stdout] 462 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | while let Ok(req) = self.request_recv.recv_deadline(deadline) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:550:27 [INFO] [stdout] | [INFO] [stdout] 550 | while let Ok(req) = self.request_recv.recv_deadline(deadline) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:565:21 [INFO] [stdout] | [INFO] [stdout] 565 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:569:54 [INFO] [stdout] | [INFO] [stdout] 569 | let (global_position, position) = if let Some(p) = self.windows[i].moved() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 569 ~ let (global_position, position) = match self.windows[i].moved() { Some(p) => { [INFO] [stdout] 570 | p [INFO] [stdout] 571 ~ } _ => { [INFO] [stdout] 572 | winit_loop_guard.unset(&mut self.winit_loop); [INFO] [stdout] 573 | return; [INFO] [stdout] 574 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:587:20 [INFO] [stdout] | [INFO] [stdout] 587 | if let Some(handle) = self.windows[i].monitor_change() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:591:17 [INFO] [stdout] | [INFO] [stdout] 591 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 587 ~ match self.windows[i].monitor_change() { Some(handle) => { [INFO] [stdout] 588 | let m_id = self.monitor_handle_to_id(&handle); [INFO] [stdout] 589 | [INFO] [stdout] 590 | self.notify(Event::WindowChanged(WindowChanged::monitor_changed(id, m_id, EventCause::System))); [INFO] [stdout] 591 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:814:20 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(new_monitor) = self.windows[i].monitor_change() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:817:17 [INFO] [stdout] | [INFO] [stdout] 817 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 814 ~ match self.windows[i].monitor_change() { Some(new_monitor) => { [INFO] [stdout] 815 | monitor = Some(new_monitor); [INFO] [stdout] 816 | is_monitor_change = true; [INFO] [stdout] 817 ~ } _ => { [INFO] [stdout] 818 | monitor = self.windows[i].monitor(); [INFO] [stdout] 819 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:821:34 [INFO] [stdout] | [INFO] [stdout] 821 | let monitor = if let Some(handle) = monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:823:17 [INFO] [stdout] | [INFO] [stdout] 823 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 821 ~ let monitor = match monitor { Some(handle) => { [INFO] [stdout] 822 | self.monitor_handle_to_id(&handle) [INFO] [stdout] 823 ~ } _ => { [INFO] [stdout] 824 | MonitorId::INVALID [INFO] [stdout] 825 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:840:20 [INFO] [stdout] | [INFO] [stdout] 840 | if let Some(size) = self.windows[i].resized() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 840 ~ match self.windows[i].resized() { Some(size) => { [INFO] [stdout] 841 | self.notify(Event::WindowChanged(WindowChanged::resized(id, size, EventCause::System, None))); [INFO] [stdout] 842 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:881:23 [INFO] [stdout] | [INFO] [stdout] 881 | while let Ok(req) = self.request_recv.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/lib.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:992:12 [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(t) = self.config_listener_exit.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/lib.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 992 ~ match self.config_listener_exit.take() { Some(t) => { [INFO] [stdout] 993 | t(); [INFO] [stdout] 994 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1104:39 [INFO] [stdout] | [INFO] [stdout] 1104 | ... while let Ok(request) = self.app.request_recv.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/lib.rs:1128:33 [INFO] [stdout] | [INFO] [stdout] 1128 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1114:56 [INFO] [stdout] | [INFO] [stdout] 1114 | ... let r = if let Some(s) = self.app.surfaces.iter_mut().find(|s| s.id() == 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/lib.rs:1116:45 [INFO] [stdout] | [INFO] [stdout] 1116 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1114 ~ let r = match self.app.surfaces.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1115 | Some(s.on_frame_ready(msg, &mut self.app.image_cache)) [INFO] [stdout] 1116 ~ } _ => { [INFO] [stdout] 1117 | None [INFO] [stdout] 1118 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1119:48 [INFO] [stdout] | [INFO] [stdout] 1119 | ... if let Some((frame_id, image)) = r { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1125:45 [INFO] [stdout] | [INFO] [stdout] 1125 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1119 ~ match r { Some((frame_id, image)) => { [INFO] [stdout] 1120 | self.app.notify(Event::FrameRendered(EventFrameRendered { [INFO] [stdout] ... [INFO] [stdout] 1124 | })); [INFO] [stdout] 1125 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1202:12 [INFO] [stdout] | [INFO] [stdout] 1202 | if let Err(e) = event_loop.run_app(&mut app) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1208:9 [INFO] [stdout] | [INFO] [stdout] 1208 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1202 ~ match event_loop.run_app(&mut app) { Err(e) => { [INFO] [stdout] 1203 | if app.exited { [INFO] [stdout] ... [INFO] [stdout] 1207 | } [INFO] [stdout] 1208 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1261:19 [INFO] [stdout] | [INFO] [stdout] 1261 | while let Ok(r) = request_recv.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/lib.rs:1265:13 [INFO] [stdout] | [INFO] [stdout] 1265 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1262:20 [INFO] [stdout] | [INFO] [stdout] 1262 | if let Err(ipc::Disconnected) = app_sender.request(r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1262 ~ match app_sender.request(r) { Err(ipc::Disconnected) => { [INFO] [stdout] 1263 | break; [INFO] [stdout] 1264 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1271:12 [INFO] [stdout] | [INFO] [stdout] 1271 | if let Some((id, _)) = self.monitors.iter().find(|(_, h)| h == 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/lib.rs:1273:9 [INFO] [stdout] | [INFO] [stdout] 1273 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ match self.monitors.iter().find(|(_, h)| h == handle) { Some((id, _)) => { [INFO] [stdout] 1272 | *id [INFO] [stdout] 1273 ~ } _ => { [INFO] [stdout] 1274 | self.refresh_monitors(); [INFO] [stdout] ... [INFO] [stdout] 1279 | } [INFO] [stdout] 1280 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1275:16 [INFO] [stdout] | [INFO] [stdout] 1275 | if let Some((id, _)) = self.monitors.iter().find(|(_, h)| h == 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/lib.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1275 ~ match self.monitors.iter().find(|(_, h)| h == handle) { Some((id, _)) => { [INFO] [stdout] 1276 | *id [INFO] [stdout] 1277 ~ } _ => { [INFO] [stdout] 1278 | MonitorId::INVALID [INFO] [stdout] 1279 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1295:16 [INFO] [stdout] | [INFO] [stdout] 1295 | if let Some(id) = self.windows.iter().find(|w| w.is_focused()).map(|w| w.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/lib.rs:1357:13 [INFO] [stdout] | [INFO] [stdout] 1357 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1295 ~ match self.windows.iter().find(|w| w.is_focused()).map(|w| w.id()) { Some(id) => { [INFO] [stdout] 1296 | let mut notify = vec![]; [INFO] [stdout] ... [INFO] [stdout] 1356 | } [INFO] [stdout] 1357 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1387:12 [INFO] [stdout] | [INFO] [stdout] 1387 | if let Some(w) = self.windows.iter_mut().find(|w| w.id() == 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] 1400 | } else if let Some(s) = self.surfaces.iter_mut().find(|w| w.id() == window_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/lib.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | } else if let Some(s) = self.surfaces.iter_mut().find(|w| w.id() == window_id) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1408:9 [INFO] [stdout] | [INFO] [stdout] 1408 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1387 ~ match self.windows.iter_mut().find(|w| w.id() == window_id) { Some(w) => { [INFO] [stdout] 1388 | let r = w.on_frame_ready(msg, &mut self.image_cache); [INFO] [stdout] ... [INFO] [stdout] 1399 | } [INFO] [stdout] 1400 ~ } _ => { match self.surfaces.iter_mut().find(|w| w.id() == window_id) { Some(s) => { [INFO] [stdout] 1401 | let (frame_id, image) = s.on_frame_ready(msg, &mut self.image_cache); [INFO] [stdout] ... [INFO] [stdout] 1407 | })) [INFO] [stdout] 1408 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1413:12 [INFO] [stdout] | [INFO] [stdout] 1413 | if let Some((mut coal, timestamp)) = self.coalescing_event.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/lib.rs:1455:9 [INFO] [stdout] | [INFO] [stdout] 1455 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1413 ~ match self.coalescing_event.take() { Some((mut coal, timestamp)) => { [INFO] [stdout] 1414 | let r = if now.saturating_duration_since(timestamp) >= Duration::from_millis(16) { [INFO] [stdout] ... [INFO] [stdout] 1454 | } [INFO] [stdout] 1455 ~ } _ => { [INFO] [stdout] 1456 | self.coalescing_event = Some((event, now)); [INFO] [stdout] 1457 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1467:16 [INFO] [stdout] | [INFO] [stdout] 1467 | if let Some(w) = self.windows.iter().find(|w| w.id() == 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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1475:13 [INFO] [stdout] | [INFO] [stdout] 1475 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1467 ~ match self.windows.iter().find(|w| w.id() == window_id) { Some(w) => { [INFO] [stdout] 1468 | let (position, device) = w.last_cursor_pos(); [INFO] [stdout] ... [INFO] [stdout] 1474 | }); [INFO] [stdout] 1475 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1484:12 [INFO] [stdout] | [INFO] [stdout] 1484 | if let Some((coal, _)) = self.coalescing_event.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/lib.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1484 ~ match self.coalescing_event.take() { Some((coal, _)) => { [INFO] [stdout] 1485 | if self.event_sender.send(coal).is_err() { [INFO] [stdout] 1486 | let _ = self.app_sender.send(AppEvent::ParentProcessExited); [INFO] [stdout] 1487 | } [INFO] [stdout] 1488 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1505:12 [INFO] [stdout] | [INFO] [stdout] 1505 | if let Some((id, _)) = self.monitors.iter().find(|(_, h)| h == 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/lib.rs:1507:9 [INFO] [stdout] | [INFO] [stdout] 1507 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1505 ~ match self.monitors.iter().find(|(_, h)| h == handle) { Some((id, _)) => { [INFO] [stdout] 1506 | *id [INFO] [stdout] 1507 ~ } _ => { [INFO] [stdout] 1508 | let id = self.monitor_id_gen.incr(); [INFO] [stdout] 1509 | self.monitors.push((id, handle.clone())); [INFO] [stdout] 1510 | id [INFO] [stdout] 1511 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1554:12 [INFO] [stdout] | [INFO] [stdout] 1554 | if let Some(f) = self.config_listener_exit.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/lib.rs:1556:9 [INFO] [stdout] | [INFO] [stdout] 1556 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1554 ~ match self.config_listener_exit.take() { Some(f) => { [INFO] [stdout] 1555 | f(); [INFO] [stdout] 1556 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1725:12 [INFO] [stdout] | [INFO] [stdout] 1725 | if let Some(i) = self.surfaces.iter().position(|w| w.id() == 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/lib.rs:1727:9 [INFO] [stdout] | [INFO] [stdout] 1727 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1725 ~ match self.surfaces.iter().position(|w| w.id() == id) { Some(i) => { [INFO] [stdout] 1726 | let _ = self.surfaces.swap_remove(i); [INFO] [stdout] 1727 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1759:12 [INFO] [stdout] | [INFO] [stdout] 1759 | if let Some(w) = self.windows.iter_mut().find(|w| w.id() == 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/lib.rs:1772:9 [INFO] [stdout] | [INFO] [stdout] 1772 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1759 ~ match self.windows.iter_mut().find(|w| w.id() == id) { Some(w) => { [INFO] [stdout] 1760 | if w.set_state(state.clone()) { [INFO] [stdout] ... [INFO] [stdout] 1771 | } [INFO] [stdout] 1772 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1777:12 [INFO] [stdout] | [INFO] [stdout] 1777 | if let Some(surf) = self.surfaces.iter_mut().find(|s| s.id() == renderer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1779:9 [INFO] [stdout] | [INFO] [stdout] 1779 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1777 ~ match self.surfaces.iter_mut().find(|s| s.id() == renderer) { Some(surf) => { [INFO] [stdout] 1778 | surf.set_size(size, scale_factor) [INFO] [stdout] 1779 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1863:12 [INFO] [stdout] | [INFO] [stdout] 1863 | if let Some(img) = self.image_cache.get(image_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/lib.rs:1865:9 [INFO] [stdout] | [INFO] [stdout] 1865 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1863 ~ match self.image_cache.get(image_id) { Some(img) => { [INFO] [stdout] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] 1865 ~ } _ => { [INFO] [stdout] 1866 | ImageTextureId::INVALID [INFO] [stdout] 1867 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1864 | with_window_or_surface!(self, id, |w| w.use_image(img), || ImageTextureId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1871 | if let Some(img) = self.image_cache.get(image_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/lib.rs:1873:9 [INFO] [stdout] | [INFO] [stdout] 1873 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1871 ~ match self.image_cache.get(image_id) { Some(img) => { [INFO] [stdout] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] 1873 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1872 | with_window_or_surface!(self, id, |w| w.update_image(texture_id, img), || ()) [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1877 | with_window_or_surface!(self, id, |w| w.delete_image(texture_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1877 | with_window_or_surface!(self, id, |w| w.delete_image(texture_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1877 | with_window_or_surface!(self, id, |w| w.delete_image(texture_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1881 | with_window_or_surface!(self, id, |w| w.add_font_face(bytes.to_vec(), index), || FontFaceId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1881 | with_window_or_surface!(self, id, |w| w.add_font_face(bytes.to_vec(), index), || FontFaceId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1881 | with_window_or_surface!(self, id, |w| w.add_font_face(bytes.to_vec(), index), || FontFaceId::INVALID) [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1885 | with_window_or_surface!(self, id, |w| w.delete_font_face(font_face_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1885 | with_window_or_surface!(self, id, |w| w.delete_font_face(font_face_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1885 | with_window_or_surface!(self, id, |w| w.delete_font_face(font_face_id), || ()) [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1896 | / with_window_or_surface!(self, id, |w| w.add_font(font_face_id, glyph_size, options, variations), || { [INFO] [stdout] 1897 | | FontId::INVALID [INFO] [stdout] 1898 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1896 | / with_window_or_surface!(self, id, |w| w.add_font(font_face_id, glyph_size, options, variations), || { [INFO] [stdout] 1897 | | FontId::INVALID [INFO] [stdout] 1898 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1896 | / with_window_or_surface!(self, id, |w| w.add_font(font_face_id, glyph_size, options, variations), || { [INFO] [stdout] 1897 | | FontId::INVALID [INFO] [stdout] 1898 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1902 | with_window_or_surface!(self, id, |w| w.delete_font(font_id), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1902 | with_window_or_surface!(self, id, |w| w.delete_font(font_id), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1902 | with_window_or_surface!(self, id, |w| w.delete_font(font_id), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1910 | with_window_or_surface!(self, id, |w| w.frame_image(&mut self.image_cache, mask), || ImageId::INVALID) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1910 | with_window_or_surface!(self, id, |w| w.frame_image(&mut self.image_cache, mask), || ImageId::INVALID) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1910 | with_window_or_surface!(self, id, |w| w.frame_image(&mut self.image_cache, mask), || ImageId::INVALID) [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1914 | / with_window_or_surface!(self, id, |w| w.frame_image_rect(&mut self.image_cache, rect, mask), || { [INFO] [stdout] 1915 | | ImageId::INVALID [INFO] [stdout] 1916 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1914 | / with_window_or_surface!(self, id, |w| w.frame_image_rect(&mut self.image_cache, rect, mask), || { [INFO] [stdout] 1915 | | ImageId::INVALID [INFO] [stdout] 1916 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1914 | / with_window_or_surface!(self, id, |w| w.frame_image_rect(&mut self.image_cache, rect, mask), || { [INFO] [stdout] 1915 | | ImageId::INVALID [INFO] [stdout] 1916 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1920 | with_window_or_surface!(self, id, |w| w.render(frame), || ()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1920 | with_window_or_surface!(self, id, |w| w.render(frame), || ()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1920 | with_window_or_surface!(self, id, |w| w.render(frame), || ()) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 1924 | with_window_or_surface!(self, id, |w| w.render_update(frame), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1924 | with_window_or_surface!(self, id, |w| w.render_update(frame), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1924 | with_window_or_surface!(self, id, |w| w.render_update(frame), || ()) [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1928:12 [INFO] [stdout] | [INFO] [stdout] 1928 | if let Some(s) = self.windows.iter_mut().find(|s| s.id() == 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/lib.rs:1930:9 [INFO] [stdout] | [INFO] [stdout] 1930 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1928 ~ match self.windows.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1929 | s.access_update(update, &self.app_sender); [INFO] [stdout] 1930 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1935:12 [INFO] [stdout] | [INFO] [stdout] 1935 | if let Some(s) = self.windows.iter_mut().find(|s| s.id() == 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/lib.rs:1937:9 [INFO] [stdout] | [INFO] [stdout] 1937 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1935 ~ match self.windows.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1936 | s.message_dialog(dialog, r_id, self.app_sender.clone()); [INFO] [stdout] 1937 ~ } _ => { [INFO] [stdout] 1938 | let r = MsgDialogResponse::Error(Txt::from_static("window not found")); [INFO] [stdout] 1939 | let _ = self.app_sender.send(AppEvent::Notify(Event::MsgDialogResponse(r_id, r))); [INFO] [stdout] 1940 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1946:12 [INFO] [stdout] | [INFO] [stdout] 1946 | if let Some(s) = self.windows.iter_mut().find(|s| s.id() == 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/lib.rs:1948:9 [INFO] [stdout] | [INFO] [stdout] 1948 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1946 ~ match self.windows.iter_mut().find(|s| s.id() == id) { Some(s) => { [INFO] [stdout] 1947 | s.file_dialog(dialog, r_id, self.app_sender.clone()); [INFO] [stdout] 1948 ~ } _ => { [INFO] [stdout] 1949 | let r = MsgDialogResponse::Error(Txt::from_static("window not found")); [INFO] [stdout] 1950 | let _ = self.app_sender.send(AppEvent::Notify(Event::MsgDialogResponse(r_id, r))); [INFO] [stdout] 1951 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:2063:20 [INFO] [stdout] | [INFO] [stdout] 2063 | if let Some(img) = self.image_cache.get(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/lib.rs:2076:17 [INFO] [stdout] | [INFO] [stdout] 2076 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2063 ~ match self.image_cache.get(id) { Some(img) => { [INFO] [stdout] 2064 | let size = img.size(); [INFO] [stdout] ... [INFO] [stdout] 2075 | Ok(()) [INFO] [stdout] 2076 ~ } _ => { [INFO] [stdout] 2077 | Err(clipboard::ClipboardError::Other(zng_txt::Txt::from_static("image not found"))) [INFO] [stdout] 2078 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:1542:12 [INFO] [stdout] | [INFO] [stdout] 1542 | if let Some($el) = $self.windows.iter_mut().find(|w| w.id() == $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] 1543 | $action [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $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] 2139 | / with_window_or_surface!(self, id, |w| w.render_extension(extension_id, extension_request), || { [INFO] [stdout] 2140 | | ApiExtensionPayload::invalid_request(extension_id, "renderer not found") [INFO] [stdout] 2141 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | } else if let Some($el) = $self.surfaces.iter_mut().find(|w| w.id() == $id) { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2139 | / with_window_or_surface!(self, id, |w| w.render_extension(extension_id, extension_request), || { [INFO] [stdout] 2140 | | ApiExtensionPayload::invalid_request(extension_id, "renderer not found") [INFO] [stdout] 2141 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 2139 | / with_window_or_surface!(self, id, |w| w.render_extension(extension_id, extension_request), || { [INFO] [stdout] 2140 | | ApiExtensionPayload::invalid_request(extension_id, "renderer not found") [INFO] [stdout] 2141 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `with_window_or_surface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/display_list.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(l) = self.lists.get(&frame_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/display_list.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match self.lists.get(&frame_id) { Some(l) => { [INFO] [stdout] 284 | l.used.set(true); [INFO] [stdout] ... [INFO] [stdout] 303 | } [INFO] [stdout] 304 ~ } _ => { [INFO] [stdout] 305 | tracing::error!("did not find reuse frame {frame_id:?}"); [INFO] [stdout] 306 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/display_list.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(list) = self.lists.get_mut(frame_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/display_list.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | } [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 self.lists.get_mut(frame_id) { Some(list) => { [INFO] [stdout] 332 | if let Some(item) = list.list.get_mut(*i) { [INFO] [stdout] 333 | return Some(item); [INFO] [stdout] 334 | } [INFO] [stdout] 335 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/display_list.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | if let Some(item) = list.list.get_mut(*i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/display_list.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 332 ~ match list.list.get_mut(*i) { Some(item) => { [INFO] [stdout] 333 | return Some(item); [INFO] [stdout] 334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gl.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(id) = config.x11_visual() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gl.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 244 ~ match config.x11_visual() { Some(id) => { [INFO] [stdout] 245 | w.with_x11_visual(id.visual_id() as _) [INFO] [stdout] 246 ~ } _ => { [INFO] [stdout] 247 | w [INFO] [stdout] 248 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gl.rs:644:20 [INFO] [stdout] | [INFO] [stdout] 644 | if let Some(h) = headless { [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gl.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 644 ~ match headless { Some(h) => { [INFO] [stdout] 645 | let _ = h.hidden_window; [INFO] [stdout] 646 | [INFO] [stdout] 647 | h.destroy(&self.gl); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/image_cache.rs:1155:16 [INFO] [stdout] | [INFO] [stdout] 1155 | if let Some(i) = self.locked.iter().position(|d| ExternalImageId(Arc::as_ptr(d) as _) == key) { [INFO] [stdout] | ^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/image_cache.rs:1157:13 [INFO] [stdout] | [INFO] [stdout] 1157 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1155 ~ match self.locked.iter().position(|d| ExternalImageId(Arc::as_ptr(d) as _) == key) { Some(i) => { [INFO] [stdout] 1156 | self.locked.swap_remove(i); [INFO] [stdout] 1157 ~ } _ => { [INFO] [stdout] 1158 | debug_assert!(false); [INFO] [stdout] 1159 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1033:12 [INFO] [stdout] | [INFO] [stdout] 1033 | if let Some(clean) = self.0.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/util.rs:1035:9 [INFO] [stdout] | [INFO] [stdout] 1035 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1033 ~ match self.0.take() { Some(clean) => { [INFO] [stdout] 1034 | clean(); [INFO] [stdout] 1035 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1192:20 [INFO] [stdout] | [INFO] [stdout] 1192 | if let Some(accesskit::ActionData::Value(s)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1192 ~ match request.data { Some(accesskit::ActionData::Value(s)) => { [INFO] [stdout] 1193 | AccessCmd::ReplaceSelectedText(Txt::from_str(&s)) [INFO] [stdout] 1194 ~ } _ => { [INFO] [stdout] 1195 | AccessCmd::ReplaceSelectedText(Txt::from_str("")) [INFO] [stdout] 1196 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1206:20 [INFO] [stdout] | [INFO] [stdout] 1206 | if let Some(accesskit::ActionData::ScrollTargetRect(r)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1212:17 [INFO] [stdout] | [INFO] [stdout] 1212 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ match request.data { Some(accesskit::ActionData::ScrollTargetRect(r)) => { [INFO] [stdout] 1207 | let r = PxRect::new( [INFO] [stdout] ... [INFO] [stdout] 1211 | AccessCmd::Scroll(ScrollCmd::ScrollToRect(r)) [INFO] [stdout] 1212 ~ } _ => { [INFO] [stdout] 1213 | AccessCmd::Scroll(ScrollCmd::ScrollTo) [INFO] [stdout] 1214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1217:20 [INFO] [stdout] | [INFO] [stdout] 1217 | if let Some(accesskit::ActionData::ScrollToPoint(p)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1219:17 [INFO] [stdout] | [INFO] [stdout] 1219 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1217 ~ match request.data { Some(accesskit::ActionData::ScrollToPoint(p)) => { [INFO] [stdout] 1218 | AccessCmd::Scroll(ScrollCmd::ScrollToRect(PxRect::new(accesskit_point_to_px(p), PxSize::splat(Px(1))))) [INFO] [stdout] 1219 ~ } _ => { [INFO] [stdout] 1220 | return None; [INFO] [stdout] 1221 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1224:20 [INFO] [stdout] | [INFO] [stdout] 1224 | if let Some(accesskit::ActionData::SetScrollOffset(o)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1226:17 [INFO] [stdout] | [INFO] [stdout] 1226 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1224 ~ match request.data { Some(accesskit::ActionData::SetScrollOffset(o)) => { [INFO] [stdout] 1225 | AccessCmd::Scroll(ScrollCmd::ScrollToRect(PxRect::new(accesskit_point_to_px(o), PxSize::splat(Px(1))))) [INFO] [stdout] 1226 ~ } _ => { [INFO] [stdout] 1227 | return None; [INFO] [stdout] 1228 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/util.rs:1231:20 [INFO] [stdout] | [INFO] [stdout] 1231 | if let Some(accesskit::ActionData::SetTextSelection(s)) = request.data { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/util.rs:1236:17 [INFO] [stdout] | [INFO] [stdout] 1236 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1231 ~ match request.data { Some(accesskit::ActionData::SetTextSelection(s)) => { [INFO] [stdout] 1232 | AccessCmd::SelectText { [INFO] [stdout] ... [INFO] [stdout] 1235 | } [INFO] [stdout] 1236 ~ } _ => { [INFO] [stdout] 1237 | return None; [INFO] [stdout] 1238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | } else if let Some(m) = monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ } else { match monitor { Some(m) => { [INFO] [stdout] 220 | // fallback to center. [INFO] [stdout] ... [INFO] [stdout] 226 | winit = winit.with_position(m.position()); [INFO] [stdout] 227 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(m) = monitor { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 190 ~ match monitor { Some(m) => { [INFO] [stdout] 191 | if cfg.default_position { [INFO] [stdout] ... [INFO] [stdout] 217 | } [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:508:73 [INFO] [stdout] | [INFO] [stdout] 508 | WindowState::Exclusive => win.window.set_fullscreen(Some(if let Some(mode) = win.video_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 508 ~ WindowState::Exclusive => win.window.set_fullscreen(Some(match win.video_mode() { Some(mode) => { [INFO] [stdout] 509 | Fullscreen::Exclusive(mode) [INFO] [stdout] 510 ~ } _ => { [INFO] [stdout] 511 | Fullscreen::Borderless(None) [INFO] [stdout] 512 ~ }})), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:516:33 [INFO] [stdout] | [INFO] [stdout] 516 | let monitor_offset = if let Some(m) = win.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 516 ~ let monitor_offset = match win.window.current_monitor() { Some(m) => { [INFO] [stdout] 517 | m.position().to_px().to_vector() [INFO] [stdout] 518 ~ } _ => { [INFO] [stdout] 519 | PxVector::zero() [INFO] [stdout] 520 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:732:37 [INFO] [stdout] | [INFO] [stdout] 732 | let monitor_offset = if let Some(m) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:734:13 [INFO] [stdout] | [INFO] [stdout] 734 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 732 ~ let monitor_offset = match self.window.current_monitor() { Some(m) => { [INFO] [stdout] 733 | m.position().to_px().to_vector() [INFO] [stdout] 734 ~ } _ => { [INFO] [stdout] 735 | PxVector::zero() [INFO] [stdout] 736 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1019:19 [INFO] [stdout] | [INFO] [stdout] 1019 | } else if let Some(h) = self.window.fullscreen() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | } else if self.is_maximized() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1019 ~ } else { match self.window.fullscreen() { Some(h) => { [INFO] [stdout] 1020 | state.state = match h { [INFO] [stdout] ... [INFO] [stdout] 1023 | }; [INFO] [stdout] 1024 ~ } _ => if self.is_maximized() { [INFO] [stdout] 1025 | state.state = WindowState::Maximized; [INFO] [stdout] ... [INFO] [stdout] 1040 | ); [INFO] [stdout] 1041 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1031:37 [INFO] [stdout] | [INFO] [stdout] 1031 | let monitor_offset = if let Some(monitor) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1033:13 [INFO] [stdout] | [INFO] [stdout] 1033 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1031 ~ let monitor_offset = match self.window.current_monitor() { Some(monitor) => { [INFO] [stdout] 1032 | monitor.position().to_px().to_vector() [INFO] [stdout] 1033 ~ } _ => { [INFO] [stdout] 1034 | PxVector::zero() [INFO] [stdout] 1035 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1095:24 [INFO] [stdout] | [INFO] [stdout] 1095 | if let Some(c) = &candidate { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1103:21 [INFO] [stdout] | [INFO] [stdout] 1103 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1095 ~ match &candidate { Some(c) => { [INFO] [stdout] 1096 | if m.size().width >= c.size().width [INFO] [stdout] ... [INFO] [stdout] 1102 | } [INFO] [stdout] 1103 ~ } _ => { [INFO] [stdout] 1104 | candidate = Some(m); [INFO] [stdout] 1105 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1117:16 [INFO] [stdout] | [INFO] [stdout] 1117 | if let Some(mode) = self.video_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1119:13 [INFO] [stdout] | [INFO] [stdout] 1119 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1117 ~ match self.video_mode() { Some(mode) => { [INFO] [stdout] 1118 | self.window.set_fullscreen(Some(Fullscreen::Exclusive(mode))); [INFO] [stdout] 1119 ~ } _ => { [INFO] [stdout] 1120 | self.window.set_fullscreen(Some(Fullscreen::Borderless(None))); [INFO] [stdout] 1121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | let monitor_offset = if let Some(m) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1199:9 [INFO] [stdout] | [INFO] [stdout] 1199 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1197 ~ let monitor_offset = match self.window.current_monitor() { Some(m) => { [INFO] [stdout] 1198 | m.position().to_px().to_vector() [INFO] [stdout] 1199 ~ } _ => { [INFO] [stdout] 1200 | PxVector::zero() [INFO] [stdout] 1201 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1231:12 [INFO] [stdout] | [INFO] [stdout] 1231 | if let Err(e) = self.window.drag_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/window.rs:1233:9 [INFO] [stdout] | [INFO] [stdout] 1233 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1231 ~ match self.window.drag_window() { Err(e) => { [INFO] [stdout] 1232 | tracing::error!("failed to drag_move, {e}"); [INFO] [stdout] 1233 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1238:12 [INFO] [stdout] | [INFO] [stdout] 1238 | if let Err(e) = self.window.drag_resize_window(direction.to_winit()) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1240:9 [INFO] [stdout] | [INFO] [stdout] 1240 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1238 ~ match self.window.drag_resize_window(direction.to_winit()) { Err(e) => { [INFO] [stdout] 1239 | tracing::error!("failed to drag_resize, {e}"); [INFO] [stdout] 1240 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1280:24 [INFO] [stdout] | [INFO] [stdout] 1280 | if let Some(mode) = self.video_mode() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1282:21 [INFO] [stdout] | [INFO] [stdout] 1282 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1280 ~ match self.video_mode() { Some(mode) => { [INFO] [stdout] 1281 | self.window.set_fullscreen(Some(Fullscreen::Exclusive(mode))); [INFO] [stdout] 1282 ~ } _ => { [INFO] [stdout] 1283 | self.window.set_fullscreen(Some(Fullscreen::Borderless(None))); [INFO] [stdout] 1284 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1669:33 [INFO] [stdout] | [INFO] [stdout] 1669 | let monitor_offset = if let Some(m) = self.window.current_monitor() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1671:9 [INFO] [stdout] | [INFO] [stdout] 1671 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1669 ~ let monitor_offset = match self.window.current_monitor() { Some(m) => { [INFO] [stdout] 1670 | m.position().to_px().to_vector() [INFO] [stdout] 1671 ~ } _ => { [INFO] [stdout] 1672 | PxVector::zero() [INFO] [stdout] 1673 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1935:12 [INFO] [stdout] | [INFO] [stdout] 1935 | if let Some(a) = &mut self.access { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1950:9 [INFO] [stdout] | [INFO] [stdout] 1950 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1935 ~ match &mut self.access { Some(a) => { [INFO] [stdout] 1936 | // SAFETY: we drop `access` in case of panic. [INFO] [stdout] ... [INFO] [stdout] 1949 | } [INFO] [stdout] 1950 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:1941:16 [INFO] [stdout] | [INFO] [stdout] 1941 | if let Err(p) = panic { [INFO] [stdout] | ^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:1949:13 [INFO] [stdout] | [INFO] [stdout] 1949 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1941 ~ match panic { Err(p) => { [INFO] [stdout] 1942 | self.access = None; [INFO] [stdout] ... [INFO] [stdout] 1948 | })); [INFO] [stdout] 1949 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/window.rs:2139:12 [INFO] [stdout] | [INFO] [stdout] 2139 | if let Some(ev) = crate::util::accesskit_to_event(self.id, request) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [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:2141:9 [INFO] [stdout] | [INFO] [stdout] 2141 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2139 ~ match crate::util::accesskit_to_event(self.id, request) { Some(ev) => { [INFO] [stdout] 2140 | let _ = self.event_sender.send(AppEvent::Notify(ev)); [INFO] [stdout] 2141 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/extensions.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | if let Some(i) = self.images.iter().position(|img| ExternalImageId(Arc::as_ptr(img) as u64) == 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/extensions.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 535 ~ match self.images.iter().position(|img| ExternalImageId(Arc::as_ptr(img) as u64) == id) { Some(i) => { [INFO] [stdout] 536 | self.images.swap_remove(i); [INFO] [stdout] 537 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/extensions.rs:813:19 [INFO] [stdout] | [INFO] [stdout] 813 | } else if let Some(r) = self.exts[idx].command(request) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/extensions.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 813 ~ } else { match self.exts[idx].command(request) { Some(r) => { [INFO] [stdout] 814 | r [INFO] [stdout] 815 ~ } _ => { [INFO] [stdout] 816 | ApiExtensionPayload::unknown_extension(id) [INFO] [stdout] 817 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 102 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling zng-view v0.4.17 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:1590:24 [INFO] [stdout] | [INFO] [stdout] 1590 | fn init(&mut self, gen: ViewProcessGen, is_respawn: bool, device_events: bool, headless: bool) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1590 | fn init(&mut self, r#gen: ViewProcessGen, is_respawn: bool, device_events: bool, headless: bool) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:1590:24 [INFO] [stdout] | [INFO] [stdout] 1590 | fn init(&mut self, gen: ViewProcessGen, is_respawn: bool, device_events: bool, headless: bool) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1590 | fn init(&mut self, r#gen: ViewProcessGen, is_respawn: bool, device_events: bool, headless: bool) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | self.generation = gen; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | self.generation = gen; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/surface.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 65 | r#gen: ViewProcessGen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/surface.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 65 | r#gen: ViewProcessGen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/surface.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/surface.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/surface.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/surface.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/window.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 143 | r#gen: ViewProcessGen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/window.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | gen: ViewProcessGen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 143 | r#gen: ViewProcessGen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/window.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/window.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | renderer_id: Some((gen.get() as u64) << 32 | id.get() as u64), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/window.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/window.rs:393:54 [INFO] [stdout] | [INFO] [stdout] 393 | let pipeline_id = webrender::api::PipelineId(gen.get(), id.get()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 201 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 201 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 271 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 271 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1037:30 [INFO] [stdout] | [INFO] [stdout] 1037 | let screen = (xlib.XDefaultScreen)(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gl.rs:1036:13 [INFO] [stdout] | [INFO] [stdout] 1036 | unsafe fn xlib_blit(xlib: &Xlib, display: *mut _XDisplay, window: u64, width: u32, height: u32, frame: &super::Bgra8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1037:30 [INFO] [stdout] | [INFO] [stdout] 1037 | let screen = (xlib.XDefaultScreen)(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gl.rs:1036:13 [INFO] [stdout] | [INFO] [stdout] 1036 | unsafe fn xlib_blit(xlib: &Xlib, display: *mut _XDisplay, window: u64, width: u32, height: u32, frame: &super::Bgra8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1039:45 [INFO] [stdout] | [INFO] [stdout] 1039 | let mut info: XVisualInfo = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1039:45 [INFO] [stdout] | [INFO] [stdout] 1039 | let mut info: XVisualInfo = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1040:20 [INFO] [stdout] | [INFO] [stdout] 1040 | if (xlib.XMatchVisualInfo)(display, screen, 32, TrueColor, &mut info) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1040:20 [INFO] [stdout] | [INFO] [stdout] 1040 | if (xlib.XMatchVisualInfo)(display, screen, 32, TrueColor, &mut info) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1051:43 [INFO] [stdout] | [INFO] [stdout] 1051 | let mut opts: XGCValues = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1051:43 [INFO] [stdout] | [INFO] [stdout] 1051 | let mut opts: XGCValues = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1053:27 [INFO] [stdout] | [INFO] [stdout] 1053 | let ctx = (xlib.XCreateGC)(display, window, GCGraphicsExposures as _, &mut opts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1053:27 [INFO] [stdout] | [INFO] [stdout] 1053 | let ctx = (xlib.XCreateGC)(display, window, GCGraphicsExposures as _, &mut opts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1055:27 [INFO] [stdout] | [INFO] [stdout] 1055 | let img = (xlib.XCreateImage)( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1056 | | display, [INFO] [stdout] 1057 | | info.visual, [INFO] [stdout] 1058 | | 32, [INFO] [stdout] ... | [INFO] [stdout] 1065 | | line_len as i32, [INFO] [stdout] 1066 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1055:27 [INFO] [stdout] | [INFO] [stdout] 1055 | let img = (xlib.XCreateImage)( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1056 | | display, [INFO] [stdout] 1057 | | info.visual, [INFO] [stdout] 1058 | | 32, [INFO] [stdout] ... | [INFO] [stdout] 1065 | | line_len as i32, [INFO] [stdout] 1066 | | ); [INFO] [stdout] | |_________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | (xlib.XPutImage)(display, window, ctx, img, 0, 0, 0, 0, width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1068:17 [INFO] [stdout] | [INFO] [stdout] 1068 | (xlib.XPutImage)(display, window, ctx, img, 0, 0, 0, 0, width, height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1070:17 [INFO] [stdout] | [INFO] [stdout] 1070 | (xlib.XFreeGC)(display, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/gl.rs:1070:17 [INFO] [stdout] | [INFO] [stdout] 1070 | (xlib.XFreeGC)(display, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zng-view` (lib) due to 11 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zng-view` (lib test) due to 11 previous errors; 8 warnings emitted [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" "08356ca5628b4d0d99c524581217a451556310857ad64e732f5e27776ff8e1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08356ca5628b4d0d99c524581217a451556310857ad64e732f5e27776ff8e1bd", kill_on_drop: false }` [INFO] [stdout] 08356ca5628b4d0d99c524581217a451556310857ad64e732f5e27776ff8e1bd