[INFO] fetching crate dioxus-use-cursor 0.2.1... [INFO] checking dioxus-use-cursor-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dioxus-use-cursor 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dioxus-use-cursor 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dioxus-use-cursor 0.2.1 [INFO] finished tweaking crates.io crate dioxus-use-cursor 0.2.1 [INFO] tweaked toml for crates.io crate dioxus-use-cursor 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 166 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding dioxus v0.3.2 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-core v0.3.3 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-core-macro v0.3.0 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-hooks v0.3.1 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-hot-reload v0.1.1 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-html v0.3.1 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-rsx v0.0.2 (latest: v0.5.6) [INFO] [stderr] Adding dioxus-rsx v0.0.3 (latest: v0.5.6) [INFO] [stderr] Adding gloo-events v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding inotify v0.9.6 (latest: v0.11.0) [INFO] [stderr] Adding internment v0.7.5 (latest: v0.8.4) [INFO] [stderr] Adding interprocess v1.2.1 (latest: v2.2.1) [INFO] [stderr] Adding intmap v0.7.1 (latest: v2.0.0) [INFO] [stderr] Adding keyboard-types v0.6.2 (latest: v0.7.0) [INFO] [stderr] Adding mio v0.8.11 (latest: v1.0.2) [INFO] [stderr] Adding notify v5.2.0 (latest: v6.1.1) [INFO] [stderr] Adding ordered-float v2.10.1 (latest: v4.2.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.45.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a5196578ae3989dfc2198121a1eca64378cd750d7491723f3411179dc4c1f68 [INFO] running `Command { std: "docker" "start" "-a" "3a5196578ae3989dfc2198121a1eca64378cd750d7491723f3411179dc4c1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5196578ae3989dfc2198121a1eca64378cd750d7491723f3411179dc4c1f68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5196578ae3989dfc2198121a1eca64378cd750d7491723f3411179dc4c1f68", kill_on_drop: false }` [INFO] [stdout] 3a5196578ae3989dfc2198121a1eca64378cd750d7491723f3411179dc4c1f68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db3d237b669b4b6f682fe30e8d7d8c05da3382ba60705101a0a83967798f87ca [INFO] running `Command { std: "docker" "start" "-a" "db3d237b669b4b6f682fe30e8d7d8c05da3382ba60705101a0a83967798f87ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking smallbox v0.8.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling execute-command-tokens v0.1.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bumpslab v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling interprocess v1.2.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking spinning v0.1.0 [INFO] [stderr] Checking intmap v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking to_method v1.1.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking generic-array v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling internment v0.7.5 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling execute-command-macro-impl v0.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking execute-command-macro v0.1.9 [INFO] [stderr] Checking execute v0.2.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking dioxus-core v0.3.3 [INFO] [stderr] Checking keyboard-types v0.6.2 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking dioxus-rsx v0.0.3 [INFO] [stderr] Checking dioxus-hooks v0.3.1 [INFO] [stderr] Checking dioxus-html v0.3.1 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Compiling dioxus-rsx v0.0.2 [INFO] [stderr] Compiling dioxus-core-macro v0.3.0 [INFO] [stderr] Checking dioxus-hot-reload v0.1.1 [INFO] [stderr] Checking dioxus v0.3.2 [INFO] [stderr] Checking dioxus-use-cursor v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/hooks/use_hover/mod.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseHover::new(cx, todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hook` [INFO] [stdout] --> src/hooks/use_hover/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseHover::new(cx, todo!()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/hooks/use_hover/mod.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseHover::new(cx, todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_cursor/mod.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseCursor::new(cx); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | cx.use_hook(|| hook) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_cursor/mod.rs:64:52 [INFO] [stdout] | [INFO] [stdout] 63 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | EventListener::new(&window, "pointermove", move |e| { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 65 | | let mut setter = setter.borrow_mut(); [INFO] [stdout] 66 | | let e: &PointerEvent = e.unchecked_ref(); [INFO] [stdout] 67 | | setter.pointer = PointerData { [INFO] [stdout] ... | [INFO] [stdout] 91 | | regenerate(); [INFO] [stdout] 92 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_hover/mod.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseHover::new(cx, todo!()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | cx.use_hook(|| hook) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_hover/mod.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 59 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | EventListener::new(target, "pointerover", move |_| { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 61 | | let mut setter = setter.borrow_mut(); [INFO] [stdout] 62 | | setter.hover = true; [INFO] [stdout] 63 | | regenerate() [INFO] [stdout] 64 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_hover/mod.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 72 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | EventListener::new(target, "pointerout", move |_| { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 74 | | let mut setter = setter.borrow_mut(); [INFO] [stdout] 75 | | setter.hover = false; [INFO] [stdout] 76 | | regenerate() [INFO] [stdout] 77 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hook` [INFO] [stdout] --> src/hooks/use_hover/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseHover::new(cx, todo!()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_cursor/mod.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseCursor::new(cx); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | cx.use_hook(|| hook) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_cursor/mod.rs:64:52 [INFO] [stdout] | [INFO] [stdout] 63 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | EventListener::new(&window, "pointermove", move |e| { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 65 | | let mut setter = setter.borrow_mut(); [INFO] [stdout] 66 | | let e: &PointerEvent = e.unchecked_ref(); [INFO] [stdout] 67 | | setter.pointer = PointerData { [INFO] [stdout] ... | [INFO] [stdout] 91 | | regenerate(); [INFO] [stdout] 92 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_hover/mod.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 41 | let hook = UseHover::new(cx, todo!()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | cx.use_hook(|| hook) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_hover/mod.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 59 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | EventListener::new(target, "pointerover", move |_| { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 61 | | let mut setter = setter.borrow_mut(); [INFO] [stdout] 62 | | setter.hover = true; [INFO] [stdout] 63 | | regenerate() [INFO] [stdout] 64 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hooks/use_hover/mod.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 72 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | EventListener::new(target, "pointerout", move |_| { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 74 | | let mut setter = setter.borrow_mut(); [INFO] [stdout] 75 | | setter.hover = false; [INFO] [stdout] 76 | | regenerate() [INFO] [stdout] 77 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-use-cursor` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dioxus-use-cursor` (lib) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db3d237b669b4b6f682fe30e8d7d8c05da3382ba60705101a0a83967798f87ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3d237b669b4b6f682fe30e8d7d8c05da3382ba60705101a0a83967798f87ca", kill_on_drop: false }` [INFO] [stdout] db3d237b669b4b6f682fe30e8d7d8c05da3382ba60705101a0a83967798f87ca