[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] building xamado/rusted-quake against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamado%2Frusted-quake" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xamado/rusted-quake on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291a8f7240888a845eeb0eb93cba77c703878c9d62fc039e674593278897e154 [INFO] running `Command { std: "docker" "start" "-a" "291a8f7240888a845eeb0eb93cba77c703878c9d62fc039e674593278897e154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291a8f7240888a845eeb0eb93cba77c703878c9d62fc039e674593278897e154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291a8f7240888a845eeb0eb93cba77c703878c9d62fc039e674593278897e154", kill_on_drop: false }` [INFO] [stdout] 291a8f7240888a845eeb0eb93cba77c703878c9d62fc039e674593278897e154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78ab6c34e8dd70fe208515e61be16ba374875f3ce66d9db29089ae712ff9ec1d [INFO] running `Command { std: "docker" "start" "-a" "78ab6c34e8dd70fe208515e61be16ba374875f3ce66d9db29089ae712ff9ec1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling 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] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling minifb_fonts v0.1.3 [INFO] [stderr] Compiling glam v0.30.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling minifb v0.28.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling rust-rasterizer v0.1.0 (/opt/rustwide/workdir) [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: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 24.22s [INFO] running `Command { std: "docker" "inspect" "78ab6c34e8dd70fe208515e61be16ba374875f3ce66d9db29089ae712ff9ec1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ab6c34e8dd70fe208515e61be16ba374875f3ce66d9db29089ae712ff9ec1d", kill_on_drop: false }` [INFO] [stdout] 78ab6c34e8dd70fe208515e61be16ba374875f3ce66d9db29089ae712ff9ec1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e75b33421b35a16c2669ee3198bb6049c247f27178898f5aaf6f6e1faa8b81fd [INFO] running `Command { std: "docker" "start" "-a" "e75b33421b35a16c2669ee3198bb6049c247f27178898f5aaf6f6e1faa8b81fd", kill_on_drop: false }` [INFO] [stderr] Compiling rust-rasterizer v0.1.0 (/opt/rustwide/workdir) [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: `Model` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "e75b33421b35a16c2669ee3198bb6049c247f27178898f5aaf6f6e1faa8b81fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75b33421b35a16c2669ee3198bb6049c247f27178898f5aaf6f6e1faa8b81fd", kill_on_drop: false }` [INFO] [stdout] e75b33421b35a16c2669ee3198bb6049c247f27178898f5aaf6f6e1faa8b81fd