[INFO] fetching crate wand 0.1.3... [INFO] checking wand-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wand 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate wand 0.1.3 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 wand 0.1.3 [INFO] finished tweaking crates.io crate wand 0.1.3 [INFO] tweaked toml for crates.io crate wand 0.1.3 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding approx v0.3.2 (latest: v0.5.1) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.1.0) [INFO] [stderr] Adding matrixmultiply v0.2.4 (latest: v0.3.9) [INFO] [stderr] Adding nalgebra v0.18.1 (latest: v0.33.0) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding wasm-bindgen-futures v0.3.27 (latest: v0.4.43) [INFO] [stderr] Adding wasm-bindgen-test v0.2.50 (latest: v0.3.43) [INFO] [stderr] Adding wasm-bindgen-test-macro v0.2.50 (latest: v0.3.43) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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] dd5cb173a311d67765b59ac8fbdbc9b6aa721fc14c0954dea11ad6cccbd1c801 [INFO] running `Command { std: "docker" "start" "-a" "dd5cb173a311d67765b59ac8fbdbc9b6aa721fc14c0954dea11ad6cccbd1c801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5cb173a311d67765b59ac8fbdbc9b6aa721fc14c0954dea11ad6cccbd1c801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5cb173a311d67765b59ac8fbdbc9b6aa721fc14c0954dea11ad6cccbd1c801", kill_on_drop: false }` [INFO] [stdout] dd5cb173a311d67765b59ac8fbdbc9b6aa721fc14c0954dea11ad6cccbd1c801 [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] 9e290f31e28075b12a970caea278add717ef6c105af6269a8f5c8a28126a677c [INFO] running `Command { std: "docker" "start" "-a" "9e290f31e28075b12a970caea278add717ef6c105af6269a8f5c8a28126a677c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking dragon v0.1.3 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking wand v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/utils.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::Event` [INFO] [stdout] --> src/span/text_span.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::component::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/input.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/utils.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::Event` [INFO] [stdout] --> src/span/text_span.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::component::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/input.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/scene.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn on_mouse_move(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/scene.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn on_mouse_move(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ev` [INFO] [stdout] --> src/section.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | fn consume_event(&mut self, ev: &mut Event) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `document` is never read [INFO] [stdout] --> src/core.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Application { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 88 | document: web_sys::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_window`, `request_animation_frame`, and `run` are never used [INFO] [stdout] --> src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Application { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn get_window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/span/text_span.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TextSpan { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/span/world_span/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct WorldSpan { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_outline` is never used [INFO] [stdout] --> src/span/world_span/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl WorldSpan { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn draw_outline(&self, ctx: &web_sys::CanvasRenderingContext2d) { [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/core.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn new_section_with_container(&self, name: &str, width: f32, height: f32, container: Container) -> SectionRef { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | Section::new_with_container(self.state.clone(), name, width, height, container) [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/scene.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn default(state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | container: Container::new(0.02, 0.02, 4., 4., 8., 8., Scrollable::None), [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/section.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(state: State, name: &str, width: f32, height: f32, padding: f32) -> SectionRef { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 36 | | name: name.to_string(), [INFO] [stdout] 37 | | container: Container::new(padding, padding, 2., 2., 4., 4., Scrollable::None), [INFO] [stdout] 38 | | x: 0., [INFO] [stdout] ... | [INFO] [stdout] 45 | | state, [INFO] [stdout] 46 | | })) [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/section.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_with_container(state: State, name: &str, width: f32, height: f32, container: Container) -> SectionRef { [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] 50 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 51 | | name: name.to_string(), [INFO] [stdout] 52 | | container, [INFO] [stdout] 53 | | x: 0., [INFO] [stdout] ... | [INFO] [stdout] 60 | | state [INFO] [stdout] 61 | | })) [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: unused variable: `x` [INFO] [stdout] --> src/scene.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn on_mouse_move(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/scene.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn on_mouse_move(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wand` (lib test) due to 5 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `ev` [INFO] [stdout] --> src/section.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | fn consume_event(&mut self, ev: &mut Event) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `document` is never read [INFO] [stdout] --> src/core.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Application { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 88 | document: web_sys::Document, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_window`, `request_animation_frame`, and `run` are never used [INFO] [stdout] --> src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Application { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn get_window() -> web_sys::Window { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn request_animation_frame(f: &Closure) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/span/text_span.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TextSpan { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/span/world_span/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct WorldSpan { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_outline` is never used [INFO] [stdout] --> src/span/world_span/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl WorldSpan { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn draw_outline(&self, ctx: &web_sys::CanvasRenderingContext2d) { [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/core.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn new_section_with_container(&self, name: &str, width: f32, height: f32, container: Container) -> SectionRef { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | Section::new_with_container(self.state.clone(), name, width, height, container) [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/scene.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn default(state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | container: Container::new(0.02, 0.02, 4., 4., 8., 8., Scrollable::None), [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/section.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(state: State, name: &str, width: f32, height: f32, padding: f32) -> SectionRef { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 36 | | name: name.to_string(), [INFO] [stdout] 37 | | container: Container::new(padding, padding, 2., 2., 4., 4., Scrollable::None), [INFO] [stdout] 38 | | x: 0., [INFO] [stdout] ... | [INFO] [stdout] 45 | | state, [INFO] [stdout] 46 | | })) [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/section.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new_with_container(state: State, name: &str, width: f32, height: f32, container: Container) -> SectionRef { [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] 50 | Rc::new(RefCell::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 51 | | name: name.to_string(), [INFO] [stdout] 52 | | container, [INFO] [stdout] 53 | | x: 0., [INFO] [stdout] ... | [INFO] [stdout] 60 | | state [INFO] [stdout] 61 | | })) [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 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wand` (lib) due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e290f31e28075b12a970caea278add717ef6c105af6269a8f5c8a28126a677c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e290f31e28075b12a970caea278add717ef6c105af6269a8f5c8a28126a677c", kill_on_drop: false }` [INFO] [stdout] 9e290f31e28075b12a970caea278add717ef6c105af6269a8f5c8a28126a677c