[INFO] fetching crate dioxus-use-navigator 0.2.0... [INFO] checking dioxus-use-navigator-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dioxus-use-navigator 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dioxus-use-navigator 0.2.0 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-navigator 0.2.0 [INFO] finished tweaking crates.io crate dioxus-use-navigator 0.2.0 [INFO] tweaked toml for crates.io crate dioxus-use-navigator 0.2.0 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] 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] 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] 6d8027bdd893133312f4d76074617eeee4e9f85228da56eb60496d26fb1ea493 [INFO] running `Command { std: "docker" "start" "-a" "6d8027bdd893133312f4d76074617eeee4e9f85228da56eb60496d26fb1ea493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d8027bdd893133312f4d76074617eeee4e9f85228da56eb60496d26fb1ea493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8027bdd893133312f4d76074617eeee4e9f85228da56eb60496d26fb1ea493", kill_on_drop: false }` [INFO] [stdout] 6d8027bdd893133312f4d76074617eeee4e9f85228da56eb60496d26fb1ea493 [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] f22e5e8446f3d3bb4dc60d7e6d3db92170ab704d84c232f740f0ec98779be8fc [INFO] running `Command { std: "docker" "start" "-a" "f22e5e8446f3d3bb4dc60d7e6d3db92170ab704d84c232f740f0ec98779be8fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [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 ahash v0.8.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking smallbox v0.8.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling execute-command-tokens v0.1.7 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking bumpslab v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling interprocess v1.2.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking spinning v0.1.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking intmap v0.7.1 [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 notify v5.2.0 [INFO] [stderr] Checking internment v0.7.5 [INFO] [stderr] Checking generic-array v1.1.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 thiserror-impl v1.0.63 [INFO] [stderr] Compiling execute-command-macro-impl v0.1.10 [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] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking execute v0.2.13 [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] Checking wasm-bindgen v0.2.93 [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 serde v1.0.209 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking dioxus-core v0.3.3 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking keyboard-types v0.6.2 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking web-sys v0.3.70 [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] 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 gloo-events v0.1.2 [INFO] [stderr] Checking dioxus-use-navigator v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::{Borrow, BorrowMut}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/hooks/use_document/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(cx: &ScopeState) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/hooks/use_document/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(cx: &ScopeState) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regenerate` [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regenerate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut data = UseHtmlLanguageData { html }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut data = Rc::new(RefCell::new(data)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regenerate` [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let regenerate = cx.schedule_update(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regenerate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listen_html` is never read [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UseHtmlLanguage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | data: Rc>, [INFO] [stdout] 10 | listen_html: MutationObserver, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut data = UseHtmlLanguageData { html }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/builder.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 14 | let hook = UseDocument::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | 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] warning: variable does not need to be mutable [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut data = Rc::new(RefCell::new(data)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/builder.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 18 | let hook = UseTitle::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | 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/builder.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 22 | let hook = UseCharacterSet::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | 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/builder.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 26 | let hook = UseHtmlLanguage::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | 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] warning: field `listen_html` is never read [INFO] [stdout] --> src/hooks/use_html_lang/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UseHtmlLanguage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | data: Rc>, [INFO] [stdout] 10 | listen_html: MutationObserver, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_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/builder.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 14 | let hook = UseDocument::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | 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/builder.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 18 | let hook = UseTitle::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | 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/builder.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 22 | let hook = UseCharacterSet::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | 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/builder.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 26 | let hook = UseHtmlLanguage::new(cx).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | 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_document/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 14 | let document = window()?.document()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let data = Rc::new(RefCell::new(UseDocumentData { document: Some(document) })); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | Some(Self { data }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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_document/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 14 | let document = window()?.document()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let data = Rc::new(RefCell::new(UseDocumentData { document: Some(document) })); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | Some(Self { data }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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_html_lang/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 35 | let html = window()?.document()?.get_elements_by_tag_name("html").get_with_index(0)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut data = UseHtmlLanguageData { html }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | 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] 40 | let listen_html = Self::listen(&data.html); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut data = Rc::new(RefCell::new(data)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | // listen_html.observe() [INFO] [stdout] 43 | Some(Self { data, listen_html }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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_html_lang/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 35 | let html = window()?.document()?.get_elements_by_tag_name("html").get_with_index(0)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut data = UseHtmlLanguageData { html }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | 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] 40 | let listen_html = Self::listen(&data.html); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut data = Rc::new(RefCell::new(data)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | // listen_html.observe() [INFO] [stdout] 43 | Some(Self { data, listen_html }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-use-navigator` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dioxus-use-navigator` (lib) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f22e5e8446f3d3bb4dc60d7e6d3db92170ab704d84c232f740f0ec98779be8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22e5e8446f3d3bb4dc60d7e6d3db92170ab704d84c232f740f0ec98779be8fc", kill_on_drop: false }` [INFO] [stdout] f22e5e8446f3d3bb4dc60d7e6d3db92170ab704d84c232f740f0ec98779be8fc