[INFO] cloning repository https://github.com/PKoshkin/voxel_craft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PKoshkin/voxel_craft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKoshkin%2Fvoxel_craft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKoshkin%2Fvoxel_craft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2a2d6e84dd634e5608ac9ca2b0a5c8bdcd5ab96 [INFO] checking PKoshkin/voxel_craft/a2a2d6e84dd634e5608ac9ca2b0a5c8bdcd5ab96 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%2FPKoshkin%2Fvoxel_craft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PKoshkin/voxel_craft 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/PKoshkin/voxel_craft [INFO] finished tweaking git repo https://github.com/PKoshkin/voxel_craft [INFO] tweaked toml for git repo https://github.com/PKoshkin/voxel_craft written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PKoshkin/voxel_craft 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 84722c67252a6d05e1fcb1f6dd51880233b08fd83ad5f513c6807375369dfa7b [INFO] running `Command { std: "docker" "start" "-a" "84722c67252a6d05e1fcb1f6dd51880233b08fd83ad5f513c6807375369dfa7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84722c67252a6d05e1fcb1f6dd51880233b08fd83ad5f513c6807375369dfa7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84722c67252a6d05e1fcb1f6dd51880233b08fd83ad5f513c6807375369dfa7b", kill_on_drop: false }` [INFO] [stdout] 84722c67252a6d05e1fcb1f6dd51880233b08fd83ad5f513c6807375369dfa7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a45d160ffda4166ef82d6f8431e9f099343132fbc3f784b0b34ad2c03b5c8a65 [INFO] running `Command { std: "docker" "start" "-a" "a45d160ffda4166ef82d6f8431e9f099343132fbc3f784b0b34ad2c03b5c8a65", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling cc v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling khronos_api v2.1.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking rustc-demangle v0.1.7 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking smallvec v0.6.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Compiling x11-dl v2.17.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling glium v0.20.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking wayland-window v0.13.2 [INFO] [stderr] Checking winit v0.10.0 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking voxel_craft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game_application/marching_cubes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/game_application/marching_cubes.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use game_application::cgmath::{Vector3, Point3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_application::geometry::normalize` [INFO] [stdout] --> src/game_application/marching_cubes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use game_application::geometry::normalize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/game_application/vertex.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | implement_vertex!(Vertex, position, normal, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game_application/marching_cubes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/game_application/marching_cubes.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use game_application::cgmath::{Vector3, Point3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_application::geometry::normalize` [INFO] [stdout] --> src/game_application/marching_cubes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use game_application::geometry::normalize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/game_application/vertex.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | implement_vertex!(Vertex, position, normal, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_application/view.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_application/model.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_position` [INFO] [stdout] --> src/game_application/map.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn need_to_redraw(&self, camera_position: Point3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangles` [INFO] [stdout] --> src/game_application/mesh.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | for (point, triangles) in self.point_neighbors.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_points_program` is never used [INFO] [stdout] --> src/game_application/view.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn init_points_program(display: &glium::Display, directory: &str) -> glium::Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_event` is never used [INFO] [stdout] --> src/game_application/view.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'time> View<'time> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_event` is never used [INFO] [stdout] --> src/game_application/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uniforms` is never read [INFO] [stdout] --> src/game_application/draw_params.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub shape: Vec, [INFO] [stdout] 10 | pub uniforms: UniformsStruct [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/game_application/view.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 24 | let mut vertex_shader_file = File::open(directory.to_string() + "/src/shaders/textured_triangles.vert").unwrap(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | //let mut fragment_shader_file = File::open(directory.to_string() + "/src/shaders/textured_triangles.frag").unwrap(); [INFO] [stdout] 26 | let mut fragment_shader_file = File::open(directory.to_string() + "/src/shaders/green_color.frag").unwrap(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | glium::Program::from_source(display, &vertex_shader_src, &fragment_shader_src, None).unwrap() [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/game_application/view.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 36 | let mut vertex_shader_file = File::open(directory.to_string() + "/src/shaders/points.vert").unwrap(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let mut fragment_shader_file = File::open(directory.to_string() + "/src/shaders/points.frag").unwrap(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | glium::Program::from_source(display, &vertex_shader_src, &fragment_shader_src, None).unwrap() [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 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_application/view.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `voxel_craft` (bin "voxel_craft" test) due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_application/model.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_position` [INFO] [stdout] --> src/game_application/map.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn need_to_redraw(&self, camera_position: Point3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangles` [INFO] [stdout] --> src/game_application/mesh.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | for (point, triangles) in self.point_neighbors.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_points_program` is never used [INFO] [stdout] --> src/game_application/view.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn init_points_program(display: &glium::Display, directory: &str) -> glium::Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_event` is never used [INFO] [stdout] --> src/game_application/view.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'time> View<'time> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_event` is never used [INFO] [stdout] --> src/game_application/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn handle_event(&mut self, event: &glutin::WindowEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uniforms` is never read [INFO] [stdout] --> src/game_application/draw_params.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub shape: Vec, [INFO] [stdout] 10 | pub uniforms: UniformsStruct [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/game_application/view.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 24 | let mut vertex_shader_file = File::open(directory.to_string() + "/src/shaders/textured_triangles.vert").unwrap(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | //let mut fragment_shader_file = File::open(directory.to_string() + "/src/shaders/textured_triangles.frag").unwrap(); [INFO] [stdout] 26 | let mut fragment_shader_file = File::open(directory.to_string() + "/src/shaders/green_color.frag").unwrap(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | glium::Program::from_source(display, &vertex_shader_src, &fragment_shader_src, None).unwrap() [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/game_application/view.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 36 | let mut vertex_shader_file = File::open(directory.to_string() + "/src/shaders/points.vert").unwrap(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let mut fragment_shader_file = File::open(directory.to_string() + "/src/shaders/points.frag").unwrap(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | glium::Program::from_source(display, &vertex_shader_src, &fragment_shader_src, None).unwrap() [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 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `voxel_craft` (bin "voxel_craft") due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a45d160ffda4166ef82d6f8431e9f099343132fbc3f784b0b34ad2c03b5c8a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45d160ffda4166ef82d6f8431e9f099343132fbc3f784b0b34ad2c03b5c8a65", kill_on_drop: false }` [INFO] [stdout] a45d160ffda4166ef82d6f8431e9f099343132fbc3f784b0b34ad2c03b5c8a65