[INFO] cloning repository https://github.com/xamado/rusted-quake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xamado/rusted-quake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamado%2Frusted-quake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamado%2Frusted-quake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d252307ec5b92299eabeacbf1322ca8c254483c6 [INFO] checking xamado/rusted-quake against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamado%2Frusted-quake" "/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/xamado/rusted-quake [INFO] finished tweaking git repo https://github.com/xamado/rusted-quake [INFO] tweaked toml for git repo https://github.com/xamado/rusted-quake written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xamado/rusted-quake on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xamado/rusted-quake 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb_fonts v0.1.3 [INFO] [stderr] Downloaded minifb v0.28.0 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb61aa09b81344d853d9651d1815d2c16ff4db83759c75ebe694f642a3669b78 [INFO] running `Command { std: "docker" "start" "-a" "bb61aa09b81344d853d9651d1815d2c16ff4db83759c75ebe694f642a3669b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb61aa09b81344d853d9651d1815d2c16ff4db83759c75ebe694f642a3669b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb61aa09b81344d853d9651d1815d2c16ff4db83759c75ebe694f642a3669b78", kill_on_drop: false }` [INFO] [stdout] bb61aa09b81344d853d9651d1815d2c16ff4db83759c75ebe694f642a3669b78 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f90f7fbe8b879b678d8e4821b0da13a4e45f5658d272cf8a3907b4a23c28205e [INFO] running `Command { std: "docker" "start" "-a" "f90f7fbe8b879b678d8e4821b0da13a4e45f5658d272cf8a3907b4a23c28205e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking glam v0.30.0 [INFO] [stderr] Checking minifb_fonts v0.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling minifb v0.28.0 [INFO] [stderr] Checking tempfile v3.17.1 [INFO] [stderr] Checking rand_core v0.9.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rust-rasterizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|&x| (float_to_u32_color(x))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - .map(|&x| (float_to_u32_color(x))) [INFO] [stdout] 175 + .map(|&x| float_to_u32_color(x)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|&x| (float_to_u32_color(x))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - .map(|&x| (float_to_u32_color(x))) [INFO] [stdout] 175 + .map(|&x| float_to_u32_color(x)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/level.rs:744:80 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn hull_for_entity(&self, entity: &EntityData, mins: Vec3, maxs: Vec3, offset: Vec3) -> Hull { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/level.rs:775:17 [INFO] [stdout] | [INFO] [stdout] 775 | let mut hit = HitResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/level.rs:774:32 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/level.rs:774:53 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mins` [INFO] [stdout] --> src/level.rs:774:66 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxs` [INFO] [stdout] --> src/level.rs:774:78 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_maxs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 775 | let mut hit = HitResult { [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: unused variable: `hit` [INFO] [stdout] --> src/level.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | let hit: HitResult = HitResult::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load` and `draw` are never used [INFO] [stdout] --> src/model.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Model { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 15 | pub fn load>(path: P) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn draw(model: &Model, w: &Mat4, wvp: &Mat4, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelType` is never used [INFO] [stdout] --> src/level.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum ModelType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/level.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum ContentsType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 25 | Empty = -1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Solid = -2, [INFO] [stdout] 27 | Water = -3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | Slime = -4, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Lava = -5, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Sky = -6, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | Origin = -7, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | Clip = -8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `origin` and `numleafs` are never read [INFO] [stdout] --> src/level.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 59 | pub bound: BoundBox, [INFO] [stdout] 60 | pub origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub numleafs: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_clip_node`, `clip_mins`, and `clip_maxs` are never read [INFO] [stdout] --> src/level.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Hull { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub last_clip_node: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub clip_mins: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | pub clip_maxs: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `hull_for_entity`, `clip_move_to_entity`, and `trace_move` are never used [INFO] [stdout] --> src/level.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Level { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 744 | pub fn hull_for_entity(&self, entity: &EntityData, mins: Vec3, maxs: Vec3, offset: Vec3) -> Hull { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 787 | pub fn trace_move(&self, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3, _type: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BoundingBox` and `SlideBox` are never constructed [INFO] [stdout] --> src/entity.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SolidType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | BoundingBox, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | SlideBox, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/entity.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | None, [INFO] [stdout] 16 | AngleNoClip, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | AngleClip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | Walk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Step, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Fly, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Toss, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Push, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | NoClip, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | FlyMissile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | Bounce, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `move_type` is never read [INFO] [stdout] --> src/entity.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct EntityData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub move_type: MoveType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `think` is never used [INFO] [stdout] --> src/entity.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Entity { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn think(&mut self, _data: &mut EntityData) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/level.rs:744:80 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn hull_for_entity(&self, entity: &EntityData, mins: Vec3, maxs: Vec3, offset: Vec3) -> Hull { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/level.rs:775:17 [INFO] [stdout] | [INFO] [stdout] 775 | let mut hit = HitResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/level.rs:774:32 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/level.rs:774:53 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mins` [INFO] [stdout] --> src/level.rs:774:66 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxs` [INFO] [stdout] --> src/level.rs:774:78 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_maxs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 775 | let mut hit = HitResult { [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: unused variable: `hit` [INFO] [stdout] --> src/level.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | let hit: HitResult = HitResult::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load` and `draw` are never used [INFO] [stdout] --> src/model.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Model { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 15 | pub fn load>(path: P) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn draw(model: &Model, w: &Mat4, wvp: &Mat4, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelType` is never used [INFO] [stdout] --> src/level.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum ModelType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/level.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum ContentsType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 25 | Empty = -1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Solid = -2, [INFO] [stdout] 27 | Water = -3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | Slime = -4, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Lava = -5, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Sky = -6, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | Origin = -7, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | Clip = -8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `origin` and `numleafs` are never read [INFO] [stdout] --> src/level.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 59 | pub bound: BoundBox, [INFO] [stdout] 60 | pub origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub numleafs: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_clip_node`, `clip_mins`, and `clip_maxs` are never read [INFO] [stdout] --> src/level.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Hull { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub last_clip_node: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub clip_mins: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | pub clip_maxs: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `hull_for_entity`, `clip_move_to_entity`, and `trace_move` are never used [INFO] [stdout] --> src/level.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Level { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 744 | pub fn hull_for_entity(&self, entity: &EntityData, mins: Vec3, maxs: Vec3, offset: Vec3) -> Hull { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub fn clip_move_to_entity(entity: &EntityData, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 787 | pub fn trace_move(&self, start: Vec3, mins: Vec3, maxs: Vec3, end: Vec3, _type: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BoundingBox` and `SlideBox` are never constructed [INFO] [stdout] --> src/entity.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SolidType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | BoundingBox, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | SlideBox, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/entity.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | None, [INFO] [stdout] 16 | AngleNoClip, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | AngleClip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | Walk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Step, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Fly, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Toss, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Push, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | NoClip, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | FlyMissile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | Bounce, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `move_type` is never read [INFO] [stdout] --> src/entity.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct EntityData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub move_type: MoveType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `think` is never used [INFO] [stdout] --> src/entity.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Entity { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn think(&mut self, _data: &mut EntityData) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.54s [INFO] running `Command { std: "docker" "inspect" "f90f7fbe8b879b678d8e4821b0da13a4e45f5658d272cf8a3907b4a23c28205e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90f7fbe8b879b678d8e4821b0da13a4e45f5658d272cf8a3907b4a23c28205e", kill_on_drop: false }` [INFO] [stdout] f90f7fbe8b879b678d8e4821b0da13a4e45f5658d272cf8a3907b4a23c28205e