[INFO] cloning repository https://github.com/AlphaModder/glauber-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlphaModder/glauber-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaModder%2Fglauber-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaModder%2Fglauber-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fb12768f18d59330343d5f3233c1836e505265f [INFO] checking AlphaModder/glauber-rs/1fb12768f18d59330343d5f3233c1836e505265f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaModder%2Fglauber-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlphaModder/glauber-rs 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 git repo https://github.com/AlphaModder/glauber-rs [INFO] finished tweaking git repo https://github.com/AlphaModder/glauber-rs [INFO] tweaked toml for git repo https://github.com/AlphaModder/glauber-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AlphaModder/glauber-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34cbd665ca70f7315050f0ce8178c9ec7a7313bd9abed45ad66cc78a1d127b54 [INFO] running `Command { std: "docker" "start" "-a" "34cbd665ca70f7315050f0ce8178c9ec7a7313bd9abed45ad66cc78a1d127b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34cbd665ca70f7315050f0ce8178c9ec7a7313bd9abed45ad66cc78a1d127b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cbd665ca70f7315050f0ce8178c9ec7a7313bd9abed45ad66cc78a1d127b54", kill_on_drop: false }` [INFO] [stdout] 34cbd665ca70f7315050f0ce8178c9ec7a7313bd9abed45ad66cc78a1d127b54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dfa49f0d4f5ffffee96b16c628f792a39dc8db29bcd202c74945e19aa464299 [INFO] running `Command { std: "docker" "start" "-a" "5dfa49f0d4f5ffffee96b16c628f792a39dc8db29bcd202c74945e19aa464299", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.43 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling imgui-gfx-renderer v0.1.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling imgui-sys v0.1.0 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking gfx_core v0.9.1 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking gfx v0.18.1 [INFO] [stderr] Checking gfx_device_gl v0.16.1 [INFO] [stderr] Checking imgui v0.1.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.2 [INFO] [stderr] Checking glutin v0.21.0 [INFO] [stderr] Checking imgui-winit-support v0.1.0 [INFO] [stderr] Checking gfx_window_glutin v0.31.0 [INFO] [stderr] Checking glauber v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cells.rs:76:60 [INFO] [stdout] | [INFO] [stdout] 76 | let x = self.cell.0 + if x > 0 { x as u16 } else { (size.0 - ((-x as u16) % size.0)) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - let x = self.cell.0 + if x > 0 { x as u16 } else { (size.0 - ((-x as u16) % size.0)) }; [INFO] [stdout] 76 + let x = self.cell.0 + if x > 0 { x as u16 } else { size.0 - ((-x as u16) % size.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cells.rs:77:60 [INFO] [stdout] | [INFO] [stdout] 77 | let y = self.cell.1 + if y > 0 { y as u16 } else { (size.1 - ((-y as u16) % size.1)) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let y = self.cell.1 + if y > 0 { y as u16 } else { (size.1 - ((-y as u16) % size.1)) }; [INFO] [stdout] 77 + let y = self.cell.1 + if y > 0 { y as u16 } else { size.1 - ((-y as u16) % size.1) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cells.rs:76:60 [INFO] [stdout] | [INFO] [stdout] 76 | let x = self.cell.0 + if x > 0 { x as u16 } else { (size.0 - ((-x as u16) % size.0)) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - let x = self.cell.0 + if x > 0 { x as u16 } else { (size.0 - ((-x as u16) % size.0)) }; [INFO] [stdout] 76 + let x = self.cell.0 + if x > 0 { x as u16 } else { size.0 - ((-x as u16) % size.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/cells.rs:77:60 [INFO] [stdout] | [INFO] [stdout] 77 | let y = self.cell.1 + if y > 0 { y as u16 } else { (size.1 - ((-y as u16) % size.1)) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let y = self.cell.1 + if y > 0 { y as u16 } else { (size.1 - ((-y as u16) % size.1)) }; [INFO] [stdout] 77 + let y = self.cell.1 + if y > 0 { y as u16 } else { size.1 - ((-y as u16) % size.1) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_size` is never read [INFO] [stdout] --> src/support.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct System { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub font_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_interval` is never read [INFO] [stdout] --> src/controls.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Controls { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | pub paused: bool, [INFO] [stdout] 12 | pub update_interval: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `temperature` and `set_temperature` are never used [INFO] [stdout] --> src/simulation.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait ErasedSimulation { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 40 | fn temperature(&self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn set_temperature(&mut self, temp: f32) { [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/support.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 127 | builder: glutin::WindowBuilder, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let (windowed_context, device, mut factory, main_color, main_depth) = [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] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let renderer = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | main_color: Some(main_color), [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/canvas.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 87 | let texture = factory.create_texture( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let srv = factory.view_texture_as_shader_resource::(&texture, (0, 0), fmt::Swizzle::new()) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let sampler = factory.create_sampler( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | SimTexture { size, texture, id: textures.insert((srv, sampler)) } [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/worker.rs:60:87 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn start_simulation(self, simulation: Simulation) -> Simulating { [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] 59 | self.to_sim.send(UIMessage::Simulate(simulation)).expect("Simulation thread terminated unexpectedly!"); [INFO] [stdout] 60 | Simulating { to_sim: self.to_sim, from_sim: self.from_sim, paused_simulation: 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/worker.rs:64:87 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn pause_simulation(self, simulation: Simulation) -> Simulating { [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] 64 | Simulating { to_sim: self.to_sim, from_sim: self.from_sim, paused_simulation: Some(simulation) } [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/worker.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn stop_simulation(self) -> (NotSimulating, SimulationResult) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let res = match self.paused_simulation { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Some(sim) => (sim, 0), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | (NotSimulating { to_sim: self.to_sim, from_sim: self.from_sim }, res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glauber` (bin "glauber") due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `font_size` is never read [INFO] [stdout] --> src/support.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct System { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub font_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_interval` is never read [INFO] [stdout] --> src/controls.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Controls { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | pub paused: bool, [INFO] [stdout] 12 | pub update_interval: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `temperature` and `set_temperature` are never used [INFO] [stdout] --> src/simulation.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait ErasedSimulation { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 40 | fn temperature(&self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn set_temperature(&mut self, temp: f32) { [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/support.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 127 | builder: glutin::WindowBuilder, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let (windowed_context, device, mut factory, main_color, main_depth) = [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] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let renderer = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | main_color: Some(main_color), [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/canvas.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 87 | let texture = factory.create_texture( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let srv = factory.view_texture_as_shader_resource::(&texture, (0, 0), fmt::Swizzle::new()) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let sampler = factory.create_sampler( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | SimTexture { size, texture, id: textures.insert((srv, sampler)) } [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/worker.rs:60:87 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn start_simulation(self, simulation: Simulation) -> Simulating { [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] 59 | self.to_sim.send(UIMessage::Simulate(simulation)).expect("Simulation thread terminated unexpectedly!"); [INFO] [stdout] 60 | Simulating { to_sim: self.to_sim, from_sim: self.from_sim, paused_simulation: 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/worker.rs:64:87 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn pause_simulation(self, simulation: Simulation) -> Simulating { [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] 64 | Simulating { to_sim: self.to_sim, from_sim: self.from_sim, paused_simulation: Some(simulation) } [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/worker.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn stop_simulation(self) -> (NotSimulating, SimulationResult) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let res = match self.paused_simulation { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Some(sim) => (sim, 0), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | (NotSimulating { to_sim: self.to_sim, from_sim: self.from_sim }, res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glauber` (bin "glauber" test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5dfa49f0d4f5ffffee96b16c628f792a39dc8db29bcd202c74945e19aa464299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dfa49f0d4f5ffffee96b16c628f792a39dc8db29bcd202c74945e19aa464299", kill_on_drop: false }` [INFO] [stdout] 5dfa49f0d4f5ffffee96b16c628f792a39dc8db29bcd202c74945e19aa464299