[INFO] cloning repository https://github.com/Blatko1/wgpu-voxel-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blatko1/wgpu-voxel-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-voxel-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-voxel-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc88097332bc73450173d0150d64f78214c46ad0 [INFO] checking Blatko1/wgpu-voxel-engine/bc88097332bc73450173d0150d64f78214c46ad0 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%2FBlatko1%2Fwgpu-voxel-engine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Blatko1/wgpu-voxel-engine 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/Blatko1/wgpu-voxel-engine [INFO] finished tweaking git repo https://github.com/Blatko1/wgpu-voxel-engine [INFO] tweaked toml for git repo https://github.com/Blatko1/wgpu-voxel-engine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Blatko1/wgpu-voxel-engine 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] aa7ff772fc11c7c2adcd158b7aa34a686d5ec00d6fc3da75061b8fe298eb8a4c [INFO] running `Command { std: "docker" "start" "-a" "aa7ff772fc11c7c2adcd158b7aa34a686d5ec00d6fc3da75061b8fe298eb8a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa7ff772fc11c7c2adcd158b7aa34a686d5ec00d6fc3da75061b8fe298eb8a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7ff772fc11c7c2adcd158b7aa34a686d5ec00d6fc3da75061b8fe298eb8a4c", kill_on_drop: false }` [INFO] [stdout] aa7ff772fc11c7c2adcd158b7aa34a686d5ec00d6fc3da75061b8fe298eb8a4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a36d14adeccc01e30339df513e887d60713759153d96beb3b7d55e2be42fbb8f [INFO] running `Command { std: "docker" "start" "-a" "a36d14adeccc01e30339df513e887d60713759153d96beb3b7d55e2be42fbb8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wgpu-core v0.10.1 [INFO] [stderr] Checking gpu-alloc v0.5.0 [INFO] [stderr] Checking wgpu-types v0.10.0 [INFO] [stderr] Checking ash v0.33.2+1.2.186 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking gpu-descriptor v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking glow v0.11.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking twox-hash v1.6.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking simdeez v1.0.7 [INFO] [stderr] Checking nanorand v0.6.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking uvth v4.0.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking simdnoise v3.1.6 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking naga v0.6.1 [INFO] [stderr] Checking flume v0.10.9 [INFO] [stderr] Checking wgpu-subscriber v0.1.0 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking wgpu-hal v0.10.2 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking wgpu v0.10.1 [INFO] [stderr] Checking wgpu_glyph v0.14.1 [INFO] [stderr] Checking wgpu-voxel-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `to_chunk_coord` is never used [INFO] [stdout] --> src/coordinate.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coord3DI { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_chunk_coord(&self) -> ChunkCoord3D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_type` is never used [INFO] [stdout] --> src/cube.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn set_type(&mut self, cube_type: CubeType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIRT` is never constructed [INFO] [stdout] --> src/cube.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum CubeType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 18 | GRASS = 0, [INFO] [stdout] 19 | DIRT = 1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CubeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_2d` is never used [INFO] [stdout] --> src/perlin_noise.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn perlin_2d(pos: ChunkCoord3D) -> Vec { [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/main.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 60 | let event_loop = EventLoop::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let mut client = Client::new(&window); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | *control_flow = ControlFlow::Poll; [INFO] [stdout] 70 | | match event { [INFO] [stdout] 71 | | Event::WindowEvent { window_id, event } if window_id == window.id() => match event { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }) [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/texture.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 57 | let texture = graphics.device.create_texture(&wgpu::TextureDescriptor { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let view = texture.create_view(&wgpu::TextureViewDescriptor::default()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | [INFO] [stdout] 87 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | texture, [INFO] [stdout] 89 | | view, [INFO] [stdout] 90 | | mip_level_count, [INFO] [stdout] 91 | | }) [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/uniform.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 97 | let buffer = graphics [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let bind_group_layout = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let bind_group = graphics [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | buffer: Some(buffer), [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/uniform.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new(graphics: &Graphics, textures: Vec, sampler: wgpu::Sampler) -> Self { [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] 168 | let data = TextureArray { textures, sampler }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let bind_group_layout = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let bind_group = graphics [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | buffer: 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: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_chunk_coord` is never used [INFO] [stdout] --> src/coordinate.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coord3DI { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_chunk_coord(&self) -> ChunkCoord3D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_type` is never used [INFO] [stdout] --> src/cube.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn set_type(&mut self, cube_type: CubeType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIRT` is never constructed [INFO] [stdout] --> src/cube.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum CubeType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 18 | GRASS = 0, [INFO] [stdout] 19 | DIRT = 1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CubeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_2d` is never used [INFO] [stdout] --> src/perlin_noise.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn perlin_2d(pos: ChunkCoord3D) -> Vec { [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/main.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 60 | let event_loop = EventLoop::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let mut client = Client::new(&window); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | *control_flow = ControlFlow::Poll; [INFO] [stdout] 70 | | match event { [INFO] [stdout] 71 | | Event::WindowEvent { window_id, event } if window_id == window.id() => match event { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }) [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/texture.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 57 | let texture = graphics.device.create_texture(&wgpu::TextureDescriptor { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | let view = texture.create_view(&wgpu::TextureViewDescriptor::default()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | [INFO] [stdout] 87 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | texture, [INFO] [stdout] 89 | | view, [INFO] [stdout] 90 | | mip_level_count, [INFO] [stdout] 91 | | }) [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/uniform.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 97 | let buffer = graphics [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let bind_group_layout = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let bind_group = graphics [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | buffer: Some(buffer), [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/uniform.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new(graphics: &Graphics, textures: Vec, sampler: wgpu::Sampler) -> Self { [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] 168 | let data = TextureArray { textures, sampler }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let bind_group_layout = [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let bind_group = graphics [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | buffer: 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] [stderr] error: could not compile `wgpu-voxel-engine` (bin "wgpu-voxel-engine" test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgpu-voxel-engine` (bin "wgpu-voxel-engine") due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a36d14adeccc01e30339df513e887d60713759153d96beb3b7d55e2be42fbb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36d14adeccc01e30339df513e887d60713759153d96beb3b7d55e2be42fbb8f", kill_on_drop: false }` [INFO] [stdout] a36d14adeccc01e30339df513e887d60713759153d96beb3b7d55e2be42fbb8f