[INFO] updating cached repository https://github.com/benjamin-lieser/infinirust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4390e927389015e5a3c3eaaaeb15d876b594fc4c [INFO] checking benjamin-lieser/infinirust/4390e927389015e5a3c3eaaaeb15d876b594fc4c 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%2Fbenjamin-lieser%2Finfinirust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjamin-lieser/infinirust 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/benjamin-lieser/infinirust [INFO] finished tweaking git repo https://github.com/benjamin-lieser/infinirust [INFO] tweaked toml for git repo https://github.com/benjamin-lieser/infinirust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/benjamin-lieser/infinirust 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4da924c3af5c4c3980e07ecdb05154cd96de6783881c58ea1fb895892966113 [INFO] running `Command { std: "docker" "start" "-a" "f4da924c3af5c4c3980e07ecdb05154cd96de6783881c58ea1fb895892966113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4da924c3af5c4c3980e07ecdb05154cd96de6783881c58ea1fb895892966113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4da924c3af5c4c3980e07ecdb05154cd96de6783881c58ea1fb895892966113", kill_on_drop: false }` [INFO] [stdout] f4da924c3af5c4c3980e07ecdb05154cd96de6783881c58ea1fb895892966113 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc564e3e7c2f2b59f452cc43c6541807edefc55564faf07999f5b9fa5845bf49 [INFO] running `Command { std: "docker" "start" "-a" "fc564e3e7c2f2b59f452cc43c6541807edefc55564faf07999f5b9fa5845bf49", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking memchr v2.6.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking exr v1.7.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking infinirust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FreeCamera` and `camera` [INFO] [stdout] --> src/game/renderer.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | background::Update, camera, misc::CubeOutlines, overlay::Overlay, Camera, Controls, FreeCamera, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/game/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FreeCamera` and `camera` [INFO] [stdout] --> src/game/renderer.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | background::Update, camera, misc::CubeOutlines, overlay::Overlay, Camera, Controls, FreeCamera, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default::Default` [INFO] [stdout] --> src/game/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glt` [INFO] [stdout] --> src/game/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn create_atlas(glt: GLToken) -> TextureAtlas { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_glt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/game/chunk.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ChunkData { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set(&mut self, pos: [usize; 3], block: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/game/blocks.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blocks { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `faces` are never read [INFO] [stdout] --> src/game/blocks.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BlockConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | ///Keys are 'default' 'pos_x' 'neg_x' ... 'neg_z', values are the texture files [INFO] [stdout] 15 | pub faces: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_meta` is never read [INFO] [stdout] --> src/server/world.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ServerWorld { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | chunk_meta: HashMap<[i32; 3], ChunkMeta>, [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/world.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut unused_chunks = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut chunks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | chunks: Mutex::new(chunks), [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/world.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 24 | let mut unused_chunks = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut chunks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | unused_chunks : Mutex::new(unused_chunks), [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/game/world.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 24 | let mut unused_chunks = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut chunks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | players: Mutex::new(Players::new(glt, texture_atlas, local_player)), [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/game/renderer.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 35 | world: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | atlas: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | render_size: winit::dpi::PhysicalSize, [INFO] [stdout] 38 | updates: tokio::sync::mpsc::Sender, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let program = Program::new(glt, VERTEX_SHADER_SOURCE, FRAGMENT_SHADER_SOURCE); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | cube_outlines: CubeOutlines::new(glt), [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/game/renderer.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 35 | world: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | atlas: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | render_size: winit::dpi::PhysicalSize, [INFO] [stdout] 38 | updates: tokio::sync::mpsc::Sender, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let program = Program::new(glt, VERTEX_SHADER_SOURCE, FRAGMENT_SHADER_SOURCE); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | overlay: Overlay::new(glt, render_size), [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/window/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | .build(&event_loop, ConfigTemplateBuilder::new(), |configs| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | // Find the config with the maximum number of samples [INFO] [stdout] 30 | / configs [INFO] [stdout] 31 | | .reduce(|accum, config| { [INFO] [stdout] 32 | | if config.num_samples() > accum.num_samples() { [INFO] [stdout] 33 | | config [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [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 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infinirust` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `glt` [INFO] [stdout] --> src/game/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn create_atlas(glt: GLToken) -> TextureAtlas { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_glt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/game/chunk.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ChunkData { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set(&mut self, pos: [usize; 3], block: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/game/blocks.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blocks { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `faces` are never read [INFO] [stdout] --> src/game/blocks.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BlockConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | ///Keys are 'default' 'pos_x' 'neg_x' ... 'neg_z', values are the texture files [INFO] [stdout] 15 | pub faces: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk_meta` is never read [INFO] [stdout] --> src/server/world.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ServerWorld { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | chunk_meta: HashMap<[i32; 3], ChunkMeta>, [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/world.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut unused_chunks = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut chunks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | chunks: Mutex::new(chunks), [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/world.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 24 | let mut unused_chunks = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut chunks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | unused_chunks : Mutex::new(unused_chunks), [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/game/world.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 24 | let mut unused_chunks = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut chunks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | players: Mutex::new(Players::new(glt, texture_atlas, local_player)), [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/game/renderer.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 35 | world: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | atlas: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | render_size: winit::dpi::PhysicalSize, [INFO] [stdout] 38 | updates: tokio::sync::mpsc::Sender, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let program = Program::new(glt, VERTEX_SHADER_SOURCE, FRAGMENT_SHADER_SOURCE); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | cube_outlines: CubeOutlines::new(glt), [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/game/renderer.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 35 | world: Arc, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | atlas: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | render_size: winit::dpi::PhysicalSize, [INFO] [stdout] 38 | updates: tokio::sync::mpsc::Sender, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let program = Program::new(glt, VERTEX_SHADER_SOURCE, FRAGMENT_SHADER_SOURCE); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | overlay: Overlay::new(glt, render_size), [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/window/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | .build(&event_loop, ConfigTemplateBuilder::new(), |configs| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | // Find the config with the maximum number of samples [INFO] [stdout] 30 | / configs [INFO] [stdout] 31 | | .reduce(|accum, config| { [INFO] [stdout] 32 | | if config.num_samples() > accum.num_samples() { [INFO] [stdout] 33 | | config [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }) [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 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infinirust` (lib) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc564e3e7c2f2b59f452cc43c6541807edefc55564faf07999f5b9fa5845bf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc564e3e7c2f2b59f452cc43c6541807edefc55564faf07999f5b9fa5845bf49", kill_on_drop: false }` [INFO] [stdout] fc564e3e7c2f2b59f452cc43c6541807edefc55564faf07999f5b9fa5845bf49