[INFO] cloning repository https://github.com/XFabian/Rust-Particle-System
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XFabian/Rust-Particle-System" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXFabian%2FRust-Particle-System", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXFabian%2FRust-Particle-System'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 66f02fd74817adee7469dbaf83080d711c82d128
[INFO] checking XFabian/Rust-Particle-System against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXFabian%2FRust-Particle-System" "/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/XFabian/Rust-Particle-System
[INFO] finished tweaking git repo https://github.com/XFabian/Rust-Particle-System
[INFO] tweaked toml for git repo https://github.com/XFabian/Rust-Particle-System written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/XFabian/Rust-Particle-System on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/XFabian/Rust-Particle-System 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "fetch" "--manifest-path" "Cargo.toml", 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]  Downloading crates ...
[INFO] [stderr]   Downloaded rusttype v0.8.0
[INFO] [stderr]   Downloaded winit v0.19.3
[INFO] [stderr]   Downloaded cc v1.0.43
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9fd590494be020d9c77bd24cc13b12a07dd43a693034f28ce18cd3cb8806296c
[INFO] running `Command { std: "docker" "start" "-a" "9fd590494be020d9c77bd24cc13b12a07dd43a693034f28ce18cd3cb8806296c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9fd590494be020d9c77bd24cc13b12a07dd43a693034f28ce18cd3cb8806296c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fd590494be020d9c77bd24cc13b12a07dd43a693034f28ce18cd3cb8806296c", kill_on_drop: false }`
[INFO] [stdout] 9fd590494be020d9c77bd24cc13b12a07dd43a693034f28ce18cd3cb8806296c
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db3794b3cf8d63f83d7fe1ac8856b23c8fe642a09af0bd3267a79fd4a90a3f16
[INFO] running `Command { std: "docker" "start" "-a" "db3794b3cf8d63f83d7fe1ac8856b23c8fe642a09af0bd3267a79fd4a90a3f16", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.43
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]     Checking downcast-rs v1.0.4
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking stb_truetype v0.3.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.3
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling glium v0.25.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking takeable-option v0.4.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking rusttype v0.8.0
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking backtrace v0.3.37
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking wayland-client v0.21.13
[INFO] [stderr]     Checking wayland-protocols v0.21.13
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.19.3
[INFO] [stderr]     Checking glutin v0.21.1
[INFO] [stderr]     Checking particles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/circle.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glium::VertexBuffer`
[INFO] [stdout]  --> src/circle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use glium::VertexBuffer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Attr_line` should have an upper camel case name
[INFO] [stdout]  --> src/shaders.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub struct Attr_line {
[INFO] [stdout]   |                ^^^^^^^^^ help: convert the identifier to upper camel case: `AttrLine`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Occupied` and `Vacant`
[INFO] [stdout]   --> src/main.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::collections::hash_map::Entry::{Vacant, Occupied};
[INFO] [stdout]    |                                         ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/circle.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glium::VertexBuffer`
[INFO] [stdout]  --> src/circle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use glium::VertexBuffer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Attr_line` should have an upper camel case name
[INFO] [stdout]  --> src/shaders.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub struct Attr_line {
[INFO] [stdout]   |                ^^^^^^^^^ help: convert the identifier to upper camel case: `AttrLine`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Occupied` and `Vacant`
[INFO] [stdout]   --> src/main.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::collections::hash_map::Entry::{Vacant, Occupied};
[INFO] [stdout]    |                                         ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/spatialHashing.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         for x in 0..(2*cols) { // we jsut want to draw some lines
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/spatialHashing.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         for y in 0..(2*rows) {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bin`
[INFO] [stdout]    --> src/spatialHashing.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         for (bin, list) in &mut self.cell_map {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut cir2 = Circle::new(0.1, 0.1,RADIUS, 0.01, 0.01);
[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:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut cir3 = Circle::new(0.1,0.6,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut cir4 = Circle::new(-0.9,0.9,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mut cir_cent = Circle::new(0.0, 0.0, RADIUS, 0.01, 0.01); // we can ignore velocity 
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut per_instance_line_attr = glium::vertex::VertexBuffer::new(&display, &line_alpha_vec).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 | ...   let mut per_instance_circle_attr = glium::vertex::VertexBuffer::new(&display, &circle_attrs).unwrap(); // fixed size so bette...
[INFO] [stdout]     |           ----^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cir2`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut cir2 = Circle::new(0.1, 0.1,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cir2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cir3`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut cir3 = Circle::new(0.1,0.6,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cir3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cir4`
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut cir4 = Circle::new(-0.9,0.9,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cir4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vert_buf_border`
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let vert_buf_border: glium::VertexBuffer<circle::Vertex> = glium::VertexBuffer::new(&display, &test.draw_borders()).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vert_buf_border`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_border`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let program_border =  glium::Program::from_source(&display, shaders::vertex_shader_src, shaders::fragment_line_shader_src, None)...
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_border`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `comparisons` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut comparisons = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_comparisons` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta_time`
[INFO] [stdout]    --> src/main.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let delta_time = next_frame_time.elapsed().subsec_nanos() as f64 * 1e-9; // delta time in seconds
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |         for i in 0..circles.len() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `comparisons` is never read
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         comparisons = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `comparisons` is never read
[INFO] [stdout]    --> src/main.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |                 comparisons += 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_circle` is never used
[INFO] [stdout]    --> src/main.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn draw_circle(cx :f32, cy: f32, r: f32, num_segments: i32, num_circle: u32) -> (Vec<Vertex>, Vec<u32>) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_collision_point` and `invert_direction` are never used
[INFO] [stdout]    --> src/circle.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Circle {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn get_collision_point(circle1: Circle, circle2: Circle) -> Vec2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn invert_direction(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hash_id` and `add` are never used
[INFO] [stdout]    --> src/spatialHashing.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl SpatialHash{
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     fn hash_id(&self, circle: &Circle) -> (i32, i32){
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn add(&mut self, circle: Circle) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `spatialHashing` should have a snake case name
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | mod spatialHashing;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `spatial_hashing`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolveCollision` should have a snake case name
[INFO] [stdout]    --> src/circle.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn resolveCollision(circle1: &mut Circle, circle2: &mut Circle){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resolve_collision`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/spatialHashing.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         for x in 0..(2*cols) { // we jsut want to draw some lines
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/spatialHashing.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         for y in 0..(2*rows) {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bin`
[INFO] [stdout]    --> src/spatialHashing.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         for (bin, list) in &mut self.cell_map {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut cir2 = Circle::new(0.1, 0.1,RADIUS, 0.01, 0.01);
[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:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut cir3 = Circle::new(0.1,0.6,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut cir4 = Circle::new(-0.9,0.9,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mut cir_cent = Circle::new(0.0, 0.0, RADIUS, 0.01, 0.01); // we can ignore velocity 
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut per_instance_line_attr = glium::vertex::VertexBuffer::new(&display, &line_alpha_vec).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 | ...   let mut per_instance_circle_attr = glium::vertex::VertexBuffer::new(&display, &circle_attrs).unwrap(); // fixed size so bette...
[INFO] [stdout]     |           ----^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cir2`
[INFO] [stdout]   --> src/main.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut cir2 = Circle::new(0.1, 0.1,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cir2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cir3`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut cir3 = Circle::new(0.1,0.6,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cir3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cir4`
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut cir4 = Circle::new(-0.9,0.9,RADIUS, 0.01, 0.01);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cir4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vert_buf_border`
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let vert_buf_border: glium::VertexBuffer<circle::Vertex> = glium::VertexBuffer::new(&display, &test.draw_borders()).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vert_buf_border`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_border`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let program_border =  glium::Program::from_source(&display, shaders::vertex_shader_src, shaders::fragment_line_shader_src, None)...
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_border`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `comparisons` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut comparisons = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_comparisons` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta_time`
[INFO] [stdout]    --> src/main.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let delta_time = next_frame_time.elapsed().subsec_nanos() as f64 * 1e-9; // delta time in seconds
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:169:13
[INFO] [stdout]     |
[INFO] [stdout] 169 |         for i in 0..circles.len() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `comparisons` is never read
[INFO] [stdout]    --> src/main.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         comparisons = 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `comparisons` is never read
[INFO] [stdout]    --> src/main.rs:174:17
[INFO] [stdout]     |
[INFO] [stdout] 174 |                 comparisons += 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_circle` is never used
[INFO] [stdout]    --> src/main.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn draw_circle(cx :f32, cy: f32, r: f32, num_segments: i32, num_circle: u32) -> (Vec<Vertex>, Vec<u32>) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_collision_point` and `invert_direction` are never used
[INFO] [stdout]    --> src/circle.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Circle {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  44 |     pub fn get_collision_point(circle1: Circle, circle2: Circle) -> Vec2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn invert_direction(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hash_id` and `add` are never used
[INFO] [stdout]    --> src/spatialHashing.rs:92:8
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl SpatialHash{
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  92 |     fn hash_id(&self, circle: &Circle) -> (i32, i32){
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub fn add(&mut self, circle: Circle) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `spatialHashing` should have a snake case name
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | mod spatialHashing;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `spatial_hashing`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolveCollision` should have a snake case name
[INFO] [stdout]    --> src/circle.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn resolveCollision(circle1: &mut Circle, circle2: &mut Circle){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `resolve_collision`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.71s
[INFO] running `Command { std: "docker" "inspect" "db3794b3cf8d63f83d7fe1ac8856b23c8fe642a09af0bd3267a79fd4a90a3f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db3794b3cf8d63f83d7fe1ac8856b23c8fe642a09af0bd3267a79fd4a90a3f16", kill_on_drop: false }`
[INFO] [stdout] db3794b3cf8d63f83d7fe1ac8856b23c8fe642a09af0bd3267a79fd4a90a3f16
