[INFO] cloning repository https://github.com/HectorSchreiner/Physix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HectorSchreiner/Physix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2FPhysix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2FPhysix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a700900415cb1b9fd6391755a40792e36a7214e2 [INFO] checking HectorSchreiner/Physix against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorSchreiner%2FPhysix" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HectorSchreiner/Physix [INFO] finished tweaking git repo https://github.com/HectorSchreiner/Physix [INFO] tweaked toml for git repo https://github.com/HectorSchreiner/Physix written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HectorSchreiner/Physix on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HectorSchreiner/Physix 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.11 [INFO] [stderr] Downloaded line_drawing v1.0.0 [INFO] [stderr] Downloaded xml-rs v0.8.16 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded orbclient v0.3.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 338277199e57d48f2b67df02f18c9ecfbc21e67770173c3495669f2bb7d358de [INFO] running `Command { std: "docker" "start" "-a" "338277199e57d48f2b67df02f18c9ecfbc21e67770173c3495669f2bb7d358de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "338277199e57d48f2b67df02f18c9ecfbc21e67770173c3495669f2bb7d358de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "338277199e57d48f2b67df02f18c9ecfbc21e67770173c3495669f2bb7d358de", kill_on_drop: false }` [INFO] [stdout] 338277199e57d48f2b67df02f18c9ecfbc21e67770173c3495669f2bb7d358de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b851aaa755458bc3a2ffbf6080d00ebcf4496d0840c6574afaac3d1133c739 [INFO] running `Command { std: "docker" "start" "-a" "27b851aaa755458bc3a2ffbf6080d00ebcf4496d0840c6574afaac3d1133c739", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking line_drawing v1.0.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking tempfile v3.7.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking physics_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `real` should have an upper camel case name [INFO] [stdout] --> src/core.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub type real = f32; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Real` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] 32 + self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/particle.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `real` should have an upper camel case name [INFO] [stdout] --> src/core.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub type real = f32; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Real` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - (self.x * self.x + self.y * self.y + self.z * self.z) [INFO] [stdout] 32 + self.x * self.x + self.y * self.y + self.z * self.z [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/particle.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Draw`, `Rectangle`, and `rk4` [INFO] [stdout] --> src/particle.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | core::{physix::*, rk4}, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | renderer::{Color, Draw, Rectangle}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rgb` should have an upper camel case name [INFO] [stdout] --> src/renderer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | rgb(String), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Draw`, `Rectangle`, and `rk4` [INFO] [stdout] --> src/particle.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | core::{physix::*, rk4}, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | renderer::{Color, Draw, Rectangle}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `rgb` should have an upper camel case name [INFO] [stdout] --> src/renderer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | rgb(String), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resulting_acceleration` [INFO] [stdout] --> src/particle.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let resulting_acceleration = self.acceleration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resulting_acceleration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/particle.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | fn update_force(&self, particle: Rc>, duration: real) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/particle.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | fn update_force(&self, particle: Rc>, duration: real) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/particle.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut particle = particle.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/particle.rs:101:66 [INFO] [stdout] | [INFO] [stdout] 101 | fn update_force(&self, particle: Rc>, duration: real) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registration` [INFO] [stdout] --> src/particle.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_registration(&mut self, registration: &'a mut ParticleRegistration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resulting_acceleration` [INFO] [stdout] --> src/particle.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let resulting_acceleration = self.acceleration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resulting_acceleration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `particle` [INFO] [stdout] --> src/particle.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | fn update_force(&self, particle: Rc>, duration: real) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_particle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/particle.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | fn update_force(&self, particle: Rc>, duration: real) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/particle.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut particle = particle.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/particle.rs:101:66 [INFO] [stdout] | [INFO] [stdout] 101 | fn update_force(&self, particle: Rc>, duration: real) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registration` [INFO] [stdout] --> src/particle.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_registration(&mut self, registration: &'a mut ParticleRegistration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/renderer.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&self, renderer: &mut Renderer, color: SimpleColor) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> src/renderer.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&self, renderer: &mut Renderer, color: SimpleColor) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/renderer.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&self, renderer: &mut Renderer, color: SimpleColor) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/renderer.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&self, renderer: &mut Renderer, color: SimpleColor) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut registry = ParticleRegistry::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut registry = ParticleRegistry::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut registry = ParticleRegistry::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut registry = ParticleRegistry::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registration_1` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let registration_1 = ParticleRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registration_1` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let registration_1 = ParticleRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registration_2` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let registration_2 = ParticleRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registration_2` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let registration_2 = ParticleRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rk4` is never used [INFO] [stdout] --> src/core.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn rk4(f: Vector3, timestep: physix::real) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rk4` is never used [INFO] [stdout] --> src/core.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn rk4(f: Vector3, timestep: physix::real) -> Vector3 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector3 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn invert(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn len(self) -> real { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn squared_len(self) -> real { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn normal(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn cross_product(self, vec: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn cross_product_eq(&mut self, vec: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn add_scaled_vector(&mut self, vector: Vector3, scale: real) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn dot_product(self, other: Self) -> real { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn mul_assign(&mut self, value: real) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn mul(self, value: real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 14 | impl Vector3 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn invert(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn len(self) -> real { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn squared_len(self) -> real { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn normal(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn cross_product(self, vec: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn cross_product_eq(&mut self, vec: Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn add_scaled_vector(&mut self, vector: Vector3, scale: real) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn dot_product(self, other: Self) -> real { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn mul_assign(&mut self, value: real) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn mul(self, value: real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `velocity`, `acceleration`, `damping`, `inverse_mass`, and `force_accumulated` are never read [INFO] [stdout] --> src/particle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub position: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub velocity: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub acceleration: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | damping: real, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | inverse_mass: real, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | pub force_accumulated: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` 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 `position`, `velocity`, `acceleration`, `damping`, `inverse_mass`, and `force_accumulated` are never read [INFO] [stdout] --> src/particle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub position: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub velocity: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub acceleration: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | damping: real, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | inverse_mass: real, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | pub force_accumulated: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` 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: methods `new`, `get_inverse_mass`, `set_inverse_mass`, `clear_accumulator`, `add_force`, and `integrate` are never used [INFO] [stdout] --> src/particle.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Particle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_inverse_mass(&self) -> real { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_inverse_mass(&mut self, mass: real) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn clear_accumulator(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn add_force(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn integrate(&mut self, duration: real) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new`, `get_inverse_mass`, `set_inverse_mass`, `clear_accumulator`, `add_force`, and `integrate` are never used [INFO] [stdout] --> src/particle.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Particle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_inverse_mass(&self) -> real { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn set_inverse_mass(&mut self, mass: real) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn clear_accumulator(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn add_force(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn integrate(&mut self, duration: real) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registations` is never read [INFO] [stdout] --> src/particle.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct ParticleRegistry<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 86 | pub registations: Vec<&'a mut ParticleRegistration<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `particle` and `force_generator` are never read [INFO] [stdout] --> src/particle.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ParticleRegistration<'a> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 90 | pub particle: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | pub force_generator: &'a dyn ParticleForceGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_force` is never used [INFO] [stdout] --> src/particle.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub trait ParticleForceGenerator { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] 95 | fn update_force(&self, particle: Rc>, duration: real) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_registration`, `remove_registration`, `clear_registry`, and `update_registry_forces` are never used [INFO] [stdout] --> src/particle.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> ParticleRegistry<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn add_registration(&mut self, registration: &'a mut ParticleRegistration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn remove_registration(&mut self, registration: &'a mut ParticleRegistration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn clear_registry(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn update_registry_forces(&mut self, duration: real) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/renderer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PI: f32 = 3.1415; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/renderer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SimpleColor` is never used [INFO] [stdout] --> src/renderer.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SimpleColor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_pixel` and `clear` are never used [INFO] [stdout] --> src/renderer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 25 | pub fn draw_pixel(&mut self, position: (u32, u32), color: SimpleColor) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn clear(&mut self, color: SimpleColor) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is never used [INFO] [stdout] --> src/renderer.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Draw { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/renderer.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(lenght: u32, height: u32, position: (u32, u32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/renderer.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `length_of_line` are never used [INFO] [stdout] --> src/renderer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 78 | pub fn new(pos_1: (u32, u32), pos_2: (u32, u32)) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn length_of_line(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registations` is never read [INFO] [stdout] --> src/particle.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct ParticleRegistry<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 86 | pub registations: Vec<&'a mut ParticleRegistration<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `particle` and `force_generator` are never read [INFO] [stdout] --> src/particle.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ParticleRegistration<'a> { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 90 | pub particle: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | pub force_generator: &'a dyn ParticleForceGenerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_force` is never used [INFO] [stdout] --> src/particle.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub trait ParticleForceGenerator { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] 95 | fn update_force(&self, particle: Rc>, duration: real) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_registration`, `remove_registration`, `clear_registry`, and `update_registry_forces` are never used [INFO] [stdout] --> src/particle.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> ParticleRegistry<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn add_registration(&mut self, registration: &'a mut ParticleRegistration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn remove_registration(&mut self, registration: &'a mut ParticleRegistration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn clear_registry(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn update_registry_forces(&mut self, duration: real) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/renderer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const PI: f32 = 3.1415; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Color` is never used [INFO] [stdout] --> src/renderer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SimpleColor` is never used [INFO] [stdout] --> src/renderer.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SimpleColor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_pixel` and `clear` are never used [INFO] [stdout] --> src/renderer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 25 | pub fn draw_pixel(&mut self, position: (u32, u32), color: SimpleColor) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn clear(&mut self, color: SimpleColor) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is never used [INFO] [stdout] --> src/renderer.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Draw { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/renderer.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(lenght: u32, height: u32, position: (u32, u32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/renderer.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `length_of_line` are never used [INFO] [stdout] --> src/renderer.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 78 | pub fn new(pos_1: (u32, u32), pos_2: (u32, u32)) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn length_of_line(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.17s [INFO] running `Command { std: "docker" "inspect" "27b851aaa755458bc3a2ffbf6080d00ebcf4496d0840c6574afaac3d1133c739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b851aaa755458bc3a2ffbf6080d00ebcf4496d0840c6574afaac3d1133c739", kill_on_drop: false }` [INFO] [stdout] 27b851aaa755458bc3a2ffbf6080d00ebcf4496d0840c6574afaac3d1133c739