[INFO] fetching crate yewflow 0.2.0... [INFO] checking yewflow-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate yewflow 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate yewflow 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 yewflow 0.2.0 [INFO] finished tweaking crates.io crate yewflow 0.2.0 [INFO] tweaked toml for crates.io crate yewflow 0.2.0 written to /workspace/builds/worker-7-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 135 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gloo v0.8.1 (latest: v0.11.0) [INFO] [stderr] Adding gloo v0.10.0 (latest: v0.11.0) [INFO] [stderr] Adding gloo-console v0.2.3 (latest: v0.3.0) [INFO] [stderr] Adding gloo-dialogs v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding gloo-events v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (latest: v0.3.0) [INFO] [stderr] Adding gloo-history v0.1.5 (latest: v0.2.2) [INFO] [stderr] Adding gloo-net v0.3.1 (latest: v0.6.0) [INFO] [stderr] Adding gloo-net v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding gloo-net v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding gloo-render v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding gloo-storage v0.2.2 (latest: v0.3.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (latest: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding gloo-worker v0.2.1 (latest: v0.5.0) [INFO] [stderr] Adding gloo-worker v0.4.0 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding implicit-clone v0.4.9 (latest: v0.5.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (latest: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4ac8f34e9f424d103030a6962cd35f0fe25cee8dee51863d61d1cfa047ff1f6e [INFO] running `Command { std: "docker" "start" "-a" "4ac8f34e9f424d103030a6962cd35f0fe25cee8dee51863d61d1cfa047ff1f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ac8f34e9f424d103030a6962cd35f0fe25cee8dee51863d61d1cfa047ff1f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac8f34e9f424d103030a6962cd35f0fe25cee8dee51863d61d1cfa047ff1f6e", kill_on_drop: false }` [INFO] [stdout] 4ac8f34e9f424d103030a6962cd35f0fe25cee8dee51863d61d1cfa047ff1f6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d25c21a4a646655776da1a75b2c3cb2be87b7d9a852020ceffcee1c652302c0e [INFO] running `Command { std: "docker" "start" "-a" "d25c21a4a646655776da1a75b2c3cb2be87b7d9a852020ceffcee1c652302c0e", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yew-hooks v0.3.2 [INFO] [stderr] Checking yewflow v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::MutationObserverInit::subtree`: Use `set_subtree()` instead. [INFO] [stdout] --> src/hooks/use_register_handles.rs:80:86 [INFO] [stdout] | [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MutationObserverInit::child_list`: Use `set_child_list()` instead. [INFO] [stdout] --> src/hooks/use_register_handles.rs:80:100 [INFO] [stdout] | [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MutationObserverInit::attributes`: Use `set_attributes()` instead. [INFO] [stdout] --> src/hooks/use_register_handles.rs:80:117 [INFO] [stdout] | [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MutationObserverInit::subtree`: Use `set_subtree()` instead. [INFO] [stdout] --> src/hooks/use_register_handles.rs:80:86 [INFO] [stdout] | [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MutationObserverInit::child_list`: Use `set_child_list()` instead. [INFO] [stdout] --> src/hooks/use_register_handles.rs:80:100 [INFO] [stdout] | [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MutationObserverInit::attributes`: Use `set_attributes()` instead. [INFO] [stdout] --> src/hooks/use_register_handles.rs:80:117 [INFO] [stdout] | [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [INFO] [stdout] | ^^^^^^^^^^ [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/panel.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Properties, PartialEq)] [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | #[prop_or(Callback::from(|props| html! { ..props /> }))] [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/panel.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Properties, PartialEq)] [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | #[prop_or(Callback::from(|props| html! { ..props /> }))] [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/panel.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let handle: Option = event_target.and_then(|t| t.dyn_into().ok()); [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [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/panel.rs:200:61 [INFO] [stdout] | [INFO] [stdout] 200 | (*preview_edge).clone().and_then(|preview_edge| e.target().and_then(|target| target.dyn_into().ok().map(|target: HtmlElement| { [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/panel.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 200 | (*preview_edge).clone().and_then(|preview_edge| e.target().and_then(|target| target.dyn_into().ok().map(|target: HtmlElement| { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/edge/edge_view_wrapper.rs:53:67 [INFO] [stdout] | [INFO] [stdout] 53 | let width = panel_ref.cast::().map(|element| element.get_bounding_client_rect().width()); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/edge/edge_view_wrapper.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | let width = panel_ref.cast::().map(|element| element.get_bounding_client_rect().width()); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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_register_handles.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 78 | let observing = observer.clone().and_then(|observer| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | node_ref.get().ok_or_else(|| "could not get the node".into()).and_then(|node| { [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_register_handles.rs:80:58 [INFO] [stdout] | [INFO] [stdout] 79 | node_ref.get().ok_or_else(|| "could not get the node".into()).and_then(|node| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [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/viewport/viewport_struct.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn center(&self, panel_ref: NodeRef, (nodes_width, nodes_height): (f64, f64)) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | panel_ref.cast::().map(|panel_ref| { [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/viewport/use_viewport.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 21 | let yew_flow_context = use_context::().expect("You must wrap the component in which you are calling use_viewport() in... [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let set_viewport = use_memo(yew_flow_context.clone(), |yew_flow_context| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let nodes = use_memo((*yew_flow_context.clone().panel_ref.clone()).clone(), |panel_ref| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let center = use_memo((yew_flow_context.clone().viewport.clone(), (*yew_flow_context.clone().panel_ref.clone()).clone(), nodes.clone(... [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | set_viewport: (*set_viewport).clone(), [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/viewport/use_viewport.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 21 | let yew_flow_context = use_context::().expect("You must wrap the component in which you are calling use_viewport() in... [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let set_viewport = use_memo(yew_flow_context.clone(), |yew_flow_context| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let nodes = use_memo((*yew_flow_context.clone().panel_ref.clone()).clone(), |panel_ref| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let center = use_memo((yew_flow_context.clone().viewport.clone(), (*yew_flow_context.clone().panel_ref.clone()).clone(), nodes.clone(... [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | center: (*center).clone(), [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/viewport/use_viewport.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 28 | let yew_flow_context = yew_flow_context.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Callback::from(move |new_viewport| yew_flow_context.viewport.set(new_viewport)) [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/viewport/use_viewport.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_node_elements(element: HtmlElement) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / element.children().dyn_into::().map(|children| { [INFO] [stdout] 37 | | let array = js_sys::Array::from(&children); [INFO] [stdout] 38 | | array.into_iter().flat_map(|child| { [INFO] [stdout] 39 | | child.dyn_into::().map(|child| { [INFO] [stdout] ... | [INFO] [stdout] 47 | | }).collect() [INFO] [stdout] 48 | | }).unwrap_or(vec![]) [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/viewport/use_viewport.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 36 | element.children().dyn_into::().map(|children| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let array = js_sys::Array::from(&children); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / array.into_iter().flat_map(|child| { [INFO] [stdout] 39 | | child.dyn_into::().map(|child| { [INFO] [stdout] 40 | | let class_names = child.get_class_names(); [INFO] [stdout] 41 | | if class_names.contains(&NODE_CLASS.to_string()) { [INFO] [stdout] ... | [INFO] [stdout] 46 | | }).unwrap_or(vec![]) [INFO] [stdout] 47 | | }).collect() [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/viewport/use_viewport.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 38 | array.into_iter().flat_map(|child| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | / child.dyn_into::().map(|child| { [INFO] [stdout] 40 | | let class_names = child.get_class_names(); [INFO] [stdout] 41 | | if class_names.contains(&NODE_CLASS.to_string()) { [INFO] [stdout] 42 | | vec![child] [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }).unwrap_or(vec![]) [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/viewport/use_viewport.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | ...d_then(|panel_ref| panel_ref.get().and_then(|panel_ref| panel_ref.dyn_into::().ok().map(get_node_elements))).unwrap_or(ve... [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/viewport/use_viewport.rs:51:85 [INFO] [stdout] | [INFO] [stdout] 51 | ...d_then(|panel_ref| panel_ref.dyn_into::().ok().map(get_node_elements))).unwrap_or(vec![]) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/viewport/use_viewport.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 57 | let viewport = viewport.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let panel_ref = panel_ref.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Callback::<(), ()>::from(move |_| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 86 | | if let Some(panel_ref) = panel_ref.clone() { viewport.set(viewport.center(panel_ref.clone(), (width, height))) } [INFO] [stdout] 87 | | }) [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 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yewflow` (lib test) due to 20 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/panel.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Properties, PartialEq)] [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | #[prop_or(Callback::from(|props| html! { ..props /> }))] [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/panel.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Properties, PartialEq)] [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | #[prop_or(Callback::from(|props| html! { ..props /> }))] [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/panel.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | let handle: Option = event_target.and_then(|t| t.dyn_into().ok()); [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [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/panel.rs:200:61 [INFO] [stdout] | [INFO] [stdout] 200 | (*preview_edge).clone().and_then(|preview_edge| e.target().and_then(|target| target.dyn_into().ok().map(|target: HtmlElement| { [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/panel.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 200 | (*preview_edge).clone().and_then(|preview_edge| e.target().and_then(|target| target.dyn_into().ok().map(|target: HtmlElement| { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/edge/edge_view_wrapper.rs:53:67 [INFO] [stdout] | [INFO] [stdout] 53 | let width = panel_ref.cast::().map(|element| element.get_bounding_client_rect().width()); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/edge/edge_view_wrapper.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | let width = panel_ref.cast::().map(|element| element.get_bounding_client_rect().width()); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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_register_handles.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 78 | let observing = observer.clone().and_then(|observer| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | node_ref.get().ok_or_else(|| "could not get the node".into()).and_then(|node| { [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_register_handles.rs:80:58 [INFO] [stdout] | [INFO] [stdout] 79 | node_ref.get().ok_or_else(|| "could not get the node".into()).and_then(|node| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | observer.observe_with_options(&node, MutationObserverInit::new().subtree(true).child_list(true).attributes(true)) [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/viewport/viewport_struct.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn center(&self, panel_ref: NodeRef, (nodes_width, nodes_height): (f64, f64)) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | panel_ref.cast::().map(|panel_ref| { [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/viewport/use_viewport.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 21 | let yew_flow_context = use_context::().expect("You must wrap the component in which you are calling use_viewport() in... [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let set_viewport = use_memo(yew_flow_context.clone(), |yew_flow_context| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let nodes = use_memo((*yew_flow_context.clone().panel_ref.clone()).clone(), |panel_ref| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let center = use_memo((yew_flow_context.clone().viewport.clone(), (*yew_flow_context.clone().panel_ref.clone()).clone(), nodes.clone(... [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | set_viewport: (*set_viewport).clone(), [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/viewport/use_viewport.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 21 | let yew_flow_context = use_context::().expect("You must wrap the component in which you are calling use_viewport() in... [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let set_viewport = use_memo(yew_flow_context.clone(), |yew_flow_context| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let nodes = use_memo((*yew_flow_context.clone().panel_ref.clone()).clone(), |panel_ref| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let center = use_memo((yew_flow_context.clone().viewport.clone(), (*yew_flow_context.clone().panel_ref.clone()).clone(), nodes.clone(... [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | center: (*center).clone(), [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/viewport/use_viewport.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 28 | let yew_flow_context = yew_flow_context.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Callback::from(move |new_viewport| yew_flow_context.viewport.set(new_viewport)) [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/viewport/use_viewport.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_node_elements(element: HtmlElement) -> Vec { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / element.children().dyn_into::().map(|children| { [INFO] [stdout] 37 | | let array = js_sys::Array::from(&children); [INFO] [stdout] 38 | | array.into_iter().flat_map(|child| { [INFO] [stdout] 39 | | child.dyn_into::().map(|child| { [INFO] [stdout] ... | [INFO] [stdout] 47 | | }).collect() [INFO] [stdout] 48 | | }).unwrap_or(vec![]) [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/viewport/use_viewport.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 36 | element.children().dyn_into::().map(|children| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let array = js_sys::Array::from(&children); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | / array.into_iter().flat_map(|child| { [INFO] [stdout] 39 | | child.dyn_into::().map(|child| { [INFO] [stdout] 40 | | let class_names = child.get_class_names(); [INFO] [stdout] 41 | | if class_names.contains(&NODE_CLASS.to_string()) { [INFO] [stdout] ... | [INFO] [stdout] 46 | | }).unwrap_or(vec![]) [INFO] [stdout] 47 | | }).collect() [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/viewport/use_viewport.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 38 | array.into_iter().flat_map(|child| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | / child.dyn_into::().map(|child| { [INFO] [stdout] 40 | | let class_names = child.get_class_names(); [INFO] [stdout] 41 | | if class_names.contains(&NODE_CLASS.to_string()) { [INFO] [stdout] 42 | | vec![child] [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | }).unwrap_or(vec![]) [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/viewport/use_viewport.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | ...d_then(|panel_ref| panel_ref.get().and_then(|panel_ref| panel_ref.dyn_into::().ok().map(get_node_elements))).unwrap_or(ve... [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/viewport/use_viewport.rs:51:85 [INFO] [stdout] | [INFO] [stdout] 51 | ...d_then(|panel_ref| panel_ref.dyn_into::().ok().map(get_node_elements))).unwrap_or(vec![]) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/viewport/use_viewport.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 57 | let viewport = viewport.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let panel_ref = panel_ref.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Callback::<(), ()>::from(move |_| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 86 | | if let Some(panel_ref) = panel_ref.clone() { viewport.set(viewport.center(panel_ref.clone(), (width, height))) } [INFO] [stdout] 87 | | }) [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 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yewflow` (lib) due to 20 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d25c21a4a646655776da1a75b2c3cb2be87b7d9a852020ceffcee1c652302c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25c21a4a646655776da1a75b2c3cb2be87b7d9a852020ceffcee1c652302c0e", kill_on_drop: false }` [INFO] [stdout] d25c21a4a646655776da1a75b2c3cb2be87b7d9a852020ceffcee1c652302c0e