[INFO] cloning repository https://github.com/Dolzhansky/VoxelEngine-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dolzhansky/VoxelEngine-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolzhansky%2FVoxelEngine-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDolzhansky%2FVoxelEngine-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7b9d1aa42b2c21cf2746ac362fc0c6c24ec88b3 [INFO] checking Dolzhansky/VoxelEngine-Rust/f7b9d1aa42b2c21cf2746ac362fc0c6c24ec88b3 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%2FDolzhansky%2FVoxelEngine-Rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dolzhansky/VoxelEngine-Rust 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/Dolzhansky/VoxelEngine-Rust [INFO] finished tweaking git repo https://github.com/Dolzhansky/VoxelEngine-Rust [INFO] tweaked toml for git repo https://github.com/Dolzhansky/VoxelEngine-Rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dolzhansky/VoxelEngine-Rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2f109ec50115ad0a9e0d2a8e180c8f91c2ac522136e732c335b4f8411ec7c549 [INFO] running `Command { std: "docker" "start" "-a" "2f109ec50115ad0a9e0d2a8e180c8f91c2ac522136e732c335b4f8411ec7c549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f109ec50115ad0a9e0d2a8e180c8f91c2ac522136e732c335b4f8411ec7c549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f109ec50115ad0a9e0d2a8e180c8f91c2ac522136e732c335b4f8411ec7c549", kill_on_drop: false }` [INFO] [stdout] 2f109ec50115ad0a9e0d2a8e180c8f91c2ac522136e732c335b4f8411ec7c549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] df18c7b01bc0dc2b1acd48ebfb8596a26dc86a2fc76cbbdda5864424fd91e725 [INFO] running `Command { std: "docker" "start" "-a" "df18c7b01bc0dc2b1acd48ebfb8596a26dc86a2fc76cbbdda5864424fd91e725", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking glfw v0.55.0 [INFO] [stderr] Checking voxel_engine_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/client_side/window/window_manager.rs:1:84 [INFO] [stdout] | [INFO] [stdout] 1 | use glfw::{fail_on_errors, ffi::glfwTerminate, Context, GlfwReceiver, WindowEvent, WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/client_side/window/window_manager.rs:1:84 [INFO] [stdout] | [INFO] [stdout] 1 | use glfw::{fail_on_errors, ffi::glfwTerminate, Context, GlfwReceiver, WindowEvent, WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENGINE_VERSION_IN_DEV` is never used [INFO] [stdout] --> src/utils/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ENGINE_VERSION_IN_DEV: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `receiver` is never read [INFO] [stdout] --> src/client_side/window/window_manager.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WindowManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub receiver: GlfwReceiver<(f64, WindowEvent)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, `set_should_close`, `swap_buffers`, `set_title`, and `get_size` are never used [INFO] [stdout] --> src/client_side/window/window_manager.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl WindowManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn width(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn height(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_should_close(&mut self, should_close: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn swap_buffers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_title(&mut self, title: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_size(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/client_side/camera/camera.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `rotate`, `get_projection`, `get_view`, and `update_vectors` are never used [INFO] [stdout] --> src/client_side/camera/camera.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(position: Vec3, fov: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn rotate(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_projection(&self, width: f32, height: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_view(&self) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn update_vectors(&mut self) { [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/client_side/window/window_manager.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 15 | let mut glfw = glfw [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let (mut window, events) = glfw [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] ... [INFO] [stdout] 63 | Ok(Self { glfw, window, receiver: events }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `voxel_engine_rust` (bin "voxel_engine_rust" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `ENGINE_VERSION_IN_DEV` is never used [INFO] [stdout] --> src/utils/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ENGINE_VERSION_IN_DEV: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `receiver` is never read [INFO] [stdout] --> src/client_side/window/window_manager.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WindowManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub receiver: GlfwReceiver<(f64, WindowEvent)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, `set_should_close`, `swap_buffers`, `set_title`, and `get_size` are never used [INFO] [stdout] --> src/client_side/window/window_manager.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl WindowManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn width(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn height(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_should_close(&mut self, should_close: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn swap_buffers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_title(&mut self, title: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_size(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/client_side/camera/camera.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `rotate`, `get_projection`, `get_view`, and `update_vectors` are never used [INFO] [stdout] --> src/client_side/camera/camera.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(position: Vec3, fov: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn rotate(&mut self, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_projection(&self, width: f32, height: f32) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_view(&self) -> Mat4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn update_vectors(&mut self) { [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/client_side/window/window_manager.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 15 | let mut glfw = glfw [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let (mut window, events) = glfw [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] ... [INFO] [stdout] 63 | Ok(Self { glfw, window, receiver: events }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `voxel_engine_rust` (bin "voxel_engine_rust") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "df18c7b01bc0dc2b1acd48ebfb8596a26dc86a2fc76cbbdda5864424fd91e725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df18c7b01bc0dc2b1acd48ebfb8596a26dc86a2fc76cbbdda5864424fd91e725", kill_on_drop: false }` [INFO] [stdout] df18c7b01bc0dc2b1acd48ebfb8596a26dc86a2fc76cbbdda5864424fd91e725