[INFO] cloning repository https://github.com/Rory-Vivian/RV-CompSci-NEA [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rory-Vivian/RV-CompSci-NEA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRory-Vivian%2FRV-CompSci-NEA", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRory-Vivian%2FRV-CompSci-NEA'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42585d3d5967b6b834352435ceeba1f5a7ebd866 [INFO] building Rory-Vivian/RV-CompSci-NEA against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRory-Vivian%2FRV-CompSci-NEA" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rory-Vivian/RV-CompSci-NEA [INFO] finished tweaking git repo https://github.com/Rory-Vivian/RV-CompSci-NEA [INFO] tweaked toml for git repo https://github.com/Rory-Vivian/RV-CompSci-NEA written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rory-Vivian/RV-CompSci-NEA on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rory-Vivian/RV-CompSci-NEA 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10aaed97b9b8501b38155ae1e4a0cc3d6ddf07c16c50873b63810e63139952a0 [INFO] running `Command { std: "docker" "start" "-a" "10aaed97b9b8501b38155ae1e4a0cc3d6ddf07c16c50873b63810e63139952a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10aaed97b9b8501b38155ae1e4a0cc3d6ddf07c16c50873b63810e63139952a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10aaed97b9b8501b38155ae1e4a0cc3d6ddf07c16c50873b63810e63139952a0", kill_on_drop: false }` [INFO] [stdout] 10aaed97b9b8501b38155ae1e4a0cc3d6ddf07c16c50873b63810e63139952a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 20043c9e412bb226c05b57dc8be922b28edcce6e584883968f0a54a08a5d166a [INFO] running `Command { std: "docker" "start" "-a" "20043c9e412bb226c05b57dc8be922b28edcce6e584883968f0a54a08a5d166a", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling RoryVivianCSNEA v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::PartialEq` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialEq; [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 import: `std::thread::park_timeout_ms` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::park_timeout_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen_range` and `rand` [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::rand::{gen_range, rand}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `QuadTree`, and `dt` [INFO] [stdout] --> src/main.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::measurements::{dt, QuadTree, Rect, Particle, Point}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::park_timeout_ms`: replaced by `std::thread::park_timeout` [INFO] [stdout] --> src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::park_timeout_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut boundary = Rect::new(0., 0., 100.0, 100.0); [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: `ball` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let ball = Object::create(circ, 3.85, PhysicsType::Dynamic); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ball` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let rect = Object::create(sqr, 3.85, PhysicsType::Static); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | for i in 0..phys_object.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/measurements/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuadTree` is never constructed [INFO] [stdout] --> src/measurements/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct QuadTree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `intersects` are never used [INFO] [stdout] --> src/measurements/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Rect { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn contains(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn intersects(&self, range: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/measurements/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(x: f32, y: f32, index: usize) -> Point { Point { x, y, index } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `subdivide`, `insert`, `query`, and `show` are never used [INFO] [stdout] --> src/measurements/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl QuadTree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 58 | pub(crate) fn new(boundary: Rect, capacity: usize) -> QuadTree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn subdivide(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn insert(&mut self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub(crate) fn query(&mut self, range: &Rect) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn show(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `r`, and `highlight` are never read [INFO] [stdout] --> src/measurements/mod.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 166 | pub(crate) x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 167 | pub(crate) y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 168 | pub(crate) r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 169 | pub highlight: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_process`, `render`, and `intersects` are never used [INFO] [stdout] --> src/measurements/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Particle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn move_process(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn render(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn intersects(&self, other: &Particle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_sqr` is never used [INFO] [stdout] --> src/measurements/mod.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn distance_sqr(p1: Vec2, p2: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_air_resistance` is never read [INFO] [stdout] --> src/objects/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub (crate) struct Object where T: Render { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | has_air_resistance: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.05s [INFO] running `Command { std: "docker" "inspect" "20043c9e412bb226c05b57dc8be922b28edcce6e584883968f0a54a08a5d166a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20043c9e412bb226c05b57dc8be922b28edcce6e584883968f0a54a08a5d166a", kill_on_drop: false }` [INFO] [stdout] 20043c9e412bb226c05b57dc8be922b28edcce6e584883968f0a54a08a5d166a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 868ffb16a281b1d4a21d19eb8359516f4bdb690325c96493c0fa15f7c4e075e3 [INFO] running `Command { std: "docker" "start" "-a" "868ffb16a281b1d4a21d19eb8359516f4bdb690325c96493c0fa15f7c4e075e3", kill_on_drop: false }` [INFO] [stderr] Compiling RoryVivianCSNEA v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::PartialEq` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialEq; [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 import: `std::thread::park_timeout_ms` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::park_timeout_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen_range` and `rand` [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::rand::{gen_range, rand}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `QuadTree`, and `dt` [INFO] [stdout] --> src/main.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::measurements::{dt, QuadTree, Rect, Particle, Point}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::park_timeout_ms`: replaced by `std::thread::park_timeout` [INFO] [stdout] --> src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::park_timeout_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut boundary = Rect::new(0., 0., 100.0, 100.0); [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: `ball` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let ball = Object::create(circ, 3.85, PhysicsType::Dynamic); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ball` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let rect = Object::create(sqr, 3.85, PhysicsType::Static); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | for i in 0..phys_object.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/measurements/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuadTree` is never constructed [INFO] [stdout] --> src/measurements/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct QuadTree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `intersects` are never used [INFO] [stdout] --> src/measurements/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Rect { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn contains(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn intersects(&self, range: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/measurements/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(x: f32, y: f32, index: usize) -> Point { Point { x, y, index } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `subdivide`, `insert`, `query`, and `show` are never used [INFO] [stdout] --> src/measurements/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl QuadTree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 58 | pub(crate) fn new(boundary: Rect, capacity: usize) -> QuadTree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn subdivide(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn insert(&mut self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub(crate) fn query(&mut self, range: &Rect) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn show(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `r`, and `highlight` are never read [INFO] [stdout] --> src/measurements/mod.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Particle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 166 | pub(crate) x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 167 | pub(crate) y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 168 | pub(crate) r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 169 | pub highlight: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Particle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_process`, `render`, and `intersects` are never used [INFO] [stdout] --> src/measurements/mod.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl Particle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn move_process(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn render(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn intersects(&self, other: &Particle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_sqr` is never used [INFO] [stdout] --> src/measurements/mod.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn distance_sqr(p1: Vec2, p2: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_air_resistance` is never read [INFO] [stdout] --> src/objects/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub (crate) struct Object where T: Render { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | has_air_resistance: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "868ffb16a281b1d4a21d19eb8359516f4bdb690325c96493c0fa15f7c4e075e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868ffb16a281b1d4a21d19eb8359516f4bdb690325c96493c0fa15f7c4e075e3", kill_on_drop: false }` [INFO] [stdout] 868ffb16a281b1d4a21d19eb8359516f4bdb690325c96493c0fa15f7c4e075e3