[INFO] cloning repository https://github.com/ozymandiaslone/para-genesis [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" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b9b5dc8bc642edc36d960bec1dc78a39d713543 [INFO] checking ozymandiaslone/para-genesis against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ozymandiaslone/para-genesis on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ozymandiaslone/para-genesis [INFO] finished tweaking git repo https://github.com/ozymandiaslone/para-genesis [INFO] tweaked toml for git repo https://github.com/ozymandiaslone/para-genesis written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ozymandiaslone/para-genesis 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded crow v0.7.2 [INFO] [stderr] Downloaded noise v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2363a1db9a5d9d72079eb6436e9a9ab1a197e7245355f6b574726b12a3d36927 [INFO] running `Command { std: "docker" "start" "-a" "2363a1db9a5d9d72079eb6436e9a9ab1a197e7245355f6b574726b12a3d36927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2363a1db9a5d9d72079eb6436e9a9ab1a197e7245355f6b574726b12a3d36927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2363a1db9a5d9d72079eb6436e9a9ab1a197e7245355f6b574726b12a3d36927", kill_on_drop: false }` [INFO] [stdout] 2363a1db9a5d9d72079eb6436e9a9ab1a197e7245355f6b574726b12a3d36927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfe4eaf9e240beaf5c398531fcec32087bf826c79457db773b716ae737648b67 [INFO] running `Command { std: "docker" "start" "-a" "cfe4eaf9e240beaf5c398531fcec32087bf826c79457db773b716ae737648b67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking lock_api v0.4.11 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking crow v0.7.2 [INFO] [stderr] Checking para-genesis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, `Rgba` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Duration`, `Instant`, `SystemTime` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, Instant, Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture`, `WindowSurface` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Context, DrawConfig, Texture, WindowSurface, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, `Rgba` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Duration`, `Instant`, `SystemTime` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, Instant, Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture`, `WindowSurface` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Context, DrawConfig, Texture, WindowSurface, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/star.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn update_physics(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/star.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | camera: &mut Camera, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/physics.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 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: `test_draw_config` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let test_draw_config = DrawConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_draw_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [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:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_particle` is never used [INFO] [stdout] --> src/star.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | fn initialize_particle(win_width: i32, win_height: i32, ctx: &mut Context) -> Star { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xvel`, `yvel`, and `force_vectors` are never used [INFO] [stdout] --> src/physics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait PhysObj { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn xvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn yvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | fn mass(&self) -> u64; [INFO] [stdout] 10 | fn force_vectors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/physics.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | 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/physics.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, `setx`, `sety`, and `zoom` are never used [INFO] [stdout] --> src/camera.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn setx(&mut self, x: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn sety(&mut self, y: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn zoom(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/star.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn update_physics(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/star.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | camera: &mut Camera, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/physics.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 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: `test_draw_config` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let test_draw_config = DrawConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_draw_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [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:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_particle` is never used [INFO] [stdout] --> src/star.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | fn initialize_particle(win_width: i32, win_height: i32, ctx: &mut Context) -> Star { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xvel`, `yvel`, and `force_vectors` are never used [INFO] [stdout] --> src/physics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait PhysObj { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn xvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn yvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | fn mass(&self) -> u64; [INFO] [stdout] 10 | fn force_vectors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/physics.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | 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/physics.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, `setx`, `sety`, and `zoom` are never used [INFO] [stdout] --> src/camera.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn setx(&mut self, x: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn sety(&mut self, y: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn zoom(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.56s [INFO] running `Command { std: "docker" "inspect" "cfe4eaf9e240beaf5c398531fcec32087bf826c79457db773b716ae737648b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe4eaf9e240beaf5c398531fcec32087bf826c79457db773b716ae737648b67", kill_on_drop: false }` [INFO] [stdout] cfe4eaf9e240beaf5c398531fcec32087bf826c79457db773b716ae737648b67 [INFO] checking ozymandiaslone/para-genesis against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ozymandiaslone/para-genesis on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ozymandiaslone/para-genesis [INFO] finished tweaking git repo https://github.com/ozymandiaslone/para-genesis [INFO] tweaked toml for git repo https://github.com/ozymandiaslone/para-genesis written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ozymandiaslone/para-genesis 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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5262099873d21af198536c80895f599095f936d5e3f675552e733f967fe64582 [INFO] running `Command { std: "docker" "start" "-a" "5262099873d21af198536c80895f599095f936d5e3f675552e733f967fe64582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5262099873d21af198536c80895f599095f936d5e3f675552e733f967fe64582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5262099873d21af198536c80895f599095f936d5e3f675552e733f967fe64582", kill_on_drop: false }` [INFO] [stdout] 5262099873d21af198536c80895f599095f936d5e3f675552e733f967fe64582 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f32091046b19fdeeaaa50331ae0abc3021400f9a3ba50237e22ba0d9dc115b0c [INFO] running `Command { std: "docker" "start" "-a" "f32091046b19fdeeaaa50331ae0abc3021400f9a3ba50237e22ba0d9dc115b0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking lock_api v0.4.11 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking crow v0.7.2 [INFO] [stderr] Checking para-genesis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, `Rgba` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Duration`, `Instant`, `SystemTime` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, Instant, Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture`, `WindowSurface` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Context, DrawConfig, Texture, WindowSurface, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, `Rgba` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 imports: `Duration`, `Instant`, `SystemTime` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{SystemTime, Instant, Duration}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture`, `WindowSurface` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | Context, DrawConfig, Texture, WindowSurface, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/star.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn update_physics(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/star.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | camera: &mut Camera, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/physics.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 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: `test_draw_config` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let test_draw_config = DrawConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_draw_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [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:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_particle` is never used [INFO] [stdout] --> src/star.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | fn initialize_particle(win_width: i32, win_height: i32, ctx: &mut Context) -> Star { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xvel`, `yvel`, and `force_vectors` are never used [INFO] [stdout] --> src/physics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait PhysObj { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn xvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn yvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | fn mass(&self) -> u64; [INFO] [stdout] 10 | fn force_vectors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/physics.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | 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/physics.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, `setx`, `sety`, and `zoom` are never used [INFO] [stdout] --> src/camera.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn setx(&mut self, x: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn sety(&mut self, y: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn zoom(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/star.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn update_physics(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/star.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | camera: &mut Camera, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/physics.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 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: `test_draw_config` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let test_draw_config = DrawConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_draw_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [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:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut desired_width, mut desired_height): (u32, u32) = (1920, 1080); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize_particle` is never used [INFO] [stdout] --> src/star.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | fn initialize_particle(win_width: i32, win_height: i32, ctx: &mut Context) -> Star { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xvel`, `yvel`, and `force_vectors` are never used [INFO] [stdout] --> src/physics.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait PhysObj { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn xvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn yvel(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | fn mass(&self) -> u64; [INFO] [stdout] 10 | fn force_vectors(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fast_inverse_sqrt` is never used [INFO] [stdout] --> src/physics.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | 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/physics.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn fast_root(n :f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 6 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, `setx`, `sety`, and `zoom` are never used [INFO] [stdout] --> src/camera.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn setx(&mut self, x: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn sety(&mut self, y: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn zoom(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.69s [INFO] running `Command { std: "docker" "inspect" "f32091046b19fdeeaaa50331ae0abc3021400f9a3ba50237e22ba0d9dc115b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32091046b19fdeeaaa50331ae0abc3021400f9a3ba50237e22ba0d9dc115b0c", kill_on_drop: false }` [INFO] [stdout] f32091046b19fdeeaaa50331ae0abc3021400f9a3ba50237e22ba0d9dc115b0c