[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] building ozymandiaslone/para-genesis against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozymandiaslone%2Fpara-genesis" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ozymandiaslone/para-genesis on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 057742d9366bb230ffcc513d5fb2790a0d9b5e7c8e584161fa4f236e9bd0601a
[INFO] running `Command { std: "docker" "start" "-a" "057742d9366bb230ffcc513d5fb2790a0d9b5e7c8e584161fa4f236e9bd0601a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "057742d9366bb230ffcc513d5fb2790a0d9b5e7c8e584161fa4f236e9bd0601a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "057742d9366bb230ffcc513d5fb2790a0d9b5e7c8e584161fa4f236e9bd0601a", kill_on_drop: false }`
[INFO] [stdout] 057742d9366bb230ffcc513d5fb2790a0d9b5e7c8e584161fa4f236e9bd0601a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b59cabc2254c29bca1b3f2b168e07d2d1bf799d0a14a80e2622c009ee22296c
[INFO] running `Command { std: "docker" "start" "-a" "4b59cabc2254c29bca1b3f2b168e07d2d1bf799d0a14a80e2622c009ee22296c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling xdg v2.5.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling bytemuck v1.14.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling parking_lot_core v0.7.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling raw-window-handle v0.3.4
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling png v0.17.11
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling exr v1.71.0
[INFO] [stderr]    Compiling rand_xorshift v0.2.0
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling noise v0.8.2
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling image v0.24.8
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling glutin v0.24.1
[INFO] [stderr]    Compiling crow v0.7.2
[INFO] [stderr]    Compiling para-genesis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, and `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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `Instant`, and `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` and `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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] 
[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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[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 `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<ForceVector>;
[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: unnecessary transmute
[INFO] [stdout]    --> src/star.rs:279:22
[INFO] [stdout]     |
[INFO] [stdout] 279 |     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 279 -     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout] 279 +     let i = unsafe { f32::to_bits(n).cast_signed() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/star.rs:281:22
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 281 -     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout] 281 +     let y = unsafe { f32::from_bits(i32::cast_unsigned(j)) };
[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: 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: unnecessary transmute
[INFO] [stdout]   --> src/physics.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout] 58 +     let i = unsafe { f32::to_bits(n).cast_signed() };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/physics.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 60 -     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout] 60 +     let y = unsafe { f32::from_bits(i32::cast_unsigned(j)) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] running `Command { std: "docker" "inspect" "4b59cabc2254c29bca1b3f2b168e07d2d1bf799d0a14a80e2622c009ee22296c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b59cabc2254c29bca1b3f2b168e07d2d1bf799d0a14a80e2622c009ee22296c", kill_on_drop: false }`
[INFO] [stdout] 4b59cabc2254c29bca1b3f2b168e07d2d1bf799d0a14a80e2622c009ee22296c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1519a9aadd40cbac5a57fe9085bceb4e9e88a8cb1fd518f99cfbb2d2c9e2b3a
[INFO] running `Command { std: "docker" "start" "-a" "f1519a9aadd40cbac5a57fe9085bceb4e9e88a8cb1fd518f99cfbb2d2c9e2b3a", kill_on_drop: false }`
[INFO] [stderr]    Compiling para-genesis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ImageBuffer`, `ImageOutputFormat`, and `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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `Instant`, and `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` and `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: `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]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] 
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<ForceVector>;
[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: unnecessary transmute
[INFO] [stdout]    --> src/star.rs:279:22
[INFO] [stdout]     |
[INFO] [stdout] 279 |     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 279 -     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout] 279 +     let i = unsafe { f32::to_bits(n).cast_signed() };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/star.rs:281:22
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 281 -     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout] 281 +     let y = unsafe { f32::from_bits(i32::cast_unsigned(j)) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/physics.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -     let i = unsafe { std::mem::transmute::<f32, i32>(n) };
[INFO] [stdout] 58 +     let i = unsafe { f32::to_bits(n).cast_signed() };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/physics.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 60 -     let y = unsafe { std::mem::transmute::<i32, f32>(j) };
[INFO] [stdout] 60 +     let y = unsafe { f32::from_bits(i32::cast_unsigned(j)) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "f1519a9aadd40cbac5a57fe9085bceb4e9e88a8cb1fd518f99cfbb2d2c9e2b3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1519a9aadd40cbac5a57fe9085bceb4e9e88a8cb1fd518f99cfbb2d2c9e2b3a", kill_on_drop: false }`
[INFO] [stdout] f1519a9aadd40cbac5a57fe9085bceb4e9e88a8cb1fd518f99cfbb2d2c9e2b3a
