[INFO] fetching crate leptos-use 0.14.0-beta4... [INFO] checking leptos-use-0.14.0-beta4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate leptos-use 0.14.0-beta4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate leptos-use 0.14.0-beta4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate leptos-use 0.14.0-beta4 [INFO] finished tweaking crates.io crate leptos-use 0.14.0-beta4 [INFO] tweaked toml for crates.io crate leptos-use 0.14.0-beta4 written to /workspace/builds/worker-6-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] Locking 369 packages to latest compatible versions [INFO] [stderr] Adding attribute-derive v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding attribute-derive-macro v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding cached v0.45.1 (available: v0.53.1) [INFO] [stderr] Adding cached_proc_macro v0.18.1 (available: v0.23.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding cookie v0.16.2 (available: v0.18.1) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding leptos_dom v0.7.0-beta5 (available: v0.7.0-preview2) [INFO] [stderr] Adding leptos_server v0.7.0-beta5 (available: v0.7.0-preview2) [INFO] [stderr] Adding lru v0.11.1 (available: v0.12.4) [INFO] [stderr] Adding manyhow v0.10.4 (available: v0.11.4) [INFO] [stderr] Adding manyhow-macros v0.10.4 (available: v0.11.4) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding oco_ref v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding proc-macro-utils v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding prost-derive v0.12.6 (available: v0.13.3) [INFO] [stderr] Adding rstml v0.11.2 (available: v0.12.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding serde_qs v0.12.0 (available: v0.13.0) [INFO] [stderr] Adding server_fn v0.7.0-beta5 (available: v0.7.0-beta6) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding tower-http v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding typed-builder v0.18.2 (available: v0.20.0) [INFO] [stderr] Adding typed-builder v0.19.1 (available: v0.20.0) [INFO] [stderr] Adding typed-builder-macro v0.18.2 (available: v0.20.0) [INFO] [stderr] Adding typed-builder-macro v0.19.1 (available: v0.20.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasm-encoder v0.38.1 (available: v0.217.0) [INFO] [stderr] Adding wasm-encoder v0.41.2 (available: v0.217.0) [INFO] [stderr] Adding wasm-metadata v0.10.20 (available: v0.217.0) [INFO] [stderr] Adding wasmparser v0.118.2 (available: v0.217.0) [INFO] [stderr] Adding wasmparser v0.121.2 (available: v0.217.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding wit-bindgen v0.16.0 (available: v0.32.0) [INFO] [stderr] Adding wit-bindgen-core v0.16.0 (available: v0.32.0) [INFO] [stderr] Adding wit-bindgen-rust v0.16.0 (available: v0.32.0) [INFO] [stderr] Adding wit-bindgen-rust-macro v0.16.0 (available: v0.32.0) [INFO] [stderr] Adding wit-component v0.18.2 (available: v0.217.0) [INFO] [stderr] Adding wit-parser v0.13.2 (available: v0.217.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9b2668f42e13e9619c41e09fa821bcea30eabcf47850ce9ea47f226c62af91e6 [INFO] running `Command { std: "docker" "start" "-a" "9b2668f42e13e9619c41e09fa821bcea30eabcf47850ce9ea47f226c62af91e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b2668f42e13e9619c41e09fa821bcea30eabcf47850ce9ea47f226c62af91e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2668f42e13e9619c41e09fa821bcea30eabcf47850ce9ea47f226c62af91e6", kill_on_drop: false }` [INFO] [stdout] 9b2668f42e13e9619c41e09fa821bcea30eabcf47850ce9ea47f226c62af91e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 707a542711f29e429fc091b6dd60c4726b802af878f3b738f4a2fcfbeb9e67c1 [INFO] running `Command { std: "docker" "start" "-a" "707a542711f29e429fc091b6dd60c4726b802af878f3b738f4a2fcfbeb9e67c1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking throw_error v0.2.0-beta5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking or_poisoned v0.1.0 [INFO] [stderr] Compiling xxhash-rust v0.8.12 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Compiling manyhow-macros v0.10.4 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking guardian v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling const_format v0.2.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking either_of v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Checking next_tuple v0.1.0-beta5 [INFO] [stderr] Checking const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling server_fn_macro v0.7.0-beta5 [INFO] [stderr] Compiling manyhow v0.10.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling leptos-use v0.14.0-beta4 (/tmp/fixit) [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling attribute-derive-macro v0.9.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling rstml v0.12.0 [INFO] [stderr] Compiling server_fn_macro_default v0.7.0-beta5 [INFO] [stderr] Compiling typed-builder-macro v0.19.1 [INFO] [stderr] Compiling attribute-derive v0.9.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling unic-langid-impl v0.9.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking typed-builder v0.19.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking unic-langid-macros v0.9.5 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking any_spawner v0.1.1 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking hydration_context v0.2.0-beta5 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking oco_ref v0.2.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking reactive_graph v0.1.0-beta5 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking leptos_hot_reload v0.7.0-beta5 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking codee v0.2.0 [INFO] [stderr] Compiling leptos_macro v0.7.0-beta5 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking leptos_config v0.7.0-beta5 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Checking tachys v0.1.0-beta5 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking server_fn v0.7.0-beta5 [INFO] [stderr] Checking leptos_server v0.7.0-beta5 [INFO] [stderr] Checking leptos_dom v0.7.0-beta5 [INFO] [stderr] Checking leptos v0.7.0-beta5 [INFO] [stderr] Checking leptos_meta v0.7.0-beta5 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `leptos_use` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/header_macro.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/utils/header_macro.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | $header_name:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/header_macro.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | $header_name:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = 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] 5 | $header_name:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/use_storage.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | if let Ok(storage) = &storage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/storage/use_storage.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | } [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] 308 ~ match &storage { Ok(storage) => { [INFO] [stdout] 309 | // Encode value [INFO] [stdout] ... [INFO] [stdout] 322 | } [INFO] [stdout] 323 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/filters/debounce.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(handle) = *timer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/filters/debounce.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match *timer { Some(handle) => { [INFO] [stdout] 32 | handle.clear(); [INFO] [stdout] 33 | *timer = None; [INFO] [stdout] 34 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/filters/throttle.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(handle) = *t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/filters/throttle.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match *t { Some(handle) => { [INFO] [stdout] 45 | handle.clear(); [INFO] [stdout] 46 | *t = None; [INFO] [stdout] 47 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/is.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ref IS_IOS: bool = if let Some(Ok(user_agent)) = [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 6 | | use_window().navigator().map(|n| n.user_agent()) [INFO] [stdout] | |_________-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/is.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | } 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] 5 ~ pub static ref IS_IOS: bool = match use_window().navigator().map(|n| n.user_agent()) [INFO] [stdout] 6 ~ { Some(Ok(user_agent)) => { [INFO] [stdout] 7 | user_agent.contains("iPhone") || user_agent.contains("iPad") || user_agent.contains("iPod") [INFO] [stdout] 8 ~ } _ => { [INFO] [stdout] 9 | false [INFO] [stdout] 10~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok(mut ios_workaround) = IOS_WORKAROUND.write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match IOS_WORKAROUND.write() { Ok(mut ios_workaround) => { [INFO] [stdout] 118 | if !*ios_workaround { [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(body) = document().body() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match document().body() { Some(body) => { [INFO] [stdout] 121 | let children = body.children(); [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(el) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 156 ~ match target.get_untracked() { Some(el) => { [INFO] [stdout] 157 | if el == event_target(&event) || event.composed_path().includes(el.as_ref(), 0) [INFO] [stdout] ... [INFO] [stdout] 174 | handler(event.into()); [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(el) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match target.get_untracked() { Some(el) => { [INFO] [stdout] 201 | should_listen [INFO] [stdout] 202 | .set(!event.composed_path().includes(&el, 0) && !should_ignore(&event)); [INFO] [stdout] 203 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | ... if let Some(el) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match target.get_untracked() { Some(el) => { [INFO] [stdout] 220 | if let Some(active_element) = document().active_element() { [INFO] [stdout] ... [INFO] [stdout] 228 | } [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | ... if let Some(active_element) = document().active_element() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 228 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match document().active_element() { Some(active_element) => { [INFO] [stdout] 221 | if active_element.tag_name() == "IFRAME" [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(f) = remove_blur_listener { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match remove_blur_listener { Some(f) => { [INFO] [stdout] 243 | f(); [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(min) = self.breakpoints.get(&min_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/use_breakpoints.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.breakpoints.get(&min_key) { Some(min) => { [INFO] [stdout] 234 | if let Some(max) = self.breakpoints.get(&max_key) { [INFO] [stdout] ... [INFO] [stdout] 238 | } [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | self.not_found_signal(min_key) [INFO] [stdout] 241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(max) = self.breakpoints.get(&max_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/use_breakpoints.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match self.breakpoints.get(&max_key) { Some(max) => { [INFO] [stdout] 235 | use_media_query(Self::between_media_query(min, max)) [INFO] [stdout] 236 ~ } _ => { [INFO] [stdout] 237 | self.not_found_signal(max_key) [INFO] [stdout] 238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(min) = self.breakpoints.get(&min_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/use_breakpoints.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } 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] 246 ~ match self.breakpoints.get(&min_key) { Some(min) => { [INFO] [stdout] 247 | if let Some(max) = self.breakpoints.get(&max_key) { [INFO] [stdout] ... [INFO] [stdout] 251 | } [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | self.not_found(min_key) [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(max) = self.breakpoints.get(&max_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/use_breakpoints.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } 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] 247 ~ match self.breakpoints.get(&max_key) { Some(max) => { [INFO] [stdout] 248 | Self::match_(&Self::between_media_query(min, max)) [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | self.not_found(max_key) [INFO] [stdout] 251 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (for<'a> Fn(&'a T)) + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | impl Fn(&T) + Clone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_broadcast_channel.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | name: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 77 | impl Fn(&T) + Clone + use, [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | impl Fn() + Clone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_broadcast_channel.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | name: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 78 | impl Fn() + Clone + use, [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(channel) = channel.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ match channel.get_untracked() { Some(channel) => { [INFO] [stdout] 100 | match C::encode(data) { [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(channel) = channel_val { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 132 ~ match channel_val { Some(channel) => { [INFO] [stdout] 133 | let _ = use_event_listener_with_options( [INFO] [stdout] ... [INFO] [stdout] 162 | let _ = use_event_listener(channel, leptos::ev::close, move |_| set_closed.set(true)); [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(data) = event.data().as_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match event.data().as_string() { Some(data) => { [INFO] [stdout] 138 | match C::decode(&data) { [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] 146 ~ } _ => { [INFO] [stdout] 147 | set_error.set(Some(UseBroadcastChannelError::ValueNotString)); [INFO] [stdout] 148 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_clipboard.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | if let Ok(text) = js_fut!(clipboard.read_text()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_clipboard.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match js_fut!(clipboard.read_text()).await { Ok(text) => { [INFO] [stdout] 83 | set_text.set(text.as_string()); [INFO] [stdout] 84 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | if let Some(el) = el { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 255 ~ match el { Some(el) => { [INFO] [stdout] 256 | let mut style: Option = None; [INFO] [stdout] ... [INFO] [stdout] 292 | } [INFO] [stdout] 293 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | if let Ok(styl) = document().create_element("style") { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:266:21 [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] 258 ~ match document().create_element("style") { Ok(styl) => { [INFO] [stdout] 259 | if let Some(head) = document().head() { [INFO] [stdout] ... [INFO] [stdout] 265 | } [INFO] [stdout] 266 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | if let Some(head) = document().head() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 259 ~ match document().head() { Some(head) => { [INFO] [stdout] 260 | let styl: web_sys::HtmlStyleElement = styl.unchecked_into(); [INFO] [stdout] ... [INFO] [stdout] 264 | style = Some(styl); [INFO] [stdout] 265 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(style) = style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match style { Some(style) => { [INFO] [stdout] 283 | if let Some(head) = document().head() { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(head) = document().head() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match document().head() { Some(head) => { [INFO] [stdout] 284 | // Calling getComputedStyle forces the browser to redraw [INFO] [stdout] ... [INFO] [stdout] 289 | let _ = head.remove_child(&style); [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_cookie.rs:601:24 [INFO] [stdout] | [INFO] [stdout] 601 | if let Some(timeout) = timeout.lock().unwrap().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/use_cookie.rs:603:21 [INFO] [stdout] | [INFO] [stdout] 603 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 601 ~ match timeout.lock().unwrap().take() { Some(timeout) => { [INFO] [stdout] 602 | timeout.clear(); [INFO] [stdout] 603 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_cookie.rs:717:8 [INFO] [stdout] | [INFO] [stdout] 717 | if let Some(new_jar) = load_and_parse_cookie_jar(ssr_cookies_header_getter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_cookie.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 735 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 717 ~ match load_and_parse_cookie_jar(ssr_cookies_header_getter) { Some(new_jar) => { [INFO] [stdout] 718 | *jar = new_jar; [INFO] [stdout] ... [INFO] [stdout] 734 | } [INFO] [stdout] 735 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(el) = el_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match el_signal.get_untracked() { Some(el) => { [INFO] [stdout] 118 | if let Ok(Some(style)) = window().get_computed_style(&el) { [INFO] [stdout] ... [INFO] [stdout] 126 | set_variable.update(|var| *var = initial_value); [INFO] [stdout] 127 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok(value) = style.get_property_value(&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/use_css_var.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match style.get_property_value(&key) { Ok(value) => { [INFO] [stdout] 120 | set_variable.update(|var| *var = value.trim().to_string()); [INFO] [stdout] 121 | return; [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(el) = el_signal.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ match el_signal.get() { Some(el) => { [INFO] [stdout] 160 | let el = el.unchecked_into::(); [INFO] [stdout] 161 | let style = el.style(); [INFO] [stdout] 162 | let _ = style.set_property(&prop.get_untracked(), val); [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_cycle_list.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(initial_value) = initial_value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_cycle_list.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 76 ~ match initial_value { Some(initial_value) => { [INFO] [stdout] 77 | initial_value [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | MaybeRwSignal::from(first.expect("The provided list shouldn't be empty")) [INFO] [stdout] 80 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_draggable.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let dragging_handle = if let Some(handle) = 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/use_draggable.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | } 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] 81 ~ let dragging_handle = match handle { Some(handle) => { [INFO] [stdout] 82 | handle.into_element_maybe_signal() [INFO] [stdout] 83 ~ } _ => { [INFO] [stdout] 84 | target.clone() [INFO] [stdout] 85 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_draggable.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(target) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_draggable.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match target.get_untracked() { Some(target) => { [INFO] [stdout] 113 | let target: web_sys::Element = target.unchecked_into(); [INFO] [stdout] ... [INFO] [stdout] 141 | handle_event(event); [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_drop_zone.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(data_transfer) = event.data_transfer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_drop_zone.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match event.data_transfer() { Some(data_transfer) => { [INFO] [stdout] 87 | let files: Vec<_> = data_transfer [INFO] [stdout] ... [INFO] [stdout] 95 | set_files.update(move |f| *f = files); [INFO] [stdout] 96 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_bounding.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(el) = el { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_bounding.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | } else if reset { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ match el { Some(el) => { [INFO] [stdout] 99 | let rect = el.get_bounding_client_rect(); [INFO] [stdout] ... [INFO] [stdout] 108 | set_y.set(rect.y()); [INFO] [stdout] 109 ~ } _ => if reset { [INFO] [stdout] 110 | set_height.set(0.0); [INFO] [stdout] ... [INFO] [stdout] 117 | set_y.set(0.0); [INFO] [stdout] 118 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(target) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match target.get_untracked() { Some(target) => { [INFO] [stdout] 83 | target [INFO] [stdout] ... [INFO] [stdout] 86 | .unwrap_or(false) [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | false [INFO] [stdout] 89 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | if let Some(target) = target.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ match target.get() { Some(target) => { [INFO] [stdout] 112 | if let Ok(Some(styles)) = window().get_computed_style(&target) { [INFO] [stdout] ... [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | ... if let Ok(Some(styles)) = window().get_computed_style(&target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match window().get_computed_style(&target) { Ok(Some(styles)) => { [INFO] [stdout] 113 | set_height.set( [INFO] [stdout] ... [INFO] [stdout] 124 | ); [INFO] [stdout] 125 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_visibility.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(entry) = entries.into_iter().find(|entry| { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 74 | || let rect = entry.bounding_client_rect(); [INFO] [stdout] 75 | || rect.width() > 0.0 || rect.height() > 0.0 [INFO] [stdout] 76 | || }) { [INFO] [stdout] | ||__________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_visibility.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match entries.into_iter().find(|entry| { [INFO] [stdout] 74 | let rect = entry.bounding_client_rect(); [INFO] [stdout] 75 | rect.width() > 0.0 || rect.height() > 0.0 [INFO] [stdout] 76 ~ }) { Some(entry) => { [INFO] [stdout] 77 | set_visible.set(entry.is_intersecting()); [INFO] [stdout] 78 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_listener.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(element) = prev_element.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/use_event_listener.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 154 ~ match prev_element.take() { Some(element) => { [INFO] [stdout] 155 | cleanup_fn(&element); [INFO] [stdout] 156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn, impl Fn() + Clone + 'static> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:113:69 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn, impl Fn() + Clone + 'static> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:126:69 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(event_source) = event_source.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match event_source.get_untracked() { Some(event_source) => { [INFO] [stdout] 167 | event_source.close(); [INFO] [stdout] ... [INFO] [stdout] 170 | explicitly_closed.store(true, std::sync::atomic::Ordering::Relaxed); [INFO] [stdout] 171 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | ... if let Some(init) = init.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 229 ~ match init.get_value() { Some(init) => { [INFO] [stdout] 230 | init(); [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(init) = init.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match init.get_value() { Some(init) => { [INFO] [stdout] 283 | init(); [INFO] [stdout] 284 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(head) = document().head() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match document().head() { Some(head) => { [INFO] [stdout] 83 | if let Ok(links) = head.query_selector_all(&link_selector) { [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | if let Ok(links) = head.query_selector_all(&link_selector) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match head.query_selector_all(&link_selector) { Ok(links) => { [INFO] [stdout] 84 | let href = format!("{base_url}{icon}"); [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(navigator) = navigator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 81 ~ match navigator { Some(navigator) => { [INFO] [stdout] 82 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] 100 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match navigator.geolocation() { Ok(geolocation) => { [INFO] [stdout] 83 | let update_position = [INFO] [stdout] ... [INFO] [stdout] 98 | on_error.forget(); [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(navigator) = navigator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 113 ~ match navigator { Some(navigator) => { [INFO] [stdout] 114 | if let Some(handle) = *watch_handle.lock().unwrap() { [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] 119 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(handle) = *watch_handle.lock().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ match *watch_handle.lock().unwrap() { Some(handle) => { [INFO] [stdout] 115 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] 116 | geolocation.clear_watch(handle); [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match navigator.geolocation() { Ok(geolocation) => { [INFO] [stdout] 116 | geolocation.clear_watch(handle); [INFO] [stdout] 117 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_idle.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(timer) = timer.replace( [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | set_timeout_with_handle(move || set_idle.set(true), Duration::from_millis(timeout)) [INFO] [stdout] | | ----------------------------------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 112 | | .ok(), [INFO] [stdout] 113 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_idle.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match timer.replace( [INFO] [stdout] 111 | set_timeout_with_handle(move || set_idle.set(true), Duration::from_millis(timeout)) [INFO] [stdout] 112 | .ok(), [INFO] [stdout] 113 ~ ) { Some(timer) => { [INFO] [stdout] 114 | timer.clear(); [INFO] [stdout] 115 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | if let Some(observed_element) = observed_element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ match observed_element { Some(observed_element) => { [INFO] [stdout] 140 | let scroll_height = observed_element.scroll_height(); [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(check_and_load) = check_and_load.try_get_value().flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match check_and_load.try_get_value().flatten() { Some(check_and_load) => { [INFO] [stdout] 174 | check_and_load(); [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_intersection_observer.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(o) = observer.lock().unwrap().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/use_intersection_observer.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 127 ~ match observer.lock().unwrap().take() { Some(o) => { [INFO] [stdout] 128 | o.disconnect(); [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_interval_fn.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(handle) = Cell::take(&timer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_interval_fn.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match Cell::take(&timer) { Some(handle) => { [INFO] [stdout] 76 | handle.clear(); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:793:20 [INFO] [stdout] | [INFO] [stdout] 793 | if let Ok(result) = number_format [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 794 | || .format() [INFO] [stdout] 795 | || .call1(&number_format, &js_sys::Number::from(number.get()).into()) [INFO] [stdout] | ||______________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | } 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] 793 ~ match number_format [INFO] [stdout] 794 | .format() [INFO] [stdout] 795 | .call1(&number_format, &js_sys::Number::from(number.get()).into()) [INFO] [stdout] 796 ~ { Ok(result) => { [INFO] [stdout] 797 | result.as_string().unwrap_or_default() [INFO] [stdout] 798 ~ } _ => { [INFO] [stdout] 799 | "".to_string() [INFO] [stdout] 800 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:876:24 [INFO] [stdout] | [INFO] [stdout] 876 | if let Ok(result) = function.call2( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 877 | || &number_format, [INFO] [stdout] 878 | || &js_sys::Number::from(start.get()).into(), [INFO] [stdout] 879 | || &js_sys::Number::from(end.get()).into(), [INFO] [stdout] 880 | || ) { [INFO] [stdout] | ||_____________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:882:21 [INFO] [stdout] | [INFO] [stdout] 882 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 876 ~ match function.call2( [INFO] [stdout] 877 | &number_format, [INFO] [stdout] 878 | &js_sys::Number::from(start.get()).into(), [INFO] [stdout] 879 | &js_sys::Number::from(end.get()).into(), [INFO] [stdout] 880 ~ ) { Ok(result) => { [INFO] [stdout] 881 | return result.as_string().unwrap_or_default(); [INFO] [stdout] 882 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(remove_listener) = remove_listener.take().as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match remove_listener.take().as_ref() { Some(remove_listener) => { [INFO] [stdout] 59 | remove_listener(); [INFO] [stdout] 60 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(media_query) = media_query.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match media_query.as_ref() { Some(media_query) => { [INFO] [stdout] 75 | set_matches.set(media_query.matches()); [INFO] [stdout] ... [INFO] [stdout] 83 | )))); [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | set_matches.set(false); [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_mutation_observer.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(o) = observer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_mutation_observer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ match observer.as_ref() { Some(o) => { [INFO] [stdout] 115 | o.disconnect(); [INFO] [stdout] 116 | *observer = None; [INFO] [stdout] 117 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_permission.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(permission_status) = permission_status.borrow().as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_permission.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match permission_status.borrow().as_ref() { Some(permission_status) => { [INFO] [stdout] 44 | set_state.set(PermissionState::from(permission_status.state())); [INFO] [stdout] 45 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_permission.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(status) = query_permission(permission_name).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_permission.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | } 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] 53 ~ match query_permission(permission_name).await { Ok(status) => { [INFO] [stdout] 54 | let _ = use_event_listener(status.clone(), leptos::ev::change, { [INFO] [stdout] ... [INFO] [stdout] 59 | on_change(); [INFO] [stdout] 60 ~ } _ => { [INFO] [stdout] 61 | set_state.set(PermissionState::Prompt); [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_resize_observer.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(o) = observer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_resize_observer.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match observer.as_ref() { Some(o) => { [INFO] [stdout] 116 | o.disconnect(); [INFO] [stdout] 117 | *observer = None; [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(element) = element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match element { Some(element) => { [INFO] [stdout] 238 | let scroll_options = web_sys::ScrollToOptions::new(); [INFO] [stdout] ... [INFO] [stdout] 248 | element.scroll_to_with_scroll_to_options(&scroll_options); [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(style) = style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 291 ~ match style { Some(style) => { [INFO] [stdout] 292 | let display = style [INFO] [stdout] ... [INFO] [stdout] 354 | set_internal_y.set(scroll_top); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:428:16 [INFO] [stdout] | [INFO] [stdout] 428 | if let Some(el) = signal.try_get_untracked().flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 428 ~ match signal.try_get_untracked().flatten() { Some(el) => { [INFO] [stdout] 429 | set_arrived_state(el); [INFO] [stdout] 430 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(sw) = registration.installing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match registration.installing() { Some(sw) => { [INFO] [stdout] 110 | sw.set_onstatechange(Some(fetch_registration.as_ref().unchecked_ref())); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | if let Err(err) = sw.post_message(&JsValue::from_str(&options.skip_waiting_message)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match sw.post_message(&JsValue::from_str(&options.skip_waiting_message)) { Err(err) => { [INFO] [stdout] 158 | warn!("Could not send message to active SW: Error: {err:?}"); [INFO] [stdout] 159 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(window) = use_window().deref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match use_window().deref() { Some(window) => { [INFO] [stdout] 197 | if let Err(err) = window.location().reload() { [INFO] [stdout] ... [INFO] [stdout] 201 | } [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | if let Err(err) = window.location().reload() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match window.location().reload() { Err(err) => { [INFO] [stdout] 198 | warn!( [INFO] [stdout] 199 | "Detected a ServiceWorkerController change but the page reload failed! Error: {err:?}" [INFO] [stdout] 200 | ); [INFO] [stdout] 201 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:273:16 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some(navigator) = use_window().navigator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 273 ~ match use_window().navigator() { Some(navigator) => { [INFO] [stdout] 274 | js_fut!(navigator.service_worker().register(script_url.as_str())) [INFO] [stdout] ... [INFO] [stdout] 278 | .map_err(SendWrapper::new) [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | Err(SendWrapper::new(JsValue::from_str("no navigator"))) [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(navigator) = use_window().navigator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | } 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] 290 ~ match use_window().navigator() { Some(navigator) => { [INFO] [stdout] 291 | js_fut!(navigator.service_worker().get_registration()) [INFO] [stdout] ... [INFO] [stdout] 295 | .map_err(SendWrapper::new) [INFO] [stdout] 296 ~ } _ => { [INFO] [stdout] 297 | Err(SendWrapper::new(JsValue::from_str("no navigator"))) [INFO] [stdout] 298 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | if let Ok(Some(style)) = window().get_computed_style(textarea) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 144 ~ match window().get_computed_style(textarea) { Ok(Some(style)) => { [INFO] [stdout] 145 | (parse_num( [INFO] [stdout] ... [INFO] [stdout] 153 | )) as i32 [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | 0 [INFO] [stdout] 156 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some(style_target) = style_target.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match style_target.get() { Some(style_target) => { [INFO] [stdout] 164 | // If style target is provided update its height [INFO] [stdout] ... [INFO] [stdout] 172 | .ok(); [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | // else update textarea's height by updating height variable [INFO] [stdout] 175 | height = format!("{}px", textarea_scroll_height.get_untracked()); [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_timeout_fn.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(timer) = *timer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_timeout_fn.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match *timer { Some(timer) => { [INFO] [stdout] 65 | timer.clear(); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 234 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 235 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (for<'a> Fn(&'a Tx)) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | impl Fn(&Tx) + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 236 | impl Fn(&Tx) + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 260 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 261 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (for<'a> Fn(&'a Tx)) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | impl Fn(&Tx) + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 262 | impl Fn(&Tx) + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | ... if let Some(connect) = connect_ref.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 321 ~ match connect_ref.get_value() { Some(connect) => { [INFO] [stdout] 322 | connect(); [INFO] [stdout] 323 | reconnect_times_ref.update_value(|current| *current += 1); [INFO] [stdout] 324 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | if let Some(web_socket) = ws_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 546 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 544 ~ match ws_signal.get_untracked() { Some(web_socket) => { [INFO] [stdout] 545 | let _ = web_socket.send_with_str(data); [INFO] [stdout] 546 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:554:16 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(web_socket) = ws_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 554 ~ match ws_signal.get_untracked() { Some(web_socket) => { [INFO] [stdout] 555 | let _ = web_socket.send_with_u8_array(data); [INFO] [stdout] 556 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 581 | if let Some(connect) = connect_ref.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 581 ~ match connect_ref.get_value() { Some(connect) => { [INFO] [stdout] 582 | connect(); [INFO] [stdout] 583 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:592:16 [INFO] [stdout] | [INFO] [stdout] 592 | if let Some(web_socket) = ws_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 592 ~ match ws_signal.get_untracked() { Some(web_socket) => { [INFO] [stdout] 593 | let _ = web_socket.close(); [INFO] [stdout] 594 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `leptos_use` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/header_macro.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/utils/header_macro.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | $header_name:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/header_macro.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | $header_name:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = 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] 5 | $header_name:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage/use_storage.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | if let Ok(storage) = &storage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/storage/use_storage.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | } [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] 308 ~ match &storage { Ok(storage) => { [INFO] [stdout] 309 | // Encode value [INFO] [stdout] ... [INFO] [stdout] 322 | } [INFO] [stdout] 323 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/filters/debounce.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(handle) = *timer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/filters/debounce.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match *timer { Some(handle) => { [INFO] [stdout] 32 | handle.clear(); [INFO] [stdout] 33 | *timer = None; [INFO] [stdout] 34 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/filters/throttle.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(handle) = *t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/filters/throttle.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match *t { Some(handle) => { [INFO] [stdout] 45 | handle.clear(); [INFO] [stdout] 46 | *t = None; [INFO] [stdout] 47 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils/is.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ref IS_IOS: bool = if let Some(Ok(user_agent)) = [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 6 | | use_window().navigator().map(|n| n.user_agent()) [INFO] [stdout] | |_________-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/utils/is.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | } 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] 5 ~ pub static ref IS_IOS: bool = match use_window().navigator().map(|n| n.user_agent()) [INFO] [stdout] 6 ~ { Some(Ok(user_agent)) => { [INFO] [stdout] 7 | user_agent.contains("iPhone") || user_agent.contains("iPad") || user_agent.contains("iPod") [INFO] [stdout] 8 ~ } _ => { [INFO] [stdout] 9 | false [INFO] [stdout] 10~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok(mut ios_workaround) = IOS_WORKAROUND.write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match IOS_WORKAROUND.write() { Ok(mut ios_workaround) => { [INFO] [stdout] 118 | if !*ios_workaround { [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] 133 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(body) = document().body() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 120 ~ match document().body() { Some(body) => { [INFO] [stdout] 121 | let children = body.children(); [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] 131 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(el) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 156 ~ match target.get_untracked() { Some(el) => { [INFO] [stdout] 157 | if el == event_target(&event) || event.composed_path().includes(el.as_ref(), 0) [INFO] [stdout] ... [INFO] [stdout] 174 | handler(event.into()); [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(el) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match target.get_untracked() { Some(el) => { [INFO] [stdout] 201 | should_listen [INFO] [stdout] 202 | .set(!event.composed_path().includes(&el, 0) && !should_ignore(&event)); [INFO] [stdout] 203 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | ... if let Some(el) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match target.get_untracked() { Some(el) => { [INFO] [stdout] 220 | if let Some(active_element) = document().active_element() { [INFO] [stdout] ... [INFO] [stdout] 228 | } [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | ... if let Some(active_element) = document().active_element() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 228 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 220 ~ match document().active_element() { Some(active_element) => { [INFO] [stdout] 221 | if active_element.tag_name() == "IFRAME" [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(f) = remove_blur_listener { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/on_click_outside.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match remove_blur_listener { Some(f) => { [INFO] [stdout] 243 | f(); [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 210 | / impl_cmp_reactively!( [INFO] [stdout] 211 | | /// `[screen size]` > `key` [INFO] [stdout] 212 | | gt, "min", > [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | / impl_cmp_reactively!( [INFO] [stdout] 215 | | /// `[screen size]` >= `key` [INFO] [stdout] 216 | | ge, "min", = [INFO] [stdout] 217 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | / impl_cmp_reactively!( [INFO] [stdout] 219 | | /// `[screen size]` < `key` [INFO] [stdout] 220 | | lt, "max", < [INFO] [stdout] 221 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [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/use_breakpoints.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | if let Some(value) = self.breakpoints.get(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [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/use_breakpoints.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | / impl_cmp_reactively!( [INFO] [stdout] 223 | | /// `[screen size]` <= `key` [INFO] [stdout] 224 | | le, "max", = [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_cmp_reactively` (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/use_breakpoints.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(min) = self.breakpoints.get(&min_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/use_breakpoints.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.breakpoints.get(&min_key) { Some(min) => { [INFO] [stdout] 234 | if let Some(max) = self.breakpoints.get(&max_key) { [INFO] [stdout] ... [INFO] [stdout] 238 | } [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | self.not_found_signal(min_key) [INFO] [stdout] 241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(max) = self.breakpoints.get(&max_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/use_breakpoints.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match self.breakpoints.get(&max_key) { Some(max) => { [INFO] [stdout] 235 | use_media_query(Self::between_media_query(min, max)) [INFO] [stdout] 236 ~ } _ => { [INFO] [stdout] 237 | self.not_found_signal(max_key) [INFO] [stdout] 238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | if let Some(min) = self.breakpoints.get(&min_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/use_breakpoints.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } 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] 246 ~ match self.breakpoints.get(&min_key) { Some(min) => { [INFO] [stdout] 247 | if let Some(max) = self.breakpoints.get(&max_key) { [INFO] [stdout] ... [INFO] [stdout] 251 | } [INFO] [stdout] 252 ~ } _ => { [INFO] [stdout] 253 | self.not_found(min_key) [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_breakpoints.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(max) = self.breakpoints.get(&max_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/use_breakpoints.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } 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] 247 ~ match self.breakpoints.get(&max_key) { Some(max) => { [INFO] [stdout] 248 | Self::match_(&Self::between_media_query(min, max)) [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | self.not_found(max_key) [INFO] [stdout] 251 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (for<'a> Fn(&'a T)) + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | impl Fn(&T) + Clone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_broadcast_channel.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | name: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 77 | impl Fn(&T) + Clone + use, [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | impl Fn() + Clone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_broadcast_channel.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | name: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 78 | impl Fn() + Clone + use, [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(channel) = channel.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ match channel.get_untracked() { Some(channel) => { [INFO] [stdout] 100 | match C::encode(data) { [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(channel) = channel_val { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 132 ~ match channel_val { Some(channel) => { [INFO] [stdout] 133 | let _ = use_event_listener_with_options( [INFO] [stdout] ... [INFO] [stdout] 162 | let _ = use_event_listener(channel, leptos::ev::close, move |_| set_closed.set(true)); [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(data) = event.data().as_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_broadcast_channel.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match event.data().as_string() { Some(data) => { [INFO] [stdout] 138 | match C::decode(&data) { [INFO] [stdout] ... [INFO] [stdout] 145 | } [INFO] [stdout] 146 ~ } _ => { [INFO] [stdout] 147 | set_error.set(Some(UseBroadcastChannelError::ValueNotString)); [INFO] [stdout] 148 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_clipboard.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | if let Ok(text) = js_fut!(clipboard.read_text()).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_clipboard.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match js_fut!(clipboard.read_text()).await { Ok(text) => { [INFO] [stdout] 83 | set_text.set(text.as_string()); [INFO] [stdout] 84 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 255 | if let Some(el) = el { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 255 ~ match el { Some(el) => { [INFO] [stdout] 256 | let mut style: Option = None; [INFO] [stdout] ... [INFO] [stdout] 292 | } [INFO] [stdout] 293 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | if let Ok(styl) = document().create_element("style") { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:266:21 [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] 258 ~ match document().create_element("style") { Ok(styl) => { [INFO] [stdout] 259 | if let Some(head) = document().head() { [INFO] [stdout] ... [INFO] [stdout] 265 | } [INFO] [stdout] 266 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | if let Some(head) = document().head() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 259 ~ match document().head() { Some(head) => { [INFO] [stdout] 260 | let styl: web_sys::HtmlStyleElement = styl.unchecked_into(); [INFO] [stdout] ... [INFO] [stdout] 264 | style = Some(styl); [INFO] [stdout] 265 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(style) = style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match style { Some(style) => { [INFO] [stdout] 283 | if let Some(head) = document().head() { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(head) = document().head() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_color_mode.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 283 ~ match document().head() { Some(head) => { [INFO] [stdout] 284 | // Calling getComputedStyle forces the browser to redraw [INFO] [stdout] ... [INFO] [stdout] 289 | let _ = head.remove_child(&style); [INFO] [stdout] 290 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_cookie.rs:601:24 [INFO] [stdout] | [INFO] [stdout] 601 | if let Some(timeout) = timeout.lock().unwrap().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/use_cookie.rs:603:21 [INFO] [stdout] | [INFO] [stdout] 603 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 601 ~ match timeout.lock().unwrap().take() { Some(timeout) => { [INFO] [stdout] 602 | timeout.clear(); [INFO] [stdout] 603 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_cookie.rs:717:8 [INFO] [stdout] | [INFO] [stdout] 717 | if let Some(new_jar) = load_and_parse_cookie_jar(ssr_cookies_header_getter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_cookie.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 735 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 717 ~ match load_and_parse_cookie_jar(ssr_cookies_header_getter) { Some(new_jar) => { [INFO] [stdout] 718 | *jar = new_jar; [INFO] [stdout] ... [INFO] [stdout] 734 | } [INFO] [stdout] 735 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(el) = el_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match el_signal.get_untracked() { Some(el) => { [INFO] [stdout] 118 | if let Ok(Some(style)) = window().get_computed_style(&el) { [INFO] [stdout] ... [INFO] [stdout] 126 | set_variable.update(|var| *var = initial_value); [INFO] [stdout] 127 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok(value) = style.get_property_value(&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/use_css_var.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match style.get_property_value(&key) { Ok(value) => { [INFO] [stdout] 120 | set_variable.update(|var| *var = value.trim().to_string()); [INFO] [stdout] 121 | return; [INFO] [stdout] 122 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some(el) = el_signal.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_css_var.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 159 ~ match el_signal.get() { Some(el) => { [INFO] [stdout] 160 | let el = el.unchecked_into::(); [INFO] [stdout] 161 | let style = el.style(); [INFO] [stdout] 162 | let _ = style.set_property(&prop.get_untracked(), val); [INFO] [stdout] 163 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_cycle_list.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(initial_value) = initial_value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_cycle_list.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | } 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] 76 ~ match initial_value { Some(initial_value) => { [INFO] [stdout] 77 | initial_value [INFO] [stdout] 78 ~ } _ => { [INFO] [stdout] 79 | MaybeRwSignal::from(first.expect("The provided list shouldn't be empty")) [INFO] [stdout] 80 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_draggable.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let dragging_handle = if let Some(handle) = 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/use_draggable.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | } 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] 81 ~ let dragging_handle = match handle { Some(handle) => { [INFO] [stdout] 82 | handle.into_element_maybe_signal() [INFO] [stdout] 83 ~ } _ => { [INFO] [stdout] 84 | target.clone() [INFO] [stdout] 85 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_draggable.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | if let Some(target) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_draggable.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match target.get_untracked() { Some(target) => { [INFO] [stdout] 113 | let target: web_sys::Element = target.unchecked_into(); [INFO] [stdout] ... [INFO] [stdout] 141 | handle_event(event); [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_drop_zone.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(data_transfer) = event.data_transfer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_drop_zone.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 86 ~ match event.data_transfer() { Some(data_transfer) => { [INFO] [stdout] 87 | let files: Vec<_> = data_transfer [INFO] [stdout] ... [INFO] [stdout] 95 | set_files.update(move |f| *f = files); [INFO] [stdout] 96 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_bounding.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(el) = el { [INFO] [stdout] | ^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_bounding.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | } else if reset { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ match el { Some(el) => { [INFO] [stdout] 99 | let rect = el.get_bounding_client_rect(); [INFO] [stdout] ... [INFO] [stdout] 108 | set_y.set(rect.y()); [INFO] [stdout] 109 ~ } _ => if reset { [INFO] [stdout] 110 | set_height.set(0.0); [INFO] [stdout] ... [INFO] [stdout] 117 | set_y.set(0.0); [INFO] [stdout] 118 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(target) = target.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match target.get_untracked() { Some(target) => { [INFO] [stdout] 83 | target [INFO] [stdout] ... [INFO] [stdout] 86 | .unwrap_or(false) [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | false [INFO] [stdout] 89 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | if let Some(target) = target.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ match target.get() { Some(target) => { [INFO] [stdout] 112 | if let Ok(Some(styles)) = window().get_computed_style(&target) { [INFO] [stdout] ... [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | ... if let Ok(Some(styles)) = window().get_computed_style(&target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_size.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 112 ~ match window().get_computed_style(&target) { Ok(Some(styles)) => { [INFO] [stdout] 113 | set_height.set( [INFO] [stdout] ... [INFO] [stdout] 124 | ); [INFO] [stdout] 125 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_element_visibility.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(entry) = entries.into_iter().find(|entry| { [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 74 | || let rect = entry.bounding_client_rect(); [INFO] [stdout] 75 | || rect.width() > 0.0 || rect.height() > 0.0 [INFO] [stdout] 76 | || }) { [INFO] [stdout] | ||__________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_element_visibility.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match entries.into_iter().find(|entry| { [INFO] [stdout] 74 | let rect = entry.bounding_client_rect(); [INFO] [stdout] 75 | rect.width() > 0.0 || rect.height() > 0.0 [INFO] [stdout] 76 ~ }) { Some(entry) => { [INFO] [stdout] 77 | set_visible.set(entry.is_intersecting()); [INFO] [stdout] 78 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_listener.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(element) = prev_element.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/use_event_listener.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 154 ~ match prev_element.take() { Some(element) => { [INFO] [stdout] 155 | cleanup_fn(&element); [INFO] [stdout] 156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn, impl Fn() + Clone + 'static> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:113:69 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 113 | ) -> UseEventSourceReturn> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn, impl Fn() + Clone + 'static> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_event_source.rs:126:69 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_event_source.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 126 | ) -> UseEventSourceReturn> [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(event_source) = event_source.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ match event_source.get_untracked() { Some(event_source) => { [INFO] [stdout] 167 | event_source.close(); [INFO] [stdout] ... [INFO] [stdout] 170 | explicitly_closed.store(true, std::sync::atomic::Ordering::Relaxed); [INFO] [stdout] 171 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | ... if let Some(init) = init.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:231:37 [INFO] [stdout] | [INFO] [stdout] 231 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 229 ~ match init.get_value() { Some(init) => { [INFO] [stdout] 230 | init(); [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(init) = init.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_event_source.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 282 ~ match init.get_value() { Some(init) => { [INFO] [stdout] 283 | init(); [INFO] [stdout] 284 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(head) = document().head() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match document().head() { Some(head) => { [INFO] [stdout] 83 | if let Ok(links) = head.query_selector_all(&link_selector) { [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | if let Ok(links) = head.query_selector_all(&link_selector) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_favicon.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match head.query_selector_all(&link_selector) { Ok(links) => { [INFO] [stdout] 84 | let href = format!("{base_url}{icon}"); [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | if let Some(navigator) = navigator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 81 ~ match navigator { Some(navigator) => { [INFO] [stdout] 82 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] ... [INFO] [stdout] 99 | } [INFO] [stdout] 100 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match navigator.geolocation() { Ok(geolocation) => { [INFO] [stdout] 83 | let update_position = [INFO] [stdout] ... [INFO] [stdout] 98 | on_error.forget(); [INFO] [stdout] 99 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(navigator) = navigator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 113 ~ match navigator { Some(navigator) => { [INFO] [stdout] 114 | if let Some(handle) = *watch_handle.lock().unwrap() { [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] 119 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(handle) = *watch_handle.lock().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ match *watch_handle.lock().unwrap() { Some(handle) => { [INFO] [stdout] 115 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] 116 | geolocation.clear_watch(handle); [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | if let Ok(geolocation) = navigator.geolocation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_geolocation.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match navigator.geolocation() { Ok(geolocation) => { [INFO] [stdout] 116 | geolocation.clear_watch(handle); [INFO] [stdout] 117 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_idle.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(timer) = timer.replace( [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | set_timeout_with_handle(move || set_idle.set(true), Duration::from_millis(timeout)) [INFO] [stdout] | | ----------------------------------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 112 | | .ok(), [INFO] [stdout] 113 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_idle.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match timer.replace( [INFO] [stdout] 111 | set_timeout_with_handle(move || set_idle.set(true), Duration::from_millis(timeout)) [INFO] [stdout] 112 | .ok(), [INFO] [stdout] 113 ~ ) { Some(timer) => { [INFO] [stdout] 114 | timer.clear(); [INFO] [stdout] 115 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | if let Some(observed_element) = observed_element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ match observed_element { Some(observed_element) => { [INFO] [stdout] 140 | let scroll_height = observed_element.scroll_height(); [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(check_and_load) = check_and_load.try_get_value().flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_infinite_scroll.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match check_and_load.try_get_value().flatten() { Some(check_and_load) => { [INFO] [stdout] 174 | check_and_load(); [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_intersection_observer.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(o) = observer.lock().unwrap().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/use_intersection_observer.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 127 ~ match observer.lock().unwrap().take() { Some(o) => { [INFO] [stdout] 128 | o.disconnect(); [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_interval_fn.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(handle) = Cell::take(&timer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_interval_fn.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match Cell::take(&timer) { Some(handle) => { [INFO] [stdout] 76 | handle.clear(); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:793:20 [INFO] [stdout] | [INFO] [stdout] 793 | if let Ok(result) = number_format [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 794 | || .format() [INFO] [stdout] 795 | || .call1(&number_format, &js_sys::Number::from(number.get()).into()) [INFO] [stdout] | ||______________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |______________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | } 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] 793 ~ match number_format [INFO] [stdout] 794 | .format() [INFO] [stdout] 795 | .call1(&number_format, &js_sys::Number::from(number.get()).into()) [INFO] [stdout] 796 ~ { Ok(result) => { [INFO] [stdout] 797 | result.as_string().unwrap_or_default() [INFO] [stdout] 798 ~ } _ => { [INFO] [stdout] 799 | "".to_string() [INFO] [stdout] 800 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:876:24 [INFO] [stdout] | [INFO] [stdout] 876 | if let Ok(result) = function.call2( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 877 | || &number_format, [INFO] [stdout] 878 | || &js_sys::Number::from(start.get()).into(), [INFO] [stdout] 879 | || &js_sys::Number::from(end.get()).into(), [INFO] [stdout] 880 | || ) { [INFO] [stdout] | ||_____________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_intl_number_format.rs:882:21 [INFO] [stdout] | [INFO] [stdout] 882 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 876 ~ match function.call2( [INFO] [stdout] 877 | &number_format, [INFO] [stdout] 878 | &js_sys::Number::from(start.get()).into(), [INFO] [stdout] 879 | &js_sys::Number::from(end.get()).into(), [INFO] [stdout] 880 ~ ) { Ok(result) => { [INFO] [stdout] 881 | return result.as_string().unwrap_or_default(); [INFO] [stdout] 882 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(remove_listener) = remove_listener.take().as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 58 ~ match remove_listener.take().as_ref() { Some(remove_listener) => { [INFO] [stdout] 59 | remove_listener(); [INFO] [stdout] 60 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(media_query) = media_query.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_media_query.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 74 ~ match media_query.as_ref() { Some(media_query) => { [INFO] [stdout] 75 | set_matches.set(media_query.matches()); [INFO] [stdout] ... [INFO] [stdout] 83 | )))); [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | set_matches.set(false); [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_mutation_observer.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(o) = observer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_mutation_observer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 114 ~ match observer.as_ref() { Some(o) => { [INFO] [stdout] 115 | o.disconnect(); [INFO] [stdout] 116 | *observer = None; [INFO] [stdout] 117 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_permission.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(permission_status) = permission_status.borrow().as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_permission.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 43 ~ match permission_status.borrow().as_ref() { Some(permission_status) => { [INFO] [stdout] 44 | set_state.set(PermissionState::from(permission_status.state())); [INFO] [stdout] 45 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_permission.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | if let Ok(status) = query_permission(permission_name).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_permission.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | } 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] 53 ~ match query_permission(permission_name).await { Ok(status) => { [INFO] [stdout] 54 | let _ = use_event_listener(status.clone(), leptos::ev::change, { [INFO] [stdout] ... [INFO] [stdout] 59 | on_change(); [INFO] [stdout] 60 ~ } _ => { [INFO] [stdout] 61 | set_state.set(PermissionState::Prompt); [INFO] [stdout] 62 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_resize_observer.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(o) = observer.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^--------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_resize_observer.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match observer.as_ref() { Some(o) => { [INFO] [stdout] 116 | o.disconnect(); [INFO] [stdout] 117 | *observer = None; [INFO] [stdout] 118 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(element) = element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match element { Some(element) => { [INFO] [stdout] 238 | let scroll_options = web_sys::ScrollToOptions::new(); [INFO] [stdout] ... [INFO] [stdout] 248 | element.scroll_to_with_scroll_to_options(&scroll_options); [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(style) = style { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 291 ~ match style { Some(style) => { [INFO] [stdout] 292 | let display = style [INFO] [stdout] ... [INFO] [stdout] 354 | set_internal_y.set(scroll_top); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:428:16 [INFO] [stdout] | [INFO] [stdout] 428 | if let Some(el) = signal.try_get_untracked().flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_scroll.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 428 ~ match signal.try_get_untracked().flatten() { Some(el) => { [INFO] [stdout] 429 | set_arrived_state(el); [INFO] [stdout] 430 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(sw) = registration.installing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match registration.installing() { Some(sw) => { [INFO] [stdout] 110 | sw.set_onstatechange(Some(fetch_registration.as_ref().unchecked_ref())); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | if let Err(err) = sw.post_message(&JsValue::from_str(&options.skip_waiting_message)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 157 ~ match sw.post_message(&JsValue::from_str(&options.skip_waiting_message)) { Err(err) => { [INFO] [stdout] 158 | warn!("Could not send message to active SW: Error: {err:?}"); [INFO] [stdout] 159 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | if let Some(window) = use_window().deref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 196 ~ match use_window().deref() { Some(window) => { [INFO] [stdout] 197 | if let Err(err) = window.location().reload() { [INFO] [stdout] ... [INFO] [stdout] 201 | } [INFO] [stdout] 202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | if let Err(err) = window.location().reload() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match window.location().reload() { Err(err) => { [INFO] [stdout] 198 | warn!( [INFO] [stdout] 199 | "Detected a ServiceWorkerController change but the page reload failed! Error: {err:?}" [INFO] [stdout] 200 | ); [INFO] [stdout] 201 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:273:16 [INFO] [stdout] | [INFO] [stdout] 273 | if let Some(navigator) = use_window().navigator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 273 ~ match use_window().navigator() { Some(navigator) => { [INFO] [stdout] 274 | js_fut!(navigator.service_worker().register(script_url.as_str())) [INFO] [stdout] ... [INFO] [stdout] 278 | .map_err(SendWrapper::new) [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | Err(SendWrapper::new(JsValue::from_str("no navigator"))) [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(navigator) = use_window().navigator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_service_worker.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | } 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] 290 ~ match use_window().navigator() { Some(navigator) => { [INFO] [stdout] 291 | js_fut!(navigator.service_worker().get_registration()) [INFO] [stdout] ... [INFO] [stdout] 295 | .map_err(SendWrapper::new) [INFO] [stdout] 296 ~ } _ => { [INFO] [stdout] 297 | Err(SendWrapper::new(JsValue::from_str("no navigator"))) [INFO] [stdout] 298 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | if let Ok(Some(style)) = window().get_computed_style(textarea) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 144 ~ match window().get_computed_style(textarea) { Ok(Some(style)) => { [INFO] [stdout] 145 | (parse_num( [INFO] [stdout] ... [INFO] [stdout] 153 | )) as i32 [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | 0 [INFO] [stdout] 156 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some(style_target) = style_target.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_textarea_autosize.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match style_target.get() { Some(style_target) => { [INFO] [stdout] 164 | // If style target is provided update its height [INFO] [stdout] ... [INFO] [stdout] 172 | .ok(); [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | // else update textarea's height by updating height variable [INFO] [stdout] 175 | height = format!("{}px", textarea_scroll_height.get_untracked()); [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_timeout_fn.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(timer) = *timer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_timeout_fn.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match *timer { Some(timer) => { [INFO] [stdout] 65 | timer.clear(); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 234 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 235 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (for<'a> Fn(&'a Tx)) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | impl Fn(&Tx) + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 236 | impl Fn(&Tx) + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 260 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn()) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | impl Fn() + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 261 | impl Fn() + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (for<'a> Fn(&'a Tx)) + Clone + std::marker::Send + std::marker::Sync + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/use_websocket.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | impl Fn(&Tx) + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/use_websocket.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | url: &str, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 262 | impl Fn(&Tx) + Clone + Send + Sync + 'static + use, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | ... if let Some(connect) = connect_ref.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 321 ~ match connect_ref.get_value() { Some(connect) => { [INFO] [stdout] 322 | connect(); [INFO] [stdout] 323 | reconnect_times_ref.update_value(|current| *current += 1); [INFO] [stdout] 324 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | if let Some(web_socket) = ws_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 546 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 544 ~ match ws_signal.get_untracked() { Some(web_socket) => { [INFO] [stdout] 545 | let _ = web_socket.send_with_str(data); [INFO] [stdout] 546 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:554:16 [INFO] [stdout] | [INFO] [stdout] 554 | if let Some(web_socket) = ws_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:556:13 [INFO] [stdout] | [INFO] [stdout] 556 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 554 ~ match ws_signal.get_untracked() { Some(web_socket) => { [INFO] [stdout] 555 | let _ = web_socket.send_with_u8_array(data); [INFO] [stdout] 556 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 581 | if let Some(connect) = connect_ref.get_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 581 ~ match connect_ref.get_value() { Some(connect) => { [INFO] [stdout] 582 | connect(); [INFO] [stdout] 583 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:592:16 [INFO] [stdout] | [INFO] [stdout] 592 | if let Some(web_socket) = ws_signal.get_untracked() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/use_websocket.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 592 ~ match ws_signal.get_untracked() { Some(web_socket) => { [INFO] [stdout] 593 | let _ = web_socket.close(); [INFO] [stdout] 594 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.67s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling leptos-use v0.14.0-beta4 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/use_cookie.rs:220:86 [INFO] [stdout] | [INFO] [stdout] 220 | use_broadcast_channel::, OptionCodec>(&format!( [INFO] [stdout] | _____________- ^ [INFO] [stdout] | |______________________________________________________________________________________| [INFO] [stdout] 221 | || "leptos-use:cookies:{cookie_name}" [INFO] [stdout] 222 | || )); [INFO] [stdout] | || ^-- temporary value is freed at the end of this statement [INFO] [stdout] | ||_____________|| [INFO] [stdout] | |______________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/use_cookie.rs:220:86 [INFO] [stdout] | [INFO] [stdout] 220 | use_broadcast_channel::, OptionCodec>(&format!( [INFO] [stdout] | _____________- ^ [INFO] [stdout] | |______________________________________________________________________________________| [INFO] [stdout] 221 | || "leptos-use:cookies:{cookie_name}" [INFO] [stdout] 222 | || )); [INFO] [stdout] | || ^-- temporary value is freed at the end of this statement [INFO] [stdout] | ||_____________|| [INFO] [stdout] | |______________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-use` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-use` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "707a542711f29e429fc091b6dd60c4726b802af878f3b738f4a2fcfbeb9e67c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707a542711f29e429fc091b6dd60c4726b802af878f3b738f4a2fcfbeb9e67c1", kill_on_drop: false }` [INFO] [stdout] 707a542711f29e429fc091b6dd60c4726b802af878f3b738f4a2fcfbeb9e67c1