[INFO] cloning repository https://github.com/Forevka/Doom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Forevka/Doom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForevka%2FDoom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForevka%2FDoom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fb89326fc03103488653d4db16a275738a91c6b [INFO] checking Forevka/Doom against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForevka%2FDoom" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Forevka/Doom on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Forevka/Doom [INFO] finished tweaking git repo https://github.com/Forevka/Doom [INFO] tweaked toml for git repo https://github.com/Forevka/Doom written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Forevka/Doom already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-map-derive v0.4.3 [INFO] [stderr] Downloaded array-macro v1.0.5 [INFO] [stderr] Downloaded instant v0.1.4 [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] [stderr] Downloaded enum-map v0.6.2 [INFO] [stderr] Downloaded blinds v0.1.6 [INFO] [stderr] Downloaded gestalt v0.1.0 [INFO] [stderr] Downloaded golem v0.1.3 [INFO] [stderr] Downloaded platter v0.1.4 [INFO] [stderr] Downloaded cocoa v0.20.1 [INFO] [stderr] Downloaded elefont v0.1.3 [INFO] [stderr] Downloaded web_logger v0.2.0 [INFO] [stderr] Downloaded quicksilver v0.4.0-alpha0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cffeb0d72e36ecdf1a2864d356649956bf7b005318a0b17633cbd8830b39cead [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cffeb0d72e36ecdf1a2864d356649956bf7b005318a0b17633cbd8830b39cead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cffeb0d72e36ecdf1a2864d356649956bf7b005318a0b17633cbd8830b39cead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffeb0d72e36ecdf1a2864d356649956bf7b005318a0b17633cbd8830b39cead", kill_on_drop: false }` [INFO] [stdout] cffeb0d72e36ecdf1a2864d356649956bf7b005318a0b17633cbd8830b39cead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2734e8504b56608ad57d28b7805ad83532bd09f6bada0b2cb07c06d06a7ac0d1 [INFO] running `Command { std: "docker" "start" "-a" "2734e8504b56608ad57d28b7805ad83532bd09f6bada0b2cb07c06d06a7ac0d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking elefont v0.1.3 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking golem v0.1.3 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking platter v0.1.4 [INFO] [stderr] Checking blinds v0.1.6 [INFO] [stderr] Checking gestalt v0.1.0 [INFO] [stderr] Checking quicksilver v0.4.0-alpha0.5 [INFO] [stderr] Checking helloworld v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Circle` [INFO] [stdout] --> main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Graphics`, `Input`, `Rectangle`, `Result`, `Settings`, `Window`, `input::Key`, `run` [INFO] [stdout] --> player.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | graphics::Color, [INFO] [stdout] 4 | input::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | run, Graphics, Input, Result, Settings, Window, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `Graphics`, `Input`, `Result`, `Settings`, `Window`, `input::Key`, `run` [INFO] [stdout] --> map.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | graphics::Color, [INFO] [stdout] 4 | input::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | run, Graphics, Input, Result, Settings, Window, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `Graphics`, `Input`, `Rectangle`, `Result`, `Settings`, `Vector`, `Window`, `graphics::Color`, `input::Key`, `run` [INFO] [stdout] --> camera.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | graphics::Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | input::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | run, Graphics, Input, Result, Settings, Window, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> main.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | plane_x = (plane_x * (rotating).cos() - plane_y * (rotating).sin()) ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | plane_x = (plane_x * (rotating).cos() - plane_y * (rotating).sin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Circle` [INFO] [stdout] --> main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Graphics`, `Input`, `Rectangle`, `Result`, `Settings`, `Window`, `input::Key`, `run` [INFO] [stdout] --> player.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | graphics::Color, [INFO] [stdout] 4 | input::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | run, Graphics, Input, Result, Settings, Window, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `Graphics`, `Input`, `Result`, `Settings`, `Window`, `input::Key`, `run` [INFO] [stdout] --> map.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | graphics::Color, [INFO] [stdout] 4 | input::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | run, Graphics, Input, Result, Settings, Window, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `Graphics`, `Input`, `Rectangle`, `Result`, `Settings`, `Vector`, `Window`, `graphics::Color`, `input::Key`, `run` [INFO] [stdout] --> camera.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | geom::{Circle, Rectangle, Vector}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | graphics::Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | input::Key, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | run, Graphics, Input, Result, Settings, Window, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> main.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | plane_x = (plane_x * (rotating).cos() - plane_y * (rotating).sin()) ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | plane_x = (plane_x * (rotating).cos() - plane_y * (rotating).sin()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut map = map::Map::new(64); [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] --> main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut player = player::Player::new(100.0, 100.0, 0.0); [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] --> main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut playerRef: Rc> = Rc::new(RefCell::new(player)); [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] --> main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut dirX: f32 = 1.0; [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] --> main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dirY: f32 = 1.0; [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] --> main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut mouse_x_delta = prevMouse.x - mouse.x; [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] --> main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut map = map::Map::new(64); [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] --> main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut player = player::Player::new(100.0, 100.0, 0.0); [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] --> main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut playerRef: Rc> = Rc::new(RefCell::new(player)); [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] --> main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut dirX: f32 = 1.0; [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] --> main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dirY: f32 = 1.0; [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] --> main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut mouse_x_delta = prevMouse.x - mouse.x; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirX` [INFO] [stdout] --> main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut dirX: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirY` [INFO] [stdout] --> main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dirY: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `perp_wall_dist` is never read [INFO] [stdout] --> main.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut perp_wall_dist: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `draw_end` is never read [INFO] [stdout] --> main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | draw_end = HEIGHT - 1.0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> camera.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let angle = x.atan2(0.8); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> camera.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render(player: &crate::player::Player, map: &crate::map::Map, gfx: &mut quicksilver::graphics::Graphics) -> () [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> camera.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render(player: &crate::player::Player, map: &crate::map::Map, gfx: &mut quicksilver::graphics::Graphics) -> () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> camera.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render(player: &crate::player::Player, map: &crate::map::Map, gfx: &mut quicksilver::graphics::Graphics) -> () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> map.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut grid: Vec> = vec![ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `coordinates` [INFO] [stdout] --> player.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn coordinates(&mut self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROTATION_SPEED` [INFO] [stdout] --> main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | const ROTATION_SPEED: f32 = SPEED / 20.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WIDTH` should have a snake case name [INFO] [stdout] --> main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let WIDTH = 1024.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let HEIGHT = 768.0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WIDTH` should have a snake case name [INFO] [stdout] --> main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let WIDTH = 1024.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let HEIGHT = 768.0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapRef` should have a snake case name [INFO] [stdout] --> main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mapRef: Rc> = Rc::new(RefCell::new(map)); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `map_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerRef` should have a snake case name [INFO] [stdout] --> main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut playerRef: Rc> = Rc::new(RefCell::new(player)); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `player_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevMouse` should have a snake case name [INFO] [stdout] --> main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut prevMouse: Vector = Vector { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `prev_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dirX` should have a snake case name [INFO] [stdout] --> main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut dirX: f32 = 1.0; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dir_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dirY` should have a snake case name [INFO] [stdout] --> main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dirY: f32 = 1.0; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dir_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirX` [INFO] [stdout] --> main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut dirX: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirY` [INFO] [stdout] --> main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dirY: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dirY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `perp_wall_dist` is never read [INFO] [stdout] --> main.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut perp_wall_dist: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `draw_end` is never read [INFO] [stdout] --> main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | draw_end = HEIGHT - 1.0 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> camera.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let angle = x.atan2(0.8); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> camera.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render(player: &crate::player::Player, map: &crate::map::Map, gfx: &mut quicksilver::graphics::Graphics) -> () [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> camera.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render(player: &crate::player::Player, map: &crate::map::Map, gfx: &mut quicksilver::graphics::Graphics) -> () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> camera.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn render(player: &crate::player::Player, map: &crate::map::Map, gfx: &mut quicksilver::graphics::Graphics) -> () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> map.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut grid: Vec> = vec![ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `coordinates` [INFO] [stdout] --> player.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn coordinates(&mut self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROTATION_SPEED` [INFO] [stdout] --> main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | const ROTATION_SPEED: f32 = SPEED / 20.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WIDTH` should have a snake case name [INFO] [stdout] --> main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let WIDTH = 1024.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let HEIGHT = 768.0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WIDTH` should have a snake case name [INFO] [stdout] --> main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let WIDTH = 1024.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let HEIGHT = 768.0; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapRef` should have a snake case name [INFO] [stdout] --> main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mapRef: Rc> = Rc::new(RefCell::new(map)); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `map_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerRef` should have a snake case name [INFO] [stdout] --> main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut playerRef: Rc> = Rc::new(RefCell::new(player)); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `player_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevMouse` should have a snake case name [INFO] [stdout] --> main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut prevMouse: Vector = Vector { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `prev_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dirX` should have a snake case name [INFO] [stdout] --> main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut dirX: f32 = 1.0; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dir_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dirY` should have a snake case name [INFO] [stdout] --> main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut dirY: f32 = 1.0; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dir_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "2734e8504b56608ad57d28b7805ad83532bd09f6bada0b2cb07c06d06a7ac0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2734e8504b56608ad57d28b7805ad83532bd09f6bada0b2cb07c06d06a7ac0d1", kill_on_drop: false }` [INFO] [stdout] 2734e8504b56608ad57d28b7805ad83532bd09f6bada0b2cb07c06d06a7ac0d1