[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] building cosmobrain0/3d-renderer against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosmobrain0%2F3d-renderer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosmobrain0/3d-renderer on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ruscii v0.4.0 [INFO] [stderr] Downloaded device_query v1.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07a4538d595b3412c5d44d5baa26888b47e77b9e3a5c871c635ed25d1ba32d50 [INFO] running `Command { std: "docker" "start" "-a" "07a4538d595b3412c5d44d5baa26888b47e77b9e3a5c871c635ed25d1ba32d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07a4538d595b3412c5d44d5baa26888b47e77b9e3a5c871c635ed25d1ba32d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a4538d595b3412c5d44d5baa26888b47e77b9e3a5c871c635ed25d1ba32d50", kill_on_drop: false }` [INFO] [stdout] 07a4538d595b3412c5d44d5baa26888b47e77b9e3a5c871c635ed25d1ba32d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f23300b4bf8c0984ccf665a3ae9f9949b2121e71e010f701d8cce9e8ea7b14b6 [INFO] running `Command { std: "docker" "start" "-a" "f23300b4bf8c0984ccf665a3ae9f9949b2121e71e010f701d8cce9e8ea7b14b6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling device_query v1.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling ruscii v0.4.0 [INFO] [stderr] Compiling 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 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: `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: methods `values` and `component_mult` are never used [INFO] [stdout] --> src/matrix.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Matrix { [INFO] [stdout] | ------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn values(&self) -> &[[f32; WIDTH]; HEIGHT] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn component_mult(&self, rhs: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [INFO] [stdout] warning: methods `dot` and `sqr_length` are never used [INFO] [stdout] --> src/matrix.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 179 | impl Vector { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn dot(&self, rhs: &Vector) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn sqr_length(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `set_x` are never used [INFO] [stdout] --> src/matrix.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 205 | impl Vector<1> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 206 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn set_x(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_x` and `set_y` are never used [INFO] [stdout] --> src/matrix.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 214 | impl Vector<2> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn set_x(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn set_y(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, `z`, `set_x`, `set_y`, and `set_z` are never used [INFO] [stdout] --> src/matrix.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 230 | impl Vector<3> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 231 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn y(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn z(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_x(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn set_y(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn set_z(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cross` is never used [INFO] [stdout] --> src/matrix.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 252 | impl Vector<3> { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 253 | pub fn cross(&self, rhs: &Vector<3>) -> Vector<3> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collision` is never used [INFO] [stdout] --> src/collision.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CollisionTrait: std::fmt::Debug + Clone { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 5 | fn collision(&self, other: &Collider, threshold: f32) -> CollisionResult; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Line`, `Circle`, and `Triangle` are never constructed [INFO] [stdout] --> src/collision.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Collider { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 11 | Line(LineCollider), [INFO] [stdout] | ^^^^ [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: field `0` is never read [INFO] [stdout] --> src/collision.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | One(Vec2), [INFO] [stdout] | --- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | One(()), [INFO] [stdout] | ~~ [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: associated functions `new`, `between_points`, and `through_points` are never used [INFO] [stdout] --> src/collision.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | impl LineCollider { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new(position: Vec2, direction: Vec2, bounded: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn between_points(a: Vec2, b: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn through_points(a: Vec2, b: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: associated function `new` is never used [INFO] [stdout] --> src/collision.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 127 | impl CircleCollider { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 128 | pub fn new(centre: Vec2, radius: f32) -> Self { [INFO] [stdout] | ^^^ [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: associated function `new` is never used [INFO] [stdout] --> src/collision.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 146 | impl TriangleCollider { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 147 | pub fn new(points: &[Vec2; 3]) -> Self { [INFO] [stdout] | ^^^ [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: field `position` is never read [INFO] [stdout] --> src/shapes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vertex { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shapes.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `normal` are never used [INFO] [stdout] --> src/shapes.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(p1: Vec3, p2: Vec3, p3: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn normal(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/shapes.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/shapes.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 39 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(triangles: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn draw(&self, pencil: &mut Pencil) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `translation`, `rotation`, and `scale` are never read [INFO] [stdout] --> src/shapes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Transformation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 71 | translation: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 72 | rotation: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | scale: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translation`, `rotation`, `scale`, `transform`, and `from_rotation` are never used [INFO] [stdout] --> src/shapes.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 76 | impl Transformation { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 77 | pub fn new(translation: Vec3, rotation: Vec3, scale: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn translation(translation: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn rotation(rotation: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn scale(scale: Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn transform(&self, point: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn from_rotation(rotation: Vec3) -> Matrix<3, 3> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "f23300b4bf8c0984ccf665a3ae9f9949b2121e71e010f701d8cce9e8ea7b14b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23300b4bf8c0984ccf665a3ae9f9949b2121e71e010f701d8cce9e8ea7b14b6", kill_on_drop: false }` [INFO] [stdout] f23300b4bf8c0984ccf665a3ae9f9949b2121e71e010f701d8cce9e8ea7b14b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3249dd2541ea34d4522e014b2b0f9577fd53f8b675837ddb0f5b40e4902bbf46 [INFO] running `Command { std: "docker" "start" "-a" "3249dd2541ea34d4522e014b2b0f9577fd53f8b675837ddb0f5b40e4902bbf46", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: `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: methods `values` and `component_mult` are never used [INFO] [stdout] --> src/matrix.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Matrix { [INFO] [stdout] | ------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn values(&self) -> &[[f32; WIDTH]; HEIGHT] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn component_mult(&self, rhs: &Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [INFO] [stdout] warning: methods `x` and `set_x` are never used [INFO] [stdout] --> src/matrix.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 205 | impl Vector<1> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 206 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn set_x(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_x` and `set_y` are never used [INFO] [stdout] --> src/matrix.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 214 | impl Vector<2> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn set_x(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn set_y(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_x`, `set_y`, and `set_z` are never used [INFO] [stdout] --> src/matrix.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 230 | impl Vector<3> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_x(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn set_y(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn set_z(&mut self, value: f32) { [INFO] [stdout] | ^^^^^ [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: associated functions `between_points` and `through_points` are never used [INFO] [stdout] --> src/collision.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 42 | impl LineCollider { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn between_points(a: Vec2, b: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn through_points(a: Vec2, b: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: associated function `new` is never used [INFO] [stdout] --> src/collision.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 127 | impl CircleCollider { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 128 | pub fn new(centre: Vec2, radius: f32) -> Self { [INFO] [stdout] | ^^^ [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: associated function `new` is never used [INFO] [stdout] --> src/collision.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 146 | impl TriangleCollider { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 147 | pub fn new(points: &[Vec2; 3]) -> Self { [INFO] [stdout] | ^^^ [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: field `position` is never read [INFO] [stdout] --> src/shapes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vertex { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/shapes.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `normal` are never used [INFO] [stdout] --> src/shapes.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(p1: Vec3, p2: Vec3, p3: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn normal(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/shapes.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/shapes.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 39 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(triangles: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn draw(&self, pencil: &mut Pencil) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `translation`, `rotation`, and `scale` are never read [INFO] [stdout] --> src/shapes.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Transformation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 71 | translation: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 72 | rotation: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | scale: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `translation`, `rotation`, `scale`, `transform`, and `from_rotation` are never used [INFO] [stdout] --> src/shapes.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 76 | impl Transformation { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 77 | pub fn new(translation: Vec3, rotation: Vec3, scale: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn translation(translation: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn rotation(rotation: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn scale(scale: Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn transform(&self, point: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn from_rotation(rotation: Vec3) -> Matrix<3, 3> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "3249dd2541ea34d4522e014b2b0f9577fd53f8b675837ddb0f5b40e4902bbf46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3249dd2541ea34d4522e014b2b0f9577fd53f8b675837ddb0f5b40e4902bbf46", kill_on_drop: false }` [INFO] [stdout] 3249dd2541ea34d4522e014b2b0f9577fd53f8b675837ddb0f5b40e4902bbf46