[INFO] cloning repository https://github.com/HectorSchreiner/Shitty-raycaster-attempt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HectorSchreiner/Shitty-raycaster-attempt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2FShitty-raycaster-attempt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2FShitty-raycaster-attempt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcf27ece3cc3a8f948353d4561b72d700c4973c7 [INFO] checking HectorSchreiner/Shitty-raycaster-attempt against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2FShitty-raycaster-attempt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HectorSchreiner/Shitty-raycaster-attempt [INFO] finished tweaking git repo https://github.com/HectorSchreiner/Shitty-raycaster-attempt [INFO] tweaked toml for git repo https://github.com/HectorSchreiner/Shitty-raycaster-attempt written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HectorSchreiner/Shitty-raycaster-attempt on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HectorSchreiner/Shitty-raycaster-attempt 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.19.1 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b3bc607b6863c2ebbb97c3084735a9c2d21fc347c77ec997a68fd4e8af82d2d [INFO] running `Command { std: "docker" "start" "-a" "4b3bc607b6863c2ebbb97c3084735a9c2d21fc347c77ec997a68fd4e8af82d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b3bc607b6863c2ebbb97c3084735a9c2d21fc347c77ec997a68fd4e8af82d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3bc607b6863c2ebbb97c3084735a9c2d21fc347c77ec997a68fd4e8af82d2d", kill_on_drop: false }` [INFO] [stdout] 4b3bc607b6863c2ebbb97c3084735a9c2d21fc347c77ec997a68fd4e8af82d2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 033c39995c87021a948af4ec2f331e71d9d5a2184dd8e4d81317b9108b924294 [INFO] running `Command { std: "docker" "start" "-a" "033c39995c87021a948af4ec2f331e71d9d5a2184dd8e4d81317b9108b924294", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking line_drawing v1.0.0 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking raycasting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `DARK_GREY` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | DARK_GREY = 0x202020, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DarkGrey` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if (ra > PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - if (ra > PI) { [INFO] [stdout] 102 + if ra > PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | if (ra < PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if (ra < PI) { [INFO] [stdout] 109 + if ra < PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if (ra == 0.0 || ra == PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (ra == 0.0 || ra == PI) { [INFO] [stdout] 116 + if ra == 0.0 || ra == PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | while (dof < 8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - while (dof < 8) { [INFO] [stdout] 121 + while dof < 8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | if (self.angle < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (self.angle < 0.0) { [INFO] [stdout] 172 + if self.angle < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | if (self.angle > 2.0 * PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if (self.angle > 2.0 * PI) { [INFO] [stdout] 182 + if self.angle > 2.0 * PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DARK_GREY` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | DARK_GREY = 0x202020, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DarkGrey` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | if (ra > PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - if (ra > PI) { [INFO] [stdout] 102 + if ra > PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | if (ra < PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if (ra < PI) { [INFO] [stdout] 109 + if ra < PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if (ra == 0.0 || ra == PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (ra == 0.0 || ra == PI) { [INFO] [stdout] 116 + if ra == 0.0 || ra == PI { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | while (dof < 8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - while (dof < 8) { [INFO] [stdout] 121 + while dof < 8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | if (self.angle < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (self.angle < 0.0) { [INFO] [stdout] 172 + if self.angle < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | if (self.angle > 2.0 * PI) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if (self.angle > 2.0 * PI) { [INFO] [stdout] 182 + if self.angle > 2.0 * PI { [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 map_grid: [u32; 64] = [ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [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:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let (mut rx, mut ry, mut ra, mut xo, mut yo) = (1f32, 2f32, 3f32, 4f32, 5f32); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/main.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let (mut rx, mut ry, mut ra, mut xo, mut yo) = (1f32, 2f32, 3f32, 4f32, 5f32); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | for r in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mx` is never read [INFO] [stdout] --> src/main.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `my` is never read [INFO] [stdout] --> src/main.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mp` is never read [INFO] [stdout] --> src/main.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dof` is never read [INFO] [stdout] --> src/main.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLUE` is never constructed [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | BLUE = 0x0000ff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vission` is never used [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn vission(&mut self, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapX` should have a snake case name [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mapX: u32 = 8; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapY` should have a snake case name [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mapY: u32 = 8; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aTan` should have a snake case name [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let aTan = -1.0 / ra.tan(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `a_tan` [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 map_grid: [u32; 64] = [ [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [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:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let (mut rx, mut ry, mut ra, mut xo, mut yo) = (1f32, 2f32, 3f32, 4f32, 5f32); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/main.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let (mut rx, mut ry, mut ra, mut xo, mut yo) = (1f32, 2f32, 3f32, 4f32, 5f32); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | for r in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mx` is never read [INFO] [stdout] --> src/main.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `my` is never read [INFO] [stdout] --> src/main.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mp` is never read [INFO] [stdout] --> src/main.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dof` is never read [INFO] [stdout] --> src/main.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | let (mut r, mut mx, mut my, mut mp, mut dof) = (1i32, 2i32, 3i32, 4i32, 5i32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLUE` is never constructed [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | BLUE = 0x0000ff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vission` is never used [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | fn vission(&mut self, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapX` should have a snake case name [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mapX: u32 = 8; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapY` should have a snake case name [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mapY: u32 = 8; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `map_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aTan` should have a snake case name [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let aTan = -1.0 / ra.tan(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `a_tan` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.51s [INFO] running `Command { std: "docker" "inspect" "033c39995c87021a948af4ec2f331e71d9d5a2184dd8e4d81317b9108b924294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033c39995c87021a948af4ec2f331e71d9d5a2184dd8e4d81317b9108b924294", kill_on_drop: false }` [INFO] [stdout] 033c39995c87021a948af4ec2f331e71d9d5a2184dd8e4d81317b9108b924294