[INFO] fetching crate floating-ui-dom 0.0.9... [INFO] checking floating-ui-dom-0.0.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate floating-ui-dom 0.0.9 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate floating-ui-dom 0.0.9 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 floating-ui-dom 0.0.9 [INFO] finished tweaking crates.io crate floating-ui-dom 0.0.9 [INFO] tweaked toml for crates.io crate floating-ui-dom 0.0.9 written to /workspace/builds/worker-5-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 25 packages to latest compatible versions [INFO] [stderr] Adding floating-ui-core v0.0.9 (latest: v0.1.1) [INFO] [stderr] Adding floating-ui-utils v0.0.9 (latest: v0.1.1) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 85e01a169fd78f245e3cfab62f9edfe4838c026c246f77594d7807f7aae22520 [INFO] running `Command { std: "docker" "start" "-a" "85e01a169fd78f245e3cfab62f9edfe4838c026c246f77594d7807f7aae22520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e01a169fd78f245e3cfab62f9edfe4838c026c246f77594d7807f7aae22520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e01a169fd78f245e3cfab62f9edfe4838c026c246f77594d7807f7aae22520", kill_on_drop: false }` [INFO] [stdout] 85e01a169fd78f245e3cfab62f9edfe4838c026c246f77594d7807f7aae22520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7214f4a410d2ea21111e8322925c8d2a1b9c713a5539abb173eab3fdf225852a [INFO] running `Command { std: "docker" "start" "-a" "7214f4a410d2ea21111e8322925c8d2a1b9c713a5539abb173eab3fdf225852a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking wasm-bindgen v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking floating-ui-utils v0.0.9 [INFO] [stderr] Checking floating-ui-core v0.0.9 [INFO] [stderr] Checking floating-ui-dom v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::IntersectionObserverInit::root_margin`: Use `set_root_margin()` instead. [INFO] [stdout] --> src/auto_update.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | .root_margin(&root_margin) [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::IntersectionObserverInit::threshold`: Use `set_threshold()` instead. [INFO] [stdout] --> src/auto_update.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | .threshold(&JsValue::from_f64(threshold.clamp(0.0, 1.0))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::AddEventListenerOptions::passive`: Use `set_passive()` instead. [INFO] [stdout] --> src/auto_update.rs:267:48 [INFO] [stdout] | [INFO] [stdout] 267 | AddEventListenerOptions::new().passive(true), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::IntersectionObserverInit::root_margin`: Use `set_root_margin()` instead. [INFO] [stdout] --> src/auto_update.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | .root_margin(&root_margin) [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::IntersectionObserverInit::threshold`: Use `set_threshold()` instead. [INFO] [stdout] --> src/auto_update.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | .threshold(&JsValue::from_f64(threshold.clamp(0.0, 1.0))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::AddEventListenerOptions::passive`: Use `set_passive()` instead. [INFO] [stdout] --> src/auto_update.rs:267:48 [INFO] [stdout] | [INFO] [stdout] 267 | AddEventListenerOptions::new().passive(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/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 78 | reference: ElementOrVirtual, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | floating: &Element, [INFO] [stdout] 80 | config: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | ) -> ComputePositionReturn { [INFO] [stdout] 82 | let config = config.unwrap_or_default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | / CoreComputePositionConfig { [INFO] [stdout] 90 | | platform: &PLATFORM, [INFO] [stdout] 91 | | placement: config.placement, [INFO] [stdout] 92 | | strategy: config.strategy, [INFO] [stdout] 93 | | middleware: config.middleware, [INFO] [stdout] 94 | | }, [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/auto_update.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn observe_move(element: Element, on_move: Rc) -> Box { [INFO] [stdout] | ---------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let io: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let window = get_window(Some(&element)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let root = get_document_element(Some((&element).into())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let observe_closure: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let cleanup_io = io.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let cleanup_timeout_id = timeout_id.clone(); [INFO] [stdout] 43 | let cleanup_window = window.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let cleanup_observe_closure = observe_closure.clone(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cleanup = move || { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let cleanup_rc = Rc::new(cleanup); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | type RefreshFn = Box; [INFO] [stdout] 58 | let refresh_closure: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let refresh_closure_clone = refresh_closure.clone(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let refresh_cleanup = cleanup_rc.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Box::new(move || { [INFO] [stdout] | ______________^ [INFO] [stdout] 150 | | cleanup_rc(); [INFO] [stdout] 151 | | }) [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/auto_update.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 86 | let timeout_refresh = refresh_closure.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let timeout_closure: Rc> = Rc::new(Closure::new(move || { [INFO] [stdout] 88 | / timeout_refresh [INFO] [stdout] 89 | | .borrow() [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/auto_update.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 219 | reference: ElementOrVirtual, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | floating: &Element, [INFO] [stdout] 221 | update: Rc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let reference_element = reference.clone().resolve(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | [INFO] [stdout] 232 | let owned_reference = match reference.clone() { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | ElementOrVirtual::Element(e) => OwnedElementOrVirtual::Element(e.clone()), [INFO] [stdout] 234 | ElementOrVirtual::VirtualElement(ve) => OwnedElementOrVirtual::VirtualElement(ve.clone()), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let ancestors = match ancestor_scoll || ancestor_resize { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | true => { [INFO] [stdout] 239 | let mut ancestors = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let update_closure_update = update.clone(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let update_closure: Closure = Closure::new(move || { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | let cleanup_observe_move = [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let resize_observer: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let frame_loop_closure = Rc::new(RefCell::new(None)); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | let frame_loop_closure_clone = frame_loop_closure.clone(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | let frame_loop_closure_update = update.clone(); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Box::new(move || { [INFO] [stdout] | ______________^ [INFO] [stdout] 389 | | for ancestor in &ancestors { [INFO] [stdout] 390 | | let event_target: &EventTarget = match ancestor { [INFO] [stdout] 391 | | OverflowAncestor::Element(element) => element, [INFO] [stdout] ... | [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | }) [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/auto_update.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 308 | .is_some_and(|reference_element| first_entry.target() == *reference_element) [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/platform/get_offset_parent.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 36 | polyfill: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ) -> OwnedElementOrWindow { [INFO] [stdout] 38 | let window = get_window(Some(element)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut offset_parent = get_true_offset_parent(element, &polyfill); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | / offset_parent [INFO] [stdout] 82 | | .map(OwnedElementOrWindow::Element) [INFO] [stdout] 83 | | .or(get_containing_block(element) [INFO] [stdout] 84 | | .map(|element| OwnedElementOrWindow::Element(element.into()))) [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/platform/get_offset_parent.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 36 | polyfill: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ) -> OwnedElementOrWindow { [INFO] [stdout] 38 | let window = get_window(Some(element)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut offset_parent = get_true_offset_parent(element, &polyfill); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | .unwrap_or(OwnedElementOrWindow::Window(window)) [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/platform/get_offset_parent.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|element| OwnedElementOrWindow::Element(element.into()))) [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/utils/is_top_layer.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | .any(|selector| floating.matches(selector).unwrap_or(false)) [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 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `floating-ui-dom` (lib) due to 10 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/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 78 | reference: ElementOrVirtual, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | floating: &Element, [INFO] [stdout] 80 | config: Option, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | ) -> ComputePositionReturn { [INFO] [stdout] 82 | let config = config.unwrap_or_default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | / CoreComputePositionConfig { [INFO] [stdout] 90 | | platform: &PLATFORM, [INFO] [stdout] 91 | | placement: config.placement, [INFO] [stdout] 92 | | strategy: config.strategy, [INFO] [stdout] 93 | | middleware: config.middleware, [INFO] [stdout] 94 | | }, [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/auto_update.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn observe_move(element: Element, on_move: Rc) -> Box { [INFO] [stdout] | ---------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let io: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let window = get_window(Some(&element)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let root = get_document_element(Some((&element).into())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let observe_closure: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let cleanup_io = io.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let cleanup_timeout_id = timeout_id.clone(); [INFO] [stdout] 43 | let cleanup_window = window.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let cleanup_observe_closure = observe_closure.clone(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cleanup = move || { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let cleanup_rc = Rc::new(cleanup); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | type RefreshFn = Box; [INFO] [stdout] 58 | let refresh_closure: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let refresh_closure_clone = refresh_closure.clone(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let refresh_cleanup = cleanup_rc.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Box::new(move || { [INFO] [stdout] | ______________^ [INFO] [stdout] 150 | | cleanup_rc(); [INFO] [stdout] 151 | | }) [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/auto_update.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 86 | let timeout_refresh = refresh_closure.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let timeout_closure: Rc> = Rc::new(Closure::new(move || { [INFO] [stdout] 88 | / timeout_refresh [INFO] [stdout] 89 | | .borrow() [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/auto_update.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 219 | reference: ElementOrVirtual, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | floating: &Element, [INFO] [stdout] 221 | update: Rc, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let reference_element = reference.clone().resolve(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | [INFO] [stdout] 232 | let owned_reference = match reference.clone() { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | ElementOrVirtual::Element(e) => OwnedElementOrVirtual::Element(e.clone()), [INFO] [stdout] 234 | ElementOrVirtual::VirtualElement(ve) => OwnedElementOrVirtual::VirtualElement(ve.clone()), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let ancestors = match ancestor_scoll || ancestor_resize { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | true => { [INFO] [stdout] 239 | let mut ancestors = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let update_closure_update = update.clone(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let update_closure: Closure = Closure::new(move || { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | let cleanup_observe_move = [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let resize_observer: Rc>> = Rc::new(RefCell::new(None)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let frame_loop_closure = Rc::new(RefCell::new(None)); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | let frame_loop_closure_clone = frame_loop_closure.clone(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | let frame_loop_closure_update = update.clone(); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Box::new(move || { [INFO] [stdout] | ______________^ [INFO] [stdout] 389 | | for ancestor in &ancestors { [INFO] [stdout] 390 | | let event_target: &EventTarget = match ancestor { [INFO] [stdout] 391 | | OverflowAncestor::Element(element) => element, [INFO] [stdout] ... | [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | }) [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/auto_update.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 308 | .is_some_and(|reference_element| first_entry.target() == *reference_element) [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/platform/get_offset_parent.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 36 | polyfill: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ) -> OwnedElementOrWindow { [INFO] [stdout] 38 | let window = get_window(Some(element)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut offset_parent = get_true_offset_parent(element, &polyfill); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | / offset_parent [INFO] [stdout] 82 | | .map(OwnedElementOrWindow::Element) [INFO] [stdout] 83 | | .or(get_containing_block(element) [INFO] [stdout] 84 | | .map(|element| OwnedElementOrWindow::Element(element.into()))) [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/platform/get_offset_parent.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 36 | polyfill: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | ) -> OwnedElementOrWindow { [INFO] [stdout] 38 | let window = get_window(Some(element)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut offset_parent = get_true_offset_parent(element, &polyfill); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | .unwrap_or(OwnedElementOrWindow::Window(window)) [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/platform/get_offset_parent.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|element| OwnedElementOrWindow::Element(element.into()))) [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/utils/is_top_layer.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | .any(|selector| floating.matches(selector).unwrap_or(false)) [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 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `floating-ui-dom` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7214f4a410d2ea21111e8322925c8d2a1b9c713a5539abb173eab3fdf225852a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7214f4a410d2ea21111e8322925c8d2a1b9c713a5539abb173eab3fdf225852a", kill_on_drop: false }` [INFO] [stdout] 7214f4a410d2ea21111e8322925c8d2a1b9c713a5539abb173eab3fdf225852a