[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 against nightly-2024-02-05 for check-cfg-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeGrahamLandry%2F2.5d-maze-renderer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LukeGrahamLandry/2.5d-maze-renderer on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-0-tc1/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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ab_glyph v0.2.21
[INFO] [stderr]   Downloaded thiserror-impl v1.0.48
[INFO] [stderr]   Downloaded fdeflate v0.3.0
[INFO] [stderr]   Downloaded thiserror v1.0.48
[INFO] [stderr]   Downloaded libloading v0.8.0
[INFO] [stderr]   Downloaded wayland-client v0.30.2
[INFO] [stderr]   Downloaded ttf-parser v0.19.1
[INFO] [stderr]   Downloaded tiny-skia v0.8.4
[INFO] [stderr]   Downloaded orbclient v0.3.46
[INFO] [stderr]   Downloaded owned_ttf_parser v0.19.0
[INFO] [stderr]   Downloaded quick-xml v0.28.2
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.16.0
[INFO] [stderr]   Downloaded winnow v0.5.15
[INFO] [stderr]   Downloaded winit v0.28.6
[INFO] [stderr]   Downloaded memmap2 v0.6.2
[INFO] [stderr]   Downloaded softbuffer v0.3.0
[INFO] [stderr]   Downloaded memchr v2.6.3
[INFO] [stderr]   Downloaded wayland-backend v0.1.2
[INFO] [stderr]   Downloaded wayland-scanner v0.30.1
[INFO] [stderr]   Downloaded xml-rs v0.8.16
[INFO] [stderr]   Downloaded indexmap v2.0.0
[INFO] [stderr]   Downloaded smallvec v1.11.0
[INFO] [stderr]   Downloaded toml_edit v0.19.14
[INFO] [stderr]   Downloaded hashbrown v0.14.0
[INFO] [stderr]   Downloaded tiny-skia-path v0.8.4
[INFO] [stderr]   Downloaded sctk-adwaita v0.5.4
[INFO] [stderr]   Downloaded bytemuck v1.13.1
[INFO] [stderr]   Downloaded wayland-sys v0.30.1
[INFO] [stderr]   Downloaded cocoa-foundation v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 87dd96c89610a61d811c0a1a711cc29837d19f1411d2a17415d0089af84e4ace
[INFO] running `Command { std: "docker" "start" "-a" "87dd96c89610a61d811c0a1a711cc29837d19f1411d2a17415d0089af84e4ace", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87dd96c89610a61d811c0a1a711cc29837d19f1411d2a17415d0089af84e4ace", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87dd96c89610a61d811c0a1a711cc29837d19f1411d2a17415d0089af84e4ace", kill_on_drop: false }`
[INFO] [stdout] 87dd96c89610a61d811c0a1a711cc29837d19f1411d2a17415d0089af84e4ace
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa6252b07f1278c887276200d752ed6c0721066f1f65a9ba1cc9e817e57cd6db
[INFO] running `Command { std: "docker" "start" "-a" "fa6252b07f1278c887276200d752ed6c0721066f1f65a9ba1cc9e817e57cd6db", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]    Compiling xml-rs v0.8.16
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.87
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling bumpalo v3.13.0
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking flate2 v1.0.27
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]     Checking wayland-sys v0.29.5
[INFO] [stderr]     Checking ttf-parser v0.19.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.87
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling x11rb v0.12.0
[INFO] [stderr]    Compiling softbuffer v0.3.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling quick-xml v0.28.2
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling wayland-backend v0.1.2
[INFO] [stderr]     Checking owned_ttf_parser v0.19.0
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking ab_glyph v0.2.21
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.6
[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]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking gethostname v0.3.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking memmap2 v0.6.2
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling wayland-scanner v0.30.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking maze v0.1.0 (/opt/rustwide/workdir/maze)
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.87
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.87
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.87
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking x11rb-protocol v0.12.0
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking wayland-client v0.30.2
[INFO] [stderr]     Checking js-sys v0.3.64
[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`, `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 imports: `c_int`, `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`, `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: 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`, `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: 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: 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/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: 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: 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: 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: 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: 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<Vec<RaySe...
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_shortest_path` is never used
[INFO] [stdout]    --> 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<RaySegment> {
[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] 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: 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<Vec<RaySe...
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_shortest_path` is never used
[INFO] [stdout]    --> 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<RaySegment> {
[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] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 13s
[INFO] running `Command { std: "docker" "inspect" "fa6252b07f1278c887276200d752ed6c0721066f1f65a9ba1cc9e817e57cd6db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa6252b07f1278c887276200d752ed6c0721066f1f65a9ba1cc9e817e57cd6db", kill_on_drop: false }`
[INFO] [stdout] fa6252b07f1278c887276200d752ed6c0721066f1f65a9ba1cc9e817e57cd6db
[INFO] checking LukeGrahamLandry/2.5d-maze-renderer against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeGrahamLandry%2F2.5d-maze-renderer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LukeGrahamLandry/2.5d-maze-renderer on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "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-0-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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8d0d371b4bb9268a283ff7a0316abe6817780d8456ba6f9a204321782dfd775
[INFO] running `Command { std: "docker" "start" "-a" "a8d0d371b4bb9268a283ff7a0316abe6817780d8456ba6f9a204321782dfd775", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8d0d371b4bb9268a283ff7a0316abe6817780d8456ba6f9a204321782dfd775", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8d0d371b4bb9268a283ff7a0316abe6817780d8456ba6f9a204321782dfd775", kill_on_drop: false }`
[INFO] [stdout] a8d0d371b4bb9268a283ff7a0316abe6817780d8456ba6f9a204321782dfd775
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 35486b2e3d7ea2fd9affd80e94504bc197290f59a9e37baf1440dcb566773c84
[INFO] running `Command { std: "docker" "start" "-a" "35486b2e3d7ea2fd9affd80e94504bc197290f59a9e37baf1440dcb566773c84", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]    Compiling xml-rs v0.8.16
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.87
[INFO] [stderr]    Compiling bumpalo v3.13.0
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking flate2 v1.0.27
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]     Checking wayland-sys v0.29.5
[INFO] [stderr]    Compiling wasm-bindgen v0.2.87
[INFO] [stderr]     Checking ttf-parser v0.19.1
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling x11rb v0.12.0
[INFO] [stderr]    Compiling softbuffer v0.3.0
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling quick-xml v0.28.2
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling wayland-scanner v0.30.1
[INFO] [stderr]    Compiling wayland-backend v0.1.2
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking gethostname v0.3.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking memmap2 v0.6.2
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking owned_ttf_parser v0.19.0
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking maze v0.1.0 (/opt/rustwide/workdir/maze)
[INFO] [stderr]     Checking ab_glyph v0.2.21
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.87
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.87
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.87
[INFO] [stderr]     Checking x11rb-protocol v0.12.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking wayland-client v0.30.2
[INFO] [stderr]     Checking js-sys v0.3.64
[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`, `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 imports: `c_int`, `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`, `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] error: 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: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(wasm_platform)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[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`, `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] error: 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: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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`, `unix`, `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(wasm_platform)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[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: 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/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/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: 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: 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: 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<Vec<RaySe...
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_shortest_path` is never used
[INFO] [stdout]    --> 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<RaySegment> {
[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: 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: 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: aborting due to 1 previous error; 26 warnings emitted
[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: 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<Vec<RaySe...
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_shortest_path` is never used
[INFO] [stdout]    --> 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<RaySegment> {
[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] [stderr] error: could not compile `mazerender2d` (bin "mazerender2d") due to 2 previous errors; 26 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error; 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mazerender2d` (bin "mazerender2d" test) due to 2 previous errors; 25 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "35486b2e3d7ea2fd9affd80e94504bc197290f59a9e37baf1440dcb566773c84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35486b2e3d7ea2fd9affd80e94504bc197290f59a9e37baf1440dcb566773c84", kill_on_drop: false }`
[INFO] [stdout] 35486b2e3d7ea2fd9affd80e94504bc197290f59a9e37baf1440dcb566773c84
