[INFO] cloning repository https://github.com/LukeGrahamLandry/2.5d-maze-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LukeGrahamLandry/2.5d-maze-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeGrahamLandry%2F2.5d-maze-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeGrahamLandry%2F2.5d-maze-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56110db20d4195539153c0bcfe9db57aaf77bc5c [INFO] checking LukeGrahamLandry/2.5d-maze-renderer/56110db20d4195539153c0bcfe9db57aaf77bc5c 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%2FLukeGrahamLandry%2F2.5d-maze-renderer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukeGrahamLandry/2.5d-maze-renderer 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/LukeGrahamLandry/2.5d-maze-renderer [INFO] finished tweaking git repo https://github.com/LukeGrahamLandry/2.5d-maze-renderer [INFO] tweaked toml for git repo https://github.com/LukeGrahamLandry/2.5d-maze-renderer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LukeGrahamLandry/2.5d-maze-renderer 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9b43a2e9e9c278368824145acd73a106a7158bcd497efb92493fa1ceaac04a2e [INFO] running `Command { std: "docker" "start" "-a" "9b43a2e9e9c278368824145acd73a106a7158bcd497efb92493fa1ceaac04a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b43a2e9e9c278368824145acd73a106a7158bcd497efb92493fa1ceaac04a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b43a2e9e9c278368824145acd73a106a7158bcd497efb92493fa1ceaac04a2e", kill_on_drop: false }` [INFO] [stdout] 9b43a2e9e9c278368824145acd73a106a7158bcd497efb92493fa1ceaac04a2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 468b1bf7ddada8f837a44dde06ce14d99bd9f181eaca5423970c889e83d9fc63 [INFO] running `Command { std: "docker" "start" "-a" "468b1bf7ddada8f837a44dde06ce14d99bd9f181eaca5423970c889e83d9fc63", kill_on_drop: false }` [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] Checking libloading v0.8.0 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Compiling softbuffer v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking maze v0.1.0 (/opt/rustwide/workdir/maze) [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking mazerender2d v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `c_int` and `c_void` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::{c_int, c_void}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | DeviceEvent, ElementState, Event, KeyboardInput, MouseButton, VirtualKeyCode, WindowEvent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/light_cache.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/world.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/main.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_int` and `c_void` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::{c_int, c_void}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseButton` [INFO] [stdout] --> src/main.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | DeviceEvent, ElementState, Event, KeyboardInput, MouseButton, VirtualKeyCode, WindowEvent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/light_cache.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/world.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_platform` [INFO] [stdout] --> src/main.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_platform)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_platform)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_direction` [INFO] [stdout] --> src/camera3d.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ray_direction: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | mut world: &mut World, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world_gen.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut walls = &mut self.regions[region_index].walls; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world_gen.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let mut lights = &mut self.regions[region_index].lights; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut builder = WindowBuilder::new().with_title("2.5dmazerenderer"); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColouredLine` is never constructed [INFO] [stdout] --> src/camera.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ColouredLine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_line` is never used [INFO] [stdout] --> src/camera.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) trait RenderStrategy { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 58 | fn draw_line(&mut self, line: LineSegment2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/entity.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct SquareEntity { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub(crate) id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `lerp`, `lerp_f`, and `to_u8` are never used [INFO] [stdout] --> src/material.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl Colour { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn lerp(&self, other: &Colour, t: f64) -> Colour { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn lerp_f(a: f64, b: f64, t: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn to_u8(&self) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_basis` is never used [INFO] [stdout] --> src/mth.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Vector2 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn rotate_basis(&self, new_forward_basis: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_a`, `algebraic`, `vertical`, `horizontal`, `closest_point`, and `overlaps` are never used [INFO] [stdout] --> src/mth.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl LineSegment2 { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub(crate) fn get_a(&self) -> Vector2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub(crate) fn algebraic(slope: f64, y_intercept: f64) -> LineSegment2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn vertical(x: f64) -> LineSegment2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub(crate) fn horizontal(y: f64) -> LineSegment2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub(crate) fn closest_point(&self, point: &Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) fn overlaps(&self, other: &LineSegment2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_SIZE` is never used [INFO] [stdout] --> src/player.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PLAYER_SIZE: f64 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace_clear_path_with_portals_between` is never used [INFO] [stdout] --> src/ray.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn trace_clear_path_with_portals_between(&self, start_region: usize, origin: Vector2, target: Vector2) -> Option src/ray.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn find_shortest_path(&self, pos: Vector2, wall_normal: Vector2, wall: LineSegment2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit_dist_squared` is never used [INFO] [stdout] --> src/ray.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl RaySegment { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | fn hit_dist_squared(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from_wall`, `from_region`, and `to_wall` are never read [INFO] [stdout] --> src/world.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct Portal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | pub(crate) from_wall: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) from_region: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) to_wall: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Portal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `region` is never used [INFO] [stdout] --> src/world.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl Wall { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn region(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_wall` and `add_wall` are never used [INFO] [stdout] --> src/world.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn remove_wall(&mut self, region: usize, wall: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn add_wall(&mut self, wall: Wall) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_factor` is never used [INFO] [stdout] --> src/world.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 161 | impl Portal { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub(crate) fn scale_factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_preset` is never used [INFO] [stdout] --> src/world_gen.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn example_preset() -> World { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_square_region`, `unidirectional_portal`, `bidirectional_portal`, and `from_world` are never used [INFO] [stdout] --> src/world_gen.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 178 | impl MapBuilder { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn new_square_region(&mut self, x1: f64, y1: f64, x2: f64, y2: f64, material: Material) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub(crate) fn unidirectional_portal(&mut self, from_region: usize, from_wall: usize, to_region: usize, to_wall: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub(crate) fn bidirectional_portal(&mut self, from_region: usize, from_wall: usize, to_region: usize, to_wall: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) fn from_world(world: World) -> MapBuilder { [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/light_cache.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 113 | let cache = Region::empty_light_cache(width * height); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | floor_light_cache: cache.clone(), [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/world_gen.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | let mut builder = MapBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | create_maze_region(&mut builder, MAZE_SIZE, CELL_SIZE); [INFO] [stdout] 13 | World::new(builder.build(), 0, Vector2::of(CELL_SIZE as f64 * 1.5, CELL_SIZE as f64 * 1.5)) [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/world_gen.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 154 | let mut builder = MapBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | World::new(builder.build(), 0, Vector2::of(150.0, 250.0)) [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 3 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mazerender2d` (bin "mazerender2d") due to 4 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `ray_direction` [INFO] [stdout] --> src/camera3d.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ray_direction: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | mut world: &mut World, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world_gen.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut walls = &mut self.regions[region_index].walls; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world_gen.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let mut lights = &mut self.regions[region_index].lights; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut builder = WindowBuilder::new().with_title("2.5dmazerenderer"); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColouredLine` is never constructed [INFO] [stdout] --> src/camera.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ColouredLine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_line` is never used [INFO] [stdout] --> src/camera.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) trait RenderStrategy { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 58 | fn draw_line(&mut self, line: LineSegment2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/entity.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct SquareEntity { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub(crate) id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `lerp`, `lerp_f`, and `to_u8` are never used [INFO] [stdout] --> src/material.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl Colour { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn lerp(&self, other: &Colour, t: f64) -> Colour { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn lerp_f(a: f64, b: f64, t: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn to_u8(&self) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_a`, `closest_point`, and `overlaps` are never used [INFO] [stdout] --> src/mth.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl LineSegment2 { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub(crate) fn get_a(&self) -> Vector2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub(crate) fn closest_point(&self, point: &Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) fn overlaps(&self, other: &LineSegment2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_SIZE` is never used [INFO] [stdout] --> src/player.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const PLAYER_SIZE: f64 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace_clear_path_with_portals_between` is never used [INFO] [stdout] --> src/ray.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn trace_clear_path_with_portals_between(&self, start_region: usize, origin: Vector2, target: Vector2) -> Option src/ray.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn find_shortest_path(&self, pos: Vector2, wall_normal: Vector2, wall: LineSegment2) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit_dist_squared` is never used [INFO] [stdout] --> src/ray.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 183 | impl RaySegment { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | fn hit_dist_squared(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from_wall`, `from_region`, and `to_wall` are never read [INFO] [stdout] --> src/world.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) struct Portal { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | pub(crate) from_wall: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | pub(crate) from_region: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub(crate) to_wall: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Portal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `region` is never used [INFO] [stdout] --> src/world.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl Wall { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn region(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_wall` and `add_wall` are never used [INFO] [stdout] --> src/world.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 81 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) fn remove_wall(&mut self, region: usize, wall: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn add_wall(&mut self, wall: Wall) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale_factor` is never used [INFO] [stdout] --> src/world.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 161 | impl Portal { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub(crate) fn scale_factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_preset` is never used [INFO] [stdout] --> src/world_gen.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) fn example_preset() -> World { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_square_region`, `unidirectional_portal`, `bidirectional_portal`, and `from_world` are never used [INFO] [stdout] --> src/world_gen.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 178 | impl MapBuilder { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn new_square_region(&mut self, x1: f64, y1: f64, x2: f64, y2: f64, material: Material) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub(crate) fn unidirectional_portal(&mut self, from_region: usize, from_wall: usize, to_region: usize, to_wall: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub(crate) fn bidirectional_portal(&mut self, from_region: usize, from_wall: usize, to_region: usize, to_wall: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) fn from_world(world: World) -> MapBuilder { [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/light_cache.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 113 | let cache = Region::empty_light_cache(width * height); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | floor_light_cache: cache.clone(), [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/world_gen.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | let mut builder = MapBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | create_maze_region(&mut builder, MAZE_SIZE, CELL_SIZE); [INFO] [stdout] 13 | World::new(builder.build(), 0, Vector2::of(CELL_SIZE as f64 * 1.5, CELL_SIZE as f64 * 1.5)) [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/world_gen.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 154 | let mut builder = MapBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | World::new(builder.build(), 0, Vector2::of(150.0, 250.0)) [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 3 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mazerender2d` (bin "mazerender2d" test) due to 4 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "468b1bf7ddada8f837a44dde06ce14d99bd9f181eaca5423970c889e83d9fc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468b1bf7ddada8f837a44dde06ce14d99bd9f181eaca5423970c889e83d9fc63", kill_on_drop: false }` [INFO] [stdout] 468b1bf7ddada8f837a44dde06ce14d99bd9f181eaca5423970c889e83d9fc63