[INFO] cloning repository https://github.com/ozymandiaslone/para-genesis-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ozymandiaslone/para-genesis-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a2bac63d03dfcc8c6a787083743fae5c6470b3f [INFO] checking ozymandiaslone/para-genesis-1 against master#80399064afa4a2cd153f30d02c25f7ea0383ed65 for opaque-soundness-fix [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis-1" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ozymandiaslone/para-genesis-1 on toolchain 80399064afa4a2cd153f30d02c25f7ea0383ed65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ozymandiaslone/para-genesis-1 [INFO] finished tweaking git repo https://github.com/ozymandiaslone/para-genesis-1 [INFO] tweaked toml for git repo https://github.com/ozymandiaslone/para-genesis-1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ozymandiaslone/para-genesis-1 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" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f2c0e826763873043d5995ecdbb4959b628a6d4c41c836f002d781db4f4ff22 [INFO] running `Command { std: "docker" "start" "-a" "6f2c0e826763873043d5995ecdbb4959b628a6d4c41c836f002d781db4f4ff22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f2c0e826763873043d5995ecdbb4959b628a6d4c41c836f002d781db4f4ff22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2c0e826763873043d5995ecdbb4959b628a6d4c41c836f002d781db4f4ff22", kill_on_drop: false }` [INFO] [stdout] 6f2c0e826763873043d5995ecdbb4959b628a6d4c41c836f002d781db4f4ff22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80399064afa4a2cd153f30d02c25f7ea0383ed65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b61620aaaafa04a89b4b0d7c66c9af554cfb235aba6bcc59fa3d9dbba83c65 [INFO] running `Command { std: "docker" "start" "-a" "a8b61620aaaafa04a89b4b0d7c66c9af554cfb235aba6bcc59fa3d9dbba83c65", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking bumpalo v3.15.3 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking para-genesis-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, `Rgba` [INFO] [stdout] --> src/star.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{ImageBuffer, Rgba, ImageOutputFormat}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/star.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/star.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/star.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, `Rgba` [INFO] [stdout] --> src/star.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{ImageBuffer, Rgba, ImageOutputFormat}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/star.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/star.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/star.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/physics.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | let r2 = (dx*dx + dy*dy); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - let r2 = (dx*dx + dy*dy); [INFO] [stdout] 67 + let r2 = dx*dx + dy*dy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | bodies[j].update_xpos((overlap * nx / distance)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - bodies[j].update_xpos((overlap * nx / distance)); [INFO] [stdout] 151 + bodies[j].update_xpos(overlap * nx / distance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | bodies[j].update_ypos((overlap * ny / distance)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - bodies[j].update_ypos((overlap * ny / distance)); [INFO] [stdout] 152 + bodies[j].update_ypos(overlap * ny / distance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | bodies[j].update_xvel((1. / jmass as f32 * impulse_x)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - bodies[j].update_xvel((1. / jmass as f32 * impulse_x)); [INFO] [stdout] 184 + bodies[j].update_xvel(1. / jmass as f32 * impulse_x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | bodies[j].update_yvel((1. / jmass as f32 * impulse_y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - bodies[j].update_yvel((1. / jmass as f32 * impulse_y)); [INFO] [stdout] 185 + bodies[j].update_yvel(1. / jmass as f32 * impulse_y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::*` [INFO] [stdout] --> src/ships.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::texture::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/physics.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | let r2 = (dx*dx + dy*dy); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - let r2 = (dx*dx + dy*dy); [INFO] [stdout] 67 + let r2 = dx*dx + dy*dy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | bodies[j].update_xpos((overlap * nx / distance)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - bodies[j].update_xpos((overlap * nx / distance)); [INFO] [stdout] 151 + bodies[j].update_xpos(overlap * nx / distance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | bodies[j].update_ypos((overlap * ny / distance)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 - bodies[j].update_ypos((overlap * ny / distance)); [INFO] [stdout] 152 + bodies[j].update_ypos(overlap * ny / distance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | bodies[j].update_xvel((1. / jmass as f32 * impulse_x)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - bodies[j].update_xvel((1. / jmass as f32 * impulse_x)); [INFO] [stdout] 184 + bodies[j].update_xvel(1. / jmass as f32 * impulse_x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | bodies[j].update_yvel((1. / jmass as f32 * impulse_y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - bodies[j].update_yvel((1. / jmass as f32 * impulse_y)); [INFO] [stdout] 185 + bodies[j].update_yvel(1. / jmass as f32 * impulse_y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::*` [INFO] [stdout] --> src/ships.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::texture::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut fs = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_wheel_x` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (mouse_wheel_x, mouse_wheel_y) = mouse_wheel(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_wheel_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_zoom` [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let o_zoom = camera.zoom; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_zoom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut fs = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_wheel_x` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (mouse_wheel_x, mouse_wheel_y) = mouse_wheel(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_wheel_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_zoom` [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let o_zoom = camera.zoom; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_zoom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut fs = false; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut fs = false; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut player_ship = PlayerShip::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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut player_ship = PlayerShip::new( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/physics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/physics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_x` [INFO] [stdout] --> src/star.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let (tex_x, tex_y) = (self.frames[self.frame_idx].width(), self.frames[self.frame_idx].height()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_y` [INFO] [stdout] --> src/star.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let (tex_x, tex_y) = (self.frames[self.frame_idx].width(), self.frames[self.frame_idx].height()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_x` [INFO] [stdout] --> src/star.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let (tex_x, tex_y) = (self.frames[self.frame_idx].width(), self.frames[self.frame_idx].height()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_y` [INFO] [stdout] --> src/star.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let (tex_x, tex_y) = (self.frames[self.frame_idx].width(), self.frames[self.frame_idx].height()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/physics.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let theta = f32::atan2(fy, fx); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/physics.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let theta = f32::atan2(fy, fx); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `relx` [INFO] [stdout] --> src/physics.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let relx = (bodies[i].xvel() - bodies[j].xvel()).abs(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_relx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rely` [INFO] [stdout] --> src/physics.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let rely = (bodies[i].yvel() - bodies[j].yvel()).abs(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rely` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `relx` [INFO] [stdout] --> src/physics.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let relx = (bodies[i].xvel() - bodies[j].xvel()).abs(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_relx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star1` [INFO] [stdout] --> src/physics.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(star1) = potential_star1 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_star1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rely` [INFO] [stdout] --> src/physics.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let rely = (bodies[i].yvel() - bodies[j].yvel()).abs(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rely` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star2` [INFO] [stdout] --> src/physics.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(star2) = potential_star2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_star2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star1` [INFO] [stdout] --> src/physics.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(star1) = potential_star1 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_star1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star2` [INFO] [stdout] --> src/physics.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(star2) = potential_star2 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_star2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | fn update_ship_velocity(mut player_ship: &mut Box) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lerp_factor` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let lerp_factor = 0.6; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lerp_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | fn update_ship_velocity(mut player_ship: &mut Box) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lerp_factor` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let lerp_factor = 0.6; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lerp_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_clamp` is never used [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn log_clamp(value: f64, max_value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_clamp` is never used [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn log_clamp(value: f64, max_value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/star.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn fast_inverse_sqrt(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/star.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn fast_inverse_sqrt(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_root` is never used [INFO] [stdout] --> src/star.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_particle` is never used [INFO] [stdout] --> src/star.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | async fn initialize_particle(win_width: i32, win_height: i32) -> Star { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_root` is never used [INFO] [stdout] --> src/star.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `force_vectors` is never used [INFO] [stdout] --> src/physics.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait PhysObj { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn force_vectors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_particle` is never used [INFO] [stdout] --> src/star.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | async fn initialize_particle(win_width: i32, win_height: i32) -> Star { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/physics.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn fast_inverse_sqrt(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `force_vectors` is never used [INFO] [stdout] --> src/physics.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait PhysObj { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn force_vectors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_root` is never used [INFO] [stdout] --> src/physics.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/physics.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn fast_inverse_sqrt(n: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_zoom` is never used [INFO] [stdout] --> src/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ZCamera { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add_zoom(&mut self, dz: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_root` is never used [INFO] [stdout] --> src/physics.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_zoom` is never used [INFO] [stdout] --> src/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ZCamera { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add_zoom(&mut self, dz: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "a8b61620aaaafa04a89b4b0d7c66c9af554cfb235aba6bcc59fa3d9dbba83c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b61620aaaafa04a89b4b0d7c66c9af554cfb235aba6bcc59fa3d9dbba83c65", kill_on_drop: false }` [INFO] [stdout] a8b61620aaaafa04a89b4b0d7c66c9af554cfb235aba6bcc59fa3d9dbba83c65