[INFO] cloning repository https://github.com/kiyami/sim2D
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kiyami/sim2D" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiyami%2Fsim2D", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiyami%2Fsim2D'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8ac81aae287a27e483aa1e7538b0124291b83f3
[INFO] testing kiyami/sim2D against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiyami%2Fsim2D" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kiyami/sim2D on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kiyami/sim2D
[INFO] finished tweaking git repo https://github.com/kiyami/sim2D
[INFO] tweaked toml for git repo https://github.com/kiyami/sim2D written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/kiyami/sim2D already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c06ff8e195dbe2000c61a9dd864c58810000543152e6bb7b1e2bb8e7c389d7b
[INFO] running `Command { std: "docker" "start" "-a" "3c06ff8e195dbe2000c61a9dd864c58810000543152e6bb7b1e2bb8e7c389d7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c06ff8e195dbe2000c61a9dd864c58810000543152e6bb7b1e2bb8e7c389d7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c06ff8e195dbe2000c61a9dd864c58810000543152e6bb7b1e2bb8e7c389d7b", kill_on_drop: false }`
[INFO] [stdout] 3c06ff8e195dbe2000c61a9dd864c58810000543152e6bb7b1e2bb8e7c389d7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48042c6ecd51e4a5bb08a0f3b729197b7e98b4d7f61fdc6bc0933e0c28224667
[INFO] running `Command { std: "docker" "start" "-a" "48042c6ecd51e4a5bb08a0f3b729197b7e98b4d7f61fdc6bc0933e0c28224667", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.51
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling syn v0.15.32
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling cc v1.0.35
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling piston-float v0.3.0
[INFO] [stderr]    Compiling nix v0.13.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling downcast-rs v1.0.4
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling shader_version v0.3.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling piston-texture v0.6.0
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling piston-viewport v0.5.0
[INFO] [stderr]    Compiling vecmath v0.3.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling gif v0.10.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling deflate v0.7.19
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.12
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rusttype v0.7.6
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling png v0.14.0
[INFO] [stderr]    Compiling wayland-sys v0.21.12
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling piston2d-graphics v0.30.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling wayland-client v0.21.12
[INFO] [stderr]    Compiling wayland-protocols v0.21.12
[INFO] [stderr]    Compiling wayland-commons v0.21.12
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling image v0.21.1
[INFO] [stderr]    Compiling pistoncore-input v0.24.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.59.0
[INFO] [stderr]    Compiling pistoncore-window v0.37.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.42.0
[INFO] [stderr]    Compiling piston v0.42.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.5
[INFO] [stderr]    Compiling winit v0.18.1
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.54.0
[INFO] [stderr]    Compiling sim2D v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OpenGL`
[INFO] [stdout]  --> src/space.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | use opengl_graphics::{ GlGraphics, OpenGL };
[INFO] [stdout]   |                                    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `particle::Particle`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use particle::Particle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/space.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         for i in 0..n {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/space.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         for i in 0..(n-1) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/space.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let e = 0.2;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/space.rs:185:30
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/space.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut empty_particle_vector: Vec<Particle> = vec![];
[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/space.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut initial_particle = Particle::new(init_pos, init_vel, init_acc, init_f, init_m, init_r, init_c);
[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/space.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut initial_particle = Particle::new(init_pos, init_vel, init_acc, init_f, init_m, init_r, init_c);
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `solar_mass` is never used
[INFO] [stdout]   --> src/particle.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const solar_mass: f64 = 1.9891e30; // kg
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_m` is never used
[INFO] [stdout]   --> src/particle.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const mpc_to_m: f64 = 3.08567758128e22;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `m_to_mpc` is never used
[INFO] [stdout]   --> src/particle.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const m_to_mpc: f64 = 3.240779289e-23;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `pixel_to_mpc` is never used
[INFO] [stdout]   --> src/particle.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const pixel_to_mpc: f64 = 0.01;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_pixel` is never used
[INFO] [stdout]   --> src/particle.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const mpc_to_pixel: f64 = 100.0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `info` is never used
[INFO] [stdout]   --> src/vector.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn info(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_squared` is never used
[INFO] [stdout]   --> src/vector.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn length_squared(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sum` is never used
[INFO] [stdout]   --> src/vector.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn sum(v1: &Vector, v2: &Vector) -> Vector {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `fill_2` is never used
[INFO] [stdout]   --> src/space.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn fill_2(size: &[u32; 2], n: u32, gl: GlGraphics) -> Space {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORANGE` is never used
[INFO] [stdout]    --> src/space.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         const ORANGE:   [f32; 4] = [0.9, 0.8, 0.6, 0.8];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]    --> src/space.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         const BLUE:   [f32; 4] = [0.5, 0.7, 0.8, 0.8];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK` is never used
[INFO] [stdout]    --> src/space.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         const BLACK:   [f32; 4] = [0.0, 0.0, 0.0, 1.0];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]    --> src/space.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         const WHITE:   [f32; 4] = [1.0, 1.0, 1.0, 1.0];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `sim2D` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `sim2_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `solar_mass` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const solar_mass: f64 = 1.9891e30; // kg
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `SOLAR_MASS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_m` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const mpc_to_m: f64 = 3.08567758128e22;
[INFO] [stdout]    |               ^^^^^^^^ help: convert the identifier to upper case: `MPC_TO_M`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `m_to_mpc` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const m_to_mpc: f64 = 3.240779289e-23;
[INFO] [stdout]    |               ^^^^^^^^ help: convert the identifier to upper case: `M_TO_MPC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `pixel_to_mpc` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const pixel_to_mpc: f64 = 0.01;
[INFO] [stdout]    |               ^^^^^^^^^^^^ help: convert the identifier to upper case: `PIXEL_TO_MPC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_pixel` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const mpc_to_pixel: f64 = 100.0;
[INFO] [stdout]    |               ^^^^^^^^^^^^ help: convert the identifier to upper case: `MPC_TO_PIXEL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `velocity_limits` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub const velocity_limits: [f64; 2] = [-5.0, 5.0];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `VELOCITY_LIMITS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mass_limits` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const mass_limits: [f64; 2] = [100.0, 1000.0]; // M_sun^e11;
[INFO] [stdout]    |               ^^^^^^^^^^^ help: convert the identifier to upper case: `MASS_LIMITS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `radius_limits` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const radius_limits: [f64; 2] = [2.0, 5.0];
[INFO] [stdout]    |               ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RADIUS_LIMITS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `G` should have a snake case name
[INFO] [stdout]    --> src/space.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let G = 0.001;
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 54s
[INFO] running `Command { std: "docker" "inspect" "48042c6ecd51e4a5bb08a0f3b729197b7e98b4d7f61fdc6bc0933e0c28224667", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48042c6ecd51e4a5bb08a0f3b729197b7e98b4d7f61fdc6bc0933e0c28224667", kill_on_drop: false }`
[INFO] [stdout] 48042c6ecd51e4a5bb08a0f3b729197b7e98b4d7f61fdc6bc0933e0c28224667
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97f32ac8844583d971a9c16f9463830bf0140101f03798f5c66d803ad633f68a
[INFO] running `Command { std: "docker" "start" "-a" "97f32ac8844583d971a9c16f9463830bf0140101f03798f5c66d803ad633f68a", kill_on_drop: false }`
[INFO] [stderr]    Compiling sim2D v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `OpenGL`
[INFO] [stdout]  --> src/space.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | use opengl_graphics::{ GlGraphics, OpenGL };
[INFO] [stdout]   |                                    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `particle::Particle`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use particle::Particle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/space.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         for i in 0..n {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/space.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         for i in 0..(n-1) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/space.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let e = 0.2;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]    --> src/space.rs:185:30
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/space.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut empty_particle_vector: Vec<Particle> = vec![];
[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/space.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut initial_particle = Particle::new(init_pos, init_vel, init_acc, init_f, init_m, init_r, init_c);
[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/space.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut initial_particle = Particle::new(init_pos, init_vel, init_acc, init_f, init_m, init_r, init_c);
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `solar_mass` is never used
[INFO] [stdout]   --> src/particle.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const solar_mass: f64 = 1.9891e30; // kg
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_m` is never used
[INFO] [stdout]   --> src/particle.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const mpc_to_m: f64 = 3.08567758128e22;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `m_to_mpc` is never used
[INFO] [stdout]   --> src/particle.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const m_to_mpc: f64 = 3.240779289e-23;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `pixel_to_mpc` is never used
[INFO] [stdout]   --> src/particle.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const pixel_to_mpc: f64 = 0.01;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_pixel` is never used
[INFO] [stdout]   --> src/particle.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const mpc_to_pixel: f64 = 100.0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `info` is never used
[INFO] [stdout]   --> src/vector.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn info(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length_squared` is never used
[INFO] [stdout]   --> src/vector.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn length_squared(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sum` is never used
[INFO] [stdout]   --> src/vector.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn sum(v1: &Vector, v2: &Vector) -> Vector {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `fill_2` is never used
[INFO] [stdout]   --> src/space.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn fill_2(size: &[u32; 2], n: u32, gl: GlGraphics) -> Space {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORANGE` is never used
[INFO] [stdout]    --> src/space.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         const ORANGE:   [f32; 4] = [0.9, 0.8, 0.6, 0.8];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]    --> src/space.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         const BLUE:   [f32; 4] = [0.5, 0.7, 0.8, 0.8];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK` is never used
[INFO] [stdout]    --> src/space.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         const BLACK:   [f32; 4] = [0.0, 0.0, 0.0, 1.0];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]    --> src/space.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         const WHITE:   [f32; 4] = [1.0, 1.0, 1.0, 1.0];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `sim2D` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `sim2_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `solar_mass` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub const solar_mass: f64 = 1.9891e30; // kg
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `SOLAR_MASS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_m` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const mpc_to_m: f64 = 3.08567758128e22;
[INFO] [stdout]    |               ^^^^^^^^ help: convert the identifier to upper case: `MPC_TO_M`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `m_to_mpc` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const m_to_mpc: f64 = 3.240779289e-23;
[INFO] [stdout]    |               ^^^^^^^^ help: convert the identifier to upper case: `M_TO_MPC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `pixel_to_mpc` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const pixel_to_mpc: f64 = 0.01;
[INFO] [stdout]    |               ^^^^^^^^^^^^ help: convert the identifier to upper case: `PIXEL_TO_MPC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mpc_to_pixel` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const mpc_to_pixel: f64 = 100.0;
[INFO] [stdout]    |               ^^^^^^^^^^^^ help: convert the identifier to upper case: `MPC_TO_PIXEL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `velocity_limits` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub const velocity_limits: [f64; 2] = [-5.0, 5.0];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `VELOCITY_LIMITS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `mass_limits` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const mass_limits: [f64; 2] = [100.0, 1000.0]; // M_sun^e11;
[INFO] [stdout]    |               ^^^^^^^^^^^ help: convert the identifier to upper case: `MASS_LIMITS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `radius_limits` should have an upper case name
[INFO] [stdout]   --> src/particle.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const radius_limits: [f64; 2] = [2.0, 5.0];
[INFO] [stdout]    |               ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RADIUS_LIMITS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `G` should have a snake case name
[INFO] [stdout]    --> src/space.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let G = 0.001;
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.48s
[INFO] running `Command { std: "docker" "inspect" "97f32ac8844583d971a9c16f9463830bf0140101f03798f5c66d803ad633f68a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97f32ac8844583d971a9c16f9463830bf0140101f03798f5c66d803ad633f68a", kill_on_drop: false }`
[INFO] [stdout] 97f32ac8844583d971a9c16f9463830bf0140101f03798f5c66d803ad633f68a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8c50b47a6ab42d722298ff83136a8fc3b6a2f4c602e42358a2738bac98fd606c
[INFO] running `Command { std: "docker" "start" "-a" "8c50b47a6ab42d722298ff83136a8fc3b6a2f4c602e42358a2738bac98fd606c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `OpenGL`
[INFO] [stderr]  --> src/space.rs:7:36
[INFO] [stderr]   |
[INFO] [stderr] 7 | use opengl_graphics::{ GlGraphics, OpenGL };
[INFO] [stderr]   |                                    ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `particle::Particle`
[INFO] [stderr]   --> src/main.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use particle::Particle;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `vector::Vector`
[INFO] [stderr]   --> src/main.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use vector::Vector;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::Rng`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rand::Rng;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/space.rs:48:13
[INFO] [stderr]    |
[INFO] [stderr] 48 |         for i in 0..n {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/space.rs:101:13
[INFO] [stderr]     |
[INFO] [stderr] 101 |         for i in 0..(n-1) {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/space.rs:140:13
[INFO] [stderr]     |
[INFO] [stderr] 140 |         let e = 0.2;
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `args`
[INFO] [stderr]    --> src/space.rs:185:30
[INFO] [stderr]     |
[INFO] [stderr] 185 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stderr]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/space.rs:24:13
[INFO] [stderr]    |
[INFO] [stderr] 24 |         let mut empty_particle_vector: Vec<Particle> = vec![];
[INFO] [stderr]    |             ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/space.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let mut initial_particle = Particle::new(init_pos, init_vel, init_acc, init_f, init_m, init_r, init_c);
[INFO] [stderr]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/space.rs:98:13
[INFO] [stderr]    |
[INFO] [stderr] 98 |         let mut initial_particle = Particle::new(init_pos, init_vel, init_acc, init_f, init_m, init_r, init_c);
[INFO] [stderr]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `solar_mass` is never used
[INFO] [stderr]   --> src/particle.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     pub const solar_mass: f64 = 1.9891e30; // kg
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `mpc_to_m` is never used
[INFO] [stderr]   --> src/particle.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub const mpc_to_m: f64 = 3.08567758128e22;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `m_to_mpc` is never used
[INFO] [stderr]   --> src/particle.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     pub const m_to_mpc: f64 = 3.240779289e-23;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `pixel_to_mpc` is never used
[INFO] [stderr]   --> src/particle.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub const pixel_to_mpc: f64 = 0.01;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `mpc_to_pixel` is never used
[INFO] [stderr]   --> src/particle.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub const mpc_to_pixel: f64 = 100.0;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `info` is never used
[INFO] [stderr]   --> src/vector.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 |     pub fn info(&self) {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `length_squared` is never used
[INFO] [stderr]   --> src/vector.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub fn length_squared(&self) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `sum` is never used
[INFO] [stderr]   --> src/vector.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn sum(v1: &Vector, v2: &Vector) -> Vector {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `fill_2` is never used
[INFO] [stderr]   --> src/space.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 87 |     pub fn fill_2(size: &[u32; 2], n: u32, gl: GlGraphics) -> Space {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ORANGE` is never used
[INFO] [stderr]    --> src/space.rs:165:9
[INFO] [stderr]     |
[INFO] [stderr] 165 |         const ORANGE:   [f32; 4] = [0.9, 0.8, 0.6, 0.8];
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BLUE` is never used
[INFO] [stderr]    --> src/space.rs:166:9
[INFO] [stderr]     |
[INFO] [stderr] 166 |         const BLUE:   [f32; 4] = [0.5, 0.7, 0.8, 0.8];
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BLACK` is never used
[INFO] [stderr]    --> src/space.rs:167:9
[INFO] [stderr]     |
[INFO] [stderr] 167 |         const BLACK:   [f32; 4] = [0.0, 0.0, 0.0, 1.0];
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `WHITE` is never used
[INFO] [stderr]    --> src/space.rs:168:9
[INFO] [stderr]     |
[INFO] [stderr] 168 |         const WHITE:   [f32; 4] = [1.0, 1.0, 1.0, 1.0];
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: crate `sim2D` should have a snake case name
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr]   = help: convert the identifier to snake case: `sim2_d`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `solar_mass` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:16:15
[INFO] [stderr]    |
[INFO] [stderr] 16 |     pub const solar_mass: f64 = 1.9891e30; // kg
[INFO] [stderr]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `SOLAR_MASS`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `mpc_to_m` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:17:15
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub const mpc_to_m: f64 = 3.08567758128e22;
[INFO] [stderr]    |               ^^^^^^^^ help: convert the identifier to upper case: `MPC_TO_M`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `m_to_mpc` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:18:15
[INFO] [stderr]    |
[INFO] [stderr] 18 |     pub const m_to_mpc: f64 = 3.240779289e-23;
[INFO] [stderr]    |               ^^^^^^^^ help: convert the identifier to upper case: `M_TO_MPC`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `pixel_to_mpc` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub const pixel_to_mpc: f64 = 0.01;
[INFO] [stderr]    |               ^^^^^^^^^^^^ help: convert the identifier to upper case: `PIXEL_TO_MPC`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `mpc_to_pixel` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:20:15
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub const mpc_to_pixel: f64 = 100.0;
[INFO] [stderr]    |               ^^^^^^^^^^^^ help: convert the identifier to upper case: `MPC_TO_PIXEL`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `velocity_limits` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 |     pub const velocity_limits: [f64; 2] = [-5.0, 5.0];
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `VELOCITY_LIMITS`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `mass_limits` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub const mass_limits: [f64; 2] = [100.0, 1000.0]; // M_sun^e11;
[INFO] [stderr]    |               ^^^^^^^^^^^ help: convert the identifier to upper case: `MASS_LIMITS`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constant `radius_limits` should have an upper case name
[INFO] [stderr]   --> src/particle.rs:24:15
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub const radius_limits: [f64; 2] = [2.0, 5.0];
[INFO] [stderr]    |               ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RADIUS_LIMITS`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `G` should have a snake case name
[INFO] [stderr]    --> src/space.rs:139:13
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let G = 0.001;
[INFO] [stderr]     |             ^ help: convert the identifier to snake case: `g`
[INFO] [stderr] 
[INFO] [stderr] warning: `sim2D` (bin "sim2D" test) generated 34 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.87s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sim2D-7f45902bcfd4f0a6)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8c50b47a6ab42d722298ff83136a8fc3b6a2f4c602e42358a2738bac98fd606c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c50b47a6ab42d722298ff83136a8fc3b6a2f4c602e42358a2738bac98fd606c", kill_on_drop: false }`
[INFO] [stdout] 8c50b47a6ab42d722298ff83136a8fc3b6a2f4c602e42358a2738bac98fd606c
