[INFO] cloning repository https://github.com/e6quisitory/wolf3d-clone-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/e6quisitory/wolf3d-clone-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe6quisitory%2Fwolf3d-clone-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe6quisitory%2Fwolf3d-clone-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55a5e8a6d08af6a09a1ef53b9f6ef7ed8696aeaf [INFO] checking e6quisitory/wolf3d-clone-rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe6quisitory%2Fwolf3d-clone-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/e6quisitory/wolf3d-clone-rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/e6quisitory/wolf3d-clone-rs [INFO] finished tweaking git repo https://github.com/e6quisitory/wolf3d-clone-rs [INFO] tweaked toml for git repo https://github.com/e6quisitory/wolf3d-clone-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/e6quisitory/wolf3d-clone-rs 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package [INFO] [stderr] Adding wolf3d-reimpl-rs v0.1.0 (/workspace/builds/worker-6-tc1/source) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1f51dd20d02ad2611cae6e0c6dd260e9137f85bd024f5fc24f63240c5e22070 [INFO] running `Command { std: "docker" "start" "-a" "e1f51dd20d02ad2611cae6e0c6dd260e9137f85bd024f5fc24f63240c5e22070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f51dd20d02ad2611cae6e0c6dd260e9137f85bd024f5fc24f63240c5e22070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f51dd20d02ad2611cae6e0c6dd260e9137f85bd024f5fc24f63240c5e22070", kill_on_drop: false }` [INFO] [stdout] e1f51dd20d02ad2611cae6e0c6dd260e9137f85bd024f5fc24f63240c5e22070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a06e0ba64f50abf32dc861c8b5b51a26dcafc5a7cc99eed9b235103ff32d2501 [INFO] running `Command { std: "docker" "start" "-a" "a06e0ba64f50abf32dc861c8b5b51a26dcafc5a7cc99eed9b235103ff32d2501", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking wolf3d-reimpl-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `xDir_t` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum xDir_t { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `XDirT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `yDir_t` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum yDir_t { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `YDirT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `swivelDir_t` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum swivelDir_t { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwivelDirT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COUNTER_CLOCKWISE` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | COUNTER_CLOCKWISE = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CounterClockwise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `wallType_t` should have an upper camel case name [INFO] [stdout] --> src/utils/dda.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum wallType_t { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `WallTypeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `iVec2` should have an upper camel case name [INFO] [stdout] --> src/utils/vec2d.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type iVec2 = Vec2D; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IVec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `iPoint2` should have an upper camel case name [INFO] [stdout] --> src/utils/vec2d.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub type iPoint2 = iVec2; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IPoint2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lookCommand_t` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum lookCommand_t { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LookCommandT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moveCommand_t` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum moveCommand_t { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MoveCommandT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NORTH_EAST` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NORTH_EAST, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NorthEast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NORTH_WEST` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NORTH_WEST, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NorthWest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `doorCommand_t` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum doorCommand_t { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DoorCommandT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_TIME_LEFT` should have an upper camel case name [INFO] [stdout] --> src/tiles.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | NO_TIME_LEFT = 0, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoTimeLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FULL_TIME_LEFT` should have an upper camel case name [INFO] [stdout] --> src/tiles.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | FULL_TIME_LEFT = 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FullTimeLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `xDir_t` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum xDir_t { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `XDirT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `yDir_t` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum yDir_t { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `YDirT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `swivelDir_t` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum swivelDir_t { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwivelDirT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COUNTER_CLOCKWISE` should have an upper camel case name [INFO] [stdout] --> src/utils/conventions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | COUNTER_CLOCKWISE = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CounterClockwise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `wallType_t` should have an upper camel case name [INFO] [stdout] --> src/utils/dda.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum wallType_t { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `WallTypeT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `iVec2` should have an upper camel case name [INFO] [stdout] --> src/utils/vec2d.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type iVec2 = Vec2D; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IVec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `iPoint2` should have an upper camel case name [INFO] [stdout] --> src/utils/vec2d.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub type iPoint2 = iVec2; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IPoint2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lookCommand_t` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum lookCommand_t { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LookCommandT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moveCommand_t` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum moveCommand_t { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MoveCommandT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NORTH_EAST` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NORTH_EAST, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NorthEast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NORTH_WEST` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NORTH_WEST, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NorthWest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `doorCommand_t` should have an upper camel case name [INFO] [stdout] --> src/inputs_buffer.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum doorCommand_t { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DoorCommandT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_TIME_LEFT` should have an upper camel case name [INFO] [stdout] --> src/tiles.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | NO_TIME_LEFT = 0, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoTimeLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FULL_TIME_LEFT` should have an upper camel case name [INFO] [stdout] --> src/tiles.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | FULL_TIME_LEFT = 1 [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FullTimeLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSPARENCY_COLOR` is never used [INFO] [stdout] --> src/utils/conventions.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const TRANSPARENCY_COLOR: u32 = 0xFF980088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `COUNTER_CLOCKWISE` and `CLOCKWISE` are never constructed [INFO] [stdout] --> src/utils/conventions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum swivelDir_t { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 25 | COUNTER_CLOCKWISE = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | CLOCKWISE = -1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `swivelDir_t` 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 `GetNextHit` is never used [INFO] [stdout] --> src/utils/dda.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RayCursor { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn GetNextHit(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RayDist_dy` is never used [INFO] [stdout] --> src/utils/ray.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn RayDist_dy(&self, dy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pixel` is never used [INFO] [stdout] --> src/utils/vec2d.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Pixel = iVec2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdlTextureCreator` is never read [INFO] [stdout] --> src/multimedia.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Multimedia { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub sdlTextureCreator: TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdlImageContext` is never read [INFO] [stdout] --> src/multimedia.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SDLContexts { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub sdlImageContext: image::Sdl2ImageContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/multimedia.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct DisplayParams { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 99 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fov` is never read [INFO] [stdout] --> src/multimedia.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct RenderParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 110 | pub fov: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `pitch` are never read [INFO] [stdout] --> src/multimedia.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 188 | struct TextureSheet { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 189 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 190 | pitch: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `PlayerTileHit` is never used [INFO] [stdout] --> src/tiles.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Wall { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn PlayerTileHit() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OPEN` is never constructed [INFO] [stdout] --> src/tiles.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum DoorPosition { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 91 | OPEN = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoorPosition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_TIME_LEFT` is never constructed [INFO] [stdout] --> src/tiles.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub enum DoorTimerVal { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 97 | NO_TIME_LEFT = 0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoorTimerVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vecToSprite`, `spriteHitDistY`, `spriteHitDistX`, and `spriteScreenX` are never read [INFO] [stdout] --> src/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct SpriteRenderData { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 18 | vecToSprite: Vec2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | spriteHitDistY: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | spriteHitDistX: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | spriteScreenX: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemyType` is never read [INFO] [stdout] --> src/enemy.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 36 | pub enemyType: EnemyType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSPARENCY_COLOR` is never used [INFO] [stdout] --> src/utils/conventions.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const TRANSPARENCY_COLOR: u32 = 0xFF980088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `COUNTER_CLOCKWISE` and `CLOCKWISE` are never constructed [INFO] [stdout] --> src/utils/conventions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum swivelDir_t { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 25 | COUNTER_CLOCKWISE = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | CLOCKWISE = -1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `swivelDir_t` 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 `GetNextHit` is never used [INFO] [stdout] --> src/utils/dda.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl RayCursor { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn GetNextHit(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RayDist_dy` is never used [INFO] [stdout] --> src/utils/ray.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | fn RayDist_dy(&self, dy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pixel` is never used [INFO] [stdout] --> src/utils/vec2d.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Pixel = iVec2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdlTextureCreator` is never read [INFO] [stdout] --> src/multimedia.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Multimedia { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub sdlTextureCreator: TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdlImageContext` is never read [INFO] [stdout] --> src/multimedia.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SDLContexts { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub sdlImageContext: image::Sdl2ImageContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/multimedia.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct DisplayParams { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 99 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fov` is never read [INFO] [stdout] --> src/multimedia.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct RenderParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 110 | pub fov: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `pitch` are never read [INFO] [stdout] --> src/multimedia.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 188 | struct TextureSheet { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 189 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 190 | pitch: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `PlayerTileHit` is never used [INFO] [stdout] --> src/tiles.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Wall { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn PlayerTileHit() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OPEN` is never constructed [INFO] [stdout] --> src/tiles.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum DoorPosition { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 91 | OPEN = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoorPosition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_TIME_LEFT` is never constructed [INFO] [stdout] --> src/tiles.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub enum DoorTimerVal { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 97 | NO_TIME_LEFT = 0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoorTimerVal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vecToSprite`, `spriteHitDistY`, `spriteHitDistX`, and `spriteScreenX` are never read [INFO] [stdout] --> src/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct SpriteRenderData { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 18 | vecToSprite: Vec2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | spriteHitDistY: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | spriteHitDistX: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | spriteScreenX: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemyType` is never read [INFO] [stdout] --> src/enemy.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 36 | pub enemyType: EnemyType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.03s [INFO] running `Command { std: "docker" "inspect" "a06e0ba64f50abf32dc861c8b5b51a26dcafc5a7cc99eed9b235103ff32d2501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06e0ba64f50abf32dc861c8b5b51a26dcafc5a7cc99eed9b235103ff32d2501", kill_on_drop: false }` [INFO] [stdout] a06e0ba64f50abf32dc861c8b5b51a26dcafc5a7cc99eed9b235103ff32d2501