[INFO] cloning repository https://github.com/cosmobrain0/3d-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosmobrain0/3d-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobrain0%2F3d-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobrain0%2F3d-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44c9d17e2f1e70d98bf1423daa05a5333371ea89 [INFO] checking cosmobrain0/3d-renderer against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobrain0%2F3d-renderer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmobrain0/3d-renderer on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cosmobrain0/3d-renderer [INFO] finished tweaking git repo https://github.com/cosmobrain0/3d-renderer [INFO] tweaked toml for git repo https://github.com/cosmobrain0/3d-renderer written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cosmobrain0/3d-renderer 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ruscii v0.4.0 [INFO] [stderr] Downloaded readkey v0.1.7 [INFO] [stderr] Downloaded readmouse v0.2.1 [INFO] [stderr] Downloaded macos-accessibility-client v0.0.1 [INFO] [stderr] Downloaded device_query v1.1.3 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f30d22a066c82f0fed248ca597171d21e93cbebcb75fd758a6613ff1c45cb49 [INFO] running `Command { std: "docker" "start" "-a" "2f30d22a066c82f0fed248ca597171d21e93cbebcb75fd758a6613ff1c45cb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f30d22a066c82f0fed248ca597171d21e93cbebcb75fd758a6613ff1c45cb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f30d22a066c82f0fed248ca597171d21e93cbebcb75fd758a6613ff1c45cb49", kill_on_drop: false }` [INFO] [stdout] 2f30d22a066c82f0fed248ca597171d21e93cbebcb75fd758a6613ff1c45cb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43742641456e4348f64579d5dc4c4cc3f61f03dd33d0af73583131ab556a0b29 [INFO] running `Command { std: "docker" "start" "-a" "43742641456e4348f64579d5dc4c4cc3f61f03dd33d0af73583131ab556a0b29", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling device_query v1.1.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking ruscii v0.4.0 [INFO] [stderr] Checking render3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/shapes.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::matrix::matrix::{Matrix, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/shapes.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::matrix::matrix::{Matrix, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle` [INFO] [stdout] --> src/collision.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Collider::Circle(circle) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/collision.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | Collider::Triangle(triangle) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/collision.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 137 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle` [INFO] [stdout] --> src/collision.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Collider::Circle(circle) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `triangle` [INFO] [stdout] --> src/collision.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | Collider::Triangle(triangle) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:152:47 [INFO] [stdout] | [INFO] [stdout] 152 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/collision.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/collision.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 137 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/collision.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:152:47 [INFO] [stdout] | [INFO] [stdout] 152 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/collision.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/collision.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | fn point_collision(&self, point: Vec2, threshold: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(&mut self, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_x` [INFO] [stdout] --> src/main.rs:26:58 [INFO] [stdout] | [INFO] [stdout] 26 | fn draw(&self, pencil: &mut ruscii::drawing::Pencil, win_x: usize, win_y: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_win_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_y` [INFO] [stdout] --> src/main.rs:26:72 [INFO] [stdout] | [INFO] [stdout] 26 | fn draw(&self, pencil: &mut ruscii::drawing::Pencil, win_x: usize, win_y: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_win_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn key_pressed(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn key_pressed(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | fn key_down(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn key_down(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(&mut self, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_x` [INFO] [stdout] --> src/main.rs:26:58 [INFO] [stdout] | [INFO] [stdout] 26 | fn draw(&self, pencil: &mut ruscii::drawing::Pencil, win_x: usize, win_y: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_win_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `win_y` [INFO] [stdout] --> src/main.rs:26:72 [INFO] [stdout] | [INFO] [stdout] 26 | fn draw(&self, pencil: &mut ruscii::drawing::Pencil, win_x: usize, win_y: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_win_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | fn key_pressed(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn key_pressed(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | fn key_down(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec4` is never used [INFO] [stdout] --> src/matrix.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub type Vec4 = Vector<4>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CollisionTrait` is never used [INFO] [stdout] --> src/collision.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CollisionTrait: std::fmt::Debug + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn key_down(&mut self, key: Key, app_state: &mut ruscii::app::State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Collider` is never used [INFO] [stdout] --> src/collision.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Collider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CollisionResult` is never used [INFO] [stdout] --> src/collision.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum CollisionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_vec` is never used [INFO] [stdout] --> src/collision.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl CollisionResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 24 | fn as_vec(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `bounded` are never read [INFO] [stdout] --> src/collision.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LineCollider { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 38 | position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | direction: Vec2, [INFO] [stdout] 40 | bounded: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineCollider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `centre` and `radius` are never read [INFO] [stdout] --> src/collision.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct CircleCollider { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 124 | centre: Vec2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircleCollider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/collision.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct TriangleCollider { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 144 | points: [Vec2; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriangleCollider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> src/screen.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec4` is never used [INFO] [stdout] --> src/matrix.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub type Vec4 = Vector<4>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Circle` and `Triangle` are never constructed [INFO] [stdout] --> src/collision.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Collider { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | Line(LineCollider), [INFO] [stdout] 12 | Circle(CircleCollider), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Triangle(TriangleCollider), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Many` is never constructed [INFO] [stdout] --> src/collision.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum CollisionResult { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | Many(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CollisionResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_vec` is never used [INFO] [stdout] --> src/collision.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl CollisionResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 24 | fn as_vec(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bounded` is never read [INFO] [stdout] --> src/collision.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LineCollider { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | bounded: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineCollider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `centre` and `radius` are never read [INFO] [stdout] --> src/collision.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct CircleCollider { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 124 | centre: Vec2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircleCollider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/collision.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct TriangleCollider { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 144 | points: [Vec2; 3], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriangleCollider` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window` is never read [INFO] [stdout] --> src/screen.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "43742641456e4348f64579d5dc4c4cc3f61f03dd33d0af73583131ab556a0b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43742641456e4348f64579d5dc4c4cc3f61f03dd33d0af73583131ab556a0b29", kill_on_drop: false }` [INFO] [stdout] 43742641456e4348f64579d5dc4c4cc3f61f03dd33d0af73583131ab556a0b29