[INFO] cloning repository https://github.com/Marco-Masera/silly_cell_simulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marco-Masera/silly_cell_simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarco-Masera%2Fsilly_cell_simulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarco-Masera%2Fsilly_cell_simulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7b7fc71bbcf7eeb35a65c3920747d3a295f8385
[INFO] checking Marco-Masera/silly_cell_simulation against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarco-Masera%2Fsilly_cell_simulation" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Marco-Masera/silly_cell_simulation
[INFO] finished tweaking git repo https://github.com/Marco-Masera/silly_cell_simulation
[INFO] tweaked toml for git repo https://github.com/Marco-Masera/silly_cell_simulation written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Marco-Masera/silly_cell_simulation on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Marco-Masera/silly_cell_simulation 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984
[INFO] running `Command { std: "docker" "start" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking cellsim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `WHITE` and `draw_ellipse`
[INFO] [stdout]  --> src/grid.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::{color::{BLACK, GRAY, GREEN, ORANGE, WHITE}, prelude::rand, shapes::{draw_circle, draw_ellipse, draw_line, draw_rectan...
[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: `CELL_MIN_RADIUS_REPRODUCTION`, `CELL_MIN_RADIUS`, `INITIAL_CELLS`, and `MIN_CELLS`
[INFO] [stdout]  --> src/grid.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...E, CELL_MIN_RADIUS, CELL_MIN_RADIUS_REPRODUCTION, FOOD_RADIUS, GRID_CELL_SIZE, GRID_SIZE_H, GRID_SIZE_W, INITIAL_CELLS, INITIAL_CELL_RADIUS, MIN_CELLS, P...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                         ^^^^^^^^^^^^^                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 |             if (self.grid_matrice[i][j][k].radius <= 0.0) {
[INFO] [stdout]    |                ^                                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -             if (self.grid_matrice[i][j][k].radius <= 0.0) {
[INFO] [stdout] 69 +             if self.grid_matrice[i][j][k].radius <= 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if (self.grid_matrice[i2][j2][l].radius <= 0.0) {
[INFO] [stdout]    |                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 if (self.grid_matrice[i2][j2][l].radius <= 0.0) {
[INFO] [stdout] 74 +                 if self.grid_matrice[i2][j2][l].radius <= 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 if (UPDATE_NEIGHBORS){
[INFO] [stdout]    |                    ^                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -                 if (UPDATE_NEIGHBORS){
[INFO] [stdout] 88 +                 if UPDATE_NEIGHBORS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         if (!self.grid_matrice[i2][j2][l].is_hidden){
[INFO] [stdout]    |                            ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 91 -                         if (!self.grid_matrice[i2][j2][l].is_hidden){
[INFO] [stdout] 91 +                         if !self.grid_matrice[i2][j2][l].is_hidden {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         if (!self.grid_matrice[i][j][k].is_hidden){
[INFO] [stdout]    |                            ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -                         if (!self.grid_matrice[i][j][k].is_hidden){
[INFO] [stdout] 98 +                         if !self.grid_matrice[i][j][k].is_hidden {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:159:28
[INFO] [stdout]     |
[INFO] [stdout] 159 |                         if (cell.y > GRID_SIZE_H / 2.0 - 4.0 - cell.radius && cell.y <= GRID_SIZE_H / 2.0 + 4.0 - cell.radius) {
[INFO] [stdout]     |                            ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -                         if (cell.y > GRID_SIZE_H / 2.0 - 4.0 - cell.radius && cell.y <= GRID_SIZE_H / 2.0 + 4.0 - cell.radius) {
[INFO] [stdout] 159 +                         if cell.y > GRID_SIZE_H / 2.0 - 4.0 - cell.radius && cell.y <= GRID_SIZE_H / 2.0 + 4.0 - cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...   } else if (cell.y < GRID_SIZE_H / 2.0 + 4.0 + cell.radius && cell.y >= GRID_SIZE_H / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout]     |                 ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -                         } else if (cell.y < GRID_SIZE_H / 2.0 + 4.0 + cell.radius && cell.y >= GRID_SIZE_H / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout] 162 +                         } else if cell.y < GRID_SIZE_H / 2.0 + 4.0 + cell.radius && cell.y >= GRID_SIZE_H / 2.0 - 4.0 + cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         if (cell.x > GRID_SIZE_W / 2.0 - 4.0 - cell.radius && cell.x <= GRID_SIZE_W / 2.0 + 1.0 - cell.radius) {
[INFO] [stdout]     |                            ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                         if (cell.x > GRID_SIZE_W / 2.0 - 4.0 - cell.radius && cell.x <= GRID_SIZE_W / 2.0 + 1.0 - cell.radius) {
[INFO] [stdout] 168 +                         if cell.x > GRID_SIZE_W / 2.0 - 4.0 - cell.radius && cell.x <= GRID_SIZE_W / 2.0 + 1.0 - cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:171:35
[INFO] [stdout]     |
[INFO] [stdout] 171 | ...   } else if (cell.x < GRID_SIZE_W / 2.0 + 4.0 + cell.radius && cell.x >= GRID_SIZE_W / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout]     |                 ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -                         } else if (cell.x < GRID_SIZE_W / 2.0 + 4.0 + cell.radius && cell.x >= GRID_SIZE_W / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout] 171 +                         } else if cell.x < GRID_SIZE_W / 2.0 + 4.0 + cell.radius && cell.x >= GRID_SIZE_W / 2.0 - 4.0 + cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:176:24
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     if (bounce_horizontal*cell.speed_x < 0.0){
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 176 -                     if (bounce_horizontal*cell.speed_x < 0.0){
[INFO] [stdout] 176 +                     if bounce_horizontal*cell.speed_x < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:181:24
[INFO] [stdout]     |
[INFO] [stdout] 181 |                     if (bounce_vertical*cell.speed_y < 0.0){
[INFO] [stdout]     |                        ^                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 181 -                     if (bounce_vertical*cell.speed_y < 0.0){
[INFO] [stdout] 181 +                     if bounce_vertical*cell.speed_y < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |                         if (cell.x > obstacle.x - obstacle.width / 2.0 && cell.x < obstacle.x + obstacle.width / 2.0 &&
[INFO] [stdout]     |                            ^
[INFO] [stdout] 198 |                             cell.y > obstacle.y - obstacle.height / 2.0 && cell.y < obstacle.y + obstacle.height / 2.0) {
[INFO] [stdout]     |                                                                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 197 ~                         if cell.x > obstacle.x - obstacle.width / 2.0 && cell.x < obstacle.x + obstacle.width / 2.0 &&
[INFO] [stdout] 198 ~                             cell.y > obstacle.y - obstacle.height / 2.0 && cell.y < obstacle.y + obstacle.height / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:238:36
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   if (cell.mass > CELL_MAX_VOLUME) {
[INFO] [stdout]     |                          ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -                                 if (cell.mass > CELL_MAX_VOLUME) {
[INFO] [stdout] 238 +                                 if cell.mass > CELL_MAX_VOLUME {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:257:20
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 if (i < self.grid_matrice.len() - 1) {
[INFO] [stdout]     |                    ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 257 -                 if (i < self.grid_matrice.len() - 1) {
[INFO] [stdout] 257 +                 if i < self.grid_matrice.len() - 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:260:20
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 if (j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout]     |                    ^                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 260 -                 if (j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout] 260 +                 if j < self.grid_matrice[i].len() - 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:263:20
[INFO] [stdout]     |
[INFO] [stdout] 263 |                 if (i < self.grid_matrice.len() - 1 && j > 0) {
[INFO] [stdout]     |                    ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 263 -                 if (i < self.grid_matrice.len() - 1 && j > 0) {
[INFO] [stdout] 263 +                 if i < self.grid_matrice.len() - 1 && j > 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:266:20
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 if (i < self.grid_matrice.len() - 1 && j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout]     |                    ^                                                                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 266 -                 if (i < self.grid_matrice.len() - 1 && j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout] 266 +                 if i < self.grid_matrice.len() - 1 && j < self.grid_matrice[i].len() - 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:344:24
[INFO] [stdout]     |
[INFO] [stdout] 344 |                     if (cell.y < GRID_SIZE_H / 2.0) {
[INFO] [stdout]     |                        ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 344 -                     if (cell.y < GRID_SIZE_H / 2.0) {
[INFO] [stdout] 344 +                     if cell.y < GRID_SIZE_H / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:351:24
[INFO] [stdout]     |
[INFO] [stdout] 351 |                     if (cell.x < GRID_SIZE_W / 2.0) {
[INFO] [stdout]     |                        ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 351 -                     if (cell.x < GRID_SIZE_W / 2.0) {
[INFO] [stdout] 351 +                     if cell.x < GRID_SIZE_W / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:359:24
[INFO] [stdout]     |
[INFO] [stdout] 359 |                     if (cell.x > GRID_SIZE_W / 2.0) {
[INFO] [stdout]     |                        ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 359 -                     if (cell.x > GRID_SIZE_W / 2.0) {
[INFO] [stdout] 359 +                     if cell.x > GRID_SIZE_W / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:363:28
[INFO] [stdout]     |
[INFO] [stdout] 363 |                         if (cell.y > GRID_SIZE_H / 2.0) {
[INFO] [stdout]     |                            ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 363 -                         if (cell.y > GRID_SIZE_H / 2.0) {
[INFO] [stdout] 363 +                         if cell.y > GRID_SIZE_H / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:442:12
[INFO] [stdout]     |
[INFO] [stdout] 442 |         if (self.obstacles[0]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 442 -         if (self.obstacles[0]) {
[INFO] [stdout] 442 +         if self.obstacles[0] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:445:12
[INFO] [stdout]     |
[INFO] [stdout] 445 |         if (self.obstacles[1]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 445 -         if (self.obstacles[1]) {
[INFO] [stdout] 445 +         if self.obstacles[1] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:448:12
[INFO] [stdout]     |
[INFO] [stdout] 448 |         if (self.obstacles[2]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 448 -         if (self.obstacles[2]) {
[INFO] [stdout] 448 +         if self.obstacles[2] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:451:12
[INFO] [stdout]     |
[INFO] [stdout] 451 |         if (self.obstacles[3]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 451 -         if (self.obstacles[3]) {
[INFO] [stdout] 451 +         if self.obstacles[3] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WHITE` and `draw_ellipse`
[INFO] [stdout]  --> src/grid.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::{color::{BLACK, GRAY, GREEN, ORANGE, WHITE}, prelude::rand, shapes::{draw_circle, draw_ellipse, draw_line, draw_rectan...
[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: `CELL_MIN_RADIUS_REPRODUCTION`, `CELL_MIN_RADIUS`, `INITIAL_CELLS`, and `MIN_CELLS`
[INFO] [stdout]  --> src/grid.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...E, CELL_MIN_RADIUS, CELL_MIN_RADIUS_REPRODUCTION, FOOD_RADIUS, GRID_CELL_SIZE, GRID_SIZE_H, GRID_SIZE_W, INITIAL_CELLS, INITIAL_CELL_RADIUS, MIN_CELLS, P...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                         ^^^^^^^^^^^^^                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 69 |             if (self.grid_matrice[i][j][k].radius <= 0.0) {
[INFO] [stdout]    |                ^                                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -             if (self.grid_matrice[i][j][k].radius <= 0.0) {
[INFO] [stdout] 69 +             if self.grid_matrice[i][j][k].radius <= 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if (self.grid_matrice[i2][j2][l].radius <= 0.0) {
[INFO] [stdout]    |                    ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 if (self.grid_matrice[i2][j2][l].radius <= 0.0) {
[INFO] [stdout] 74 +                 if self.grid_matrice[i2][j2][l].radius <= 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 if (UPDATE_NEIGHBORS){
[INFO] [stdout]    |                    ^                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -                 if (UPDATE_NEIGHBORS){
[INFO] [stdout] 88 +                 if UPDATE_NEIGHBORS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         if (!self.grid_matrice[i2][j2][l].is_hidden){
[INFO] [stdout]    |                            ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 91 -                         if (!self.grid_matrice[i2][j2][l].is_hidden){
[INFO] [stdout] 91 +                         if !self.grid_matrice[i2][j2][l].is_hidden {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/grid.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         if (!self.grid_matrice[i][j][k].is_hidden){
[INFO] [stdout]    |                            ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -                         if (!self.grid_matrice[i][j][k].is_hidden){
[INFO] [stdout] 98 +                         if !self.grid_matrice[i][j][k].is_hidden {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:159:28
[INFO] [stdout]     |
[INFO] [stdout] 159 |                         if (cell.y > GRID_SIZE_H / 2.0 - 4.0 - cell.radius && cell.y <= GRID_SIZE_H / 2.0 + 4.0 - cell.radius) {
[INFO] [stdout]     |                            ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -                         if (cell.y > GRID_SIZE_H / 2.0 - 4.0 - cell.radius && cell.y <= GRID_SIZE_H / 2.0 + 4.0 - cell.radius) {
[INFO] [stdout] 159 +                         if cell.y > GRID_SIZE_H / 2.0 - 4.0 - cell.radius && cell.y <= GRID_SIZE_H / 2.0 + 4.0 - cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:162:35
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...   } else if (cell.y < GRID_SIZE_H / 2.0 + 4.0 + cell.radius && cell.y >= GRID_SIZE_H / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout]     |                 ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -                         } else if (cell.y < GRID_SIZE_H / 2.0 + 4.0 + cell.radius && cell.y >= GRID_SIZE_H / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout] 162 +                         } else if cell.y < GRID_SIZE_H / 2.0 + 4.0 + cell.radius && cell.y >= GRID_SIZE_H / 2.0 - 4.0 + cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         if (cell.x > GRID_SIZE_W / 2.0 - 4.0 - cell.radius && cell.x <= GRID_SIZE_W / 2.0 + 1.0 - cell.radius) {
[INFO] [stdout]     |                            ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                         if (cell.x > GRID_SIZE_W / 2.0 - 4.0 - cell.radius && cell.x <= GRID_SIZE_W / 2.0 + 1.0 - cell.radius) {
[INFO] [stdout] 168 +                         if cell.x > GRID_SIZE_W / 2.0 - 4.0 - cell.radius && cell.x <= GRID_SIZE_W / 2.0 + 1.0 - cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:171:35
[INFO] [stdout]     |
[INFO] [stdout] 171 | ...   } else if (cell.x < GRID_SIZE_W / 2.0 + 4.0 + cell.radius && cell.x >= GRID_SIZE_W / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout]     |                 ^                                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -                         } else if (cell.x < GRID_SIZE_W / 2.0 + 4.0 + cell.radius && cell.x >= GRID_SIZE_W / 2.0 - 4.0 + cell.radius) {
[INFO] [stdout] 171 +                         } else if cell.x < GRID_SIZE_W / 2.0 + 4.0 + cell.radius && cell.x >= GRID_SIZE_W / 2.0 - 4.0 + cell.radius {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:176:24
[INFO] [stdout]     |
[INFO] [stdout] 176 |                     if (bounce_horizontal*cell.speed_x < 0.0){
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 176 -                     if (bounce_horizontal*cell.speed_x < 0.0){
[INFO] [stdout] 176 +                     if bounce_horizontal*cell.speed_x < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:181:24
[INFO] [stdout]     |
[INFO] [stdout] 181 |                     if (bounce_vertical*cell.speed_y < 0.0){
[INFO] [stdout]     |                        ^                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 181 -                     if (bounce_vertical*cell.speed_y < 0.0){
[INFO] [stdout] 181 +                     if bounce_vertical*cell.speed_y < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |                         if (cell.x > obstacle.x - obstacle.width / 2.0 && cell.x < obstacle.x + obstacle.width / 2.0 &&
[INFO] [stdout]     |                            ^
[INFO] [stdout] 198 |                             cell.y > obstacle.y - obstacle.height / 2.0 && cell.y < obstacle.y + obstacle.height / 2.0) {
[INFO] [stdout]     |                                                                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 197 ~                         if cell.x > obstacle.x - obstacle.width / 2.0 && cell.x < obstacle.x + obstacle.width / 2.0 &&
[INFO] [stdout] 198 ~                             cell.y > obstacle.y - obstacle.height / 2.0 && cell.y < obstacle.y + obstacle.height / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:238:36
[INFO] [stdout]     |
[INFO] [stdout] 238 | ...                   if (cell.mass > CELL_MAX_VOLUME) {
[INFO] [stdout]     |                          ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 238 -                                 if (cell.mass > CELL_MAX_VOLUME) {
[INFO] [stdout] 238 +                                 if cell.mass > CELL_MAX_VOLUME {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:257:20
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 if (i < self.grid_matrice.len() - 1) {
[INFO] [stdout]     |                    ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 257 -                 if (i < self.grid_matrice.len() - 1) {
[INFO] [stdout] 257 +                 if i < self.grid_matrice.len() - 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:260:20
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 if (j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout]     |                    ^                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 260 -                 if (j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout] 260 +                 if j < self.grid_matrice[i].len() - 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:263:20
[INFO] [stdout]     |
[INFO] [stdout] 263 |                 if (i < self.grid_matrice.len() - 1 && j > 0) {
[INFO] [stdout]     |                    ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 263 -                 if (i < self.grid_matrice.len() - 1 && j > 0) {
[INFO] [stdout] 263 +                 if i < self.grid_matrice.len() - 1 && j > 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:266:20
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 if (i < self.grid_matrice.len() - 1 && j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout]     |                    ^                                                                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 266 -                 if (i < self.grid_matrice.len() - 1 && j < self.grid_matrice[i].len() - 1) {
[INFO] [stdout] 266 +                 if i < self.grid_matrice.len() - 1 && j < self.grid_matrice[i].len() - 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:344:24
[INFO] [stdout]     |
[INFO] [stdout] 344 |                     if (cell.y < GRID_SIZE_H / 2.0) {
[INFO] [stdout]     |                        ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 344 -                     if (cell.y < GRID_SIZE_H / 2.0) {
[INFO] [stdout] 344 +                     if cell.y < GRID_SIZE_H / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:351:24
[INFO] [stdout]     |
[INFO] [stdout] 351 |                     if (cell.x < GRID_SIZE_W / 2.0) {
[INFO] [stdout]     |                        ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 351 -                     if (cell.x < GRID_SIZE_W / 2.0) {
[INFO] [stdout] 351 +                     if cell.x < GRID_SIZE_W / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:359:24
[INFO] [stdout]     |
[INFO] [stdout] 359 |                     if (cell.x > GRID_SIZE_W / 2.0) {
[INFO] [stdout]     |                        ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 359 -                     if (cell.x > GRID_SIZE_W / 2.0) {
[INFO] [stdout] 359 +                     if cell.x > GRID_SIZE_W / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:363:28
[INFO] [stdout]     |
[INFO] [stdout] 363 |                         if (cell.y > GRID_SIZE_H / 2.0) {
[INFO] [stdout]     |                            ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 363 -                         if (cell.y > GRID_SIZE_H / 2.0) {
[INFO] [stdout] 363 +                         if cell.y > GRID_SIZE_H / 2.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:442:12
[INFO] [stdout]     |
[INFO] [stdout] 442 |         if (self.obstacles[0]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 442 -         if (self.obstacles[0]) {
[INFO] [stdout] 442 +         if self.obstacles[0] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:445:12
[INFO] [stdout]     |
[INFO] [stdout] 445 |         if (self.obstacles[1]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 445 -         if (self.obstacles[1]) {
[INFO] [stdout] 445 +         if self.obstacles[1] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:448:12
[INFO] [stdout]     |
[INFO] [stdout] 448 |         if (self.obstacles[2]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 448 -         if (self.obstacles[2]) {
[INFO] [stdout] 448 +         if self.obstacles[2] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/grid.rs:451:12
[INFO] [stdout]     |
[INFO] [stdout] 451 |         if (self.obstacles[3]) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 451 -         if (self.obstacles[3]) {
[INFO] [stdout] 451 +         if self.obstacles[3] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/grid.rs:311:25
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     for i in p.len()..PERCEPTION_N_CELLS {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Food` is more private than the item `Grid::add_food`
[INFO] [stdout]    --> src/grid.rs:406:5
[INFO] [stdout]     |
[INFO] [stdout] 406 |     pub fn add_food(&mut self, food: Food) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Grid::add_food` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Food` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/grid.rs:27:1
[INFO] [stdout]     |
[INFO] [stdout]  27 | struct Food {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/grid.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Grid {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 43 |     width: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     height: f32,
[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 `get_cells_perceptions` and `set_cell_decisions` are never used
[INFO] [stdout]    --> src/grid.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Grid {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn get_cells_perceptions(&self){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub fn set_cell_decisions(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CELLS` is never used
[INFO] [stdout]  --> src/params.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const MIN_CELLS: usize = 500;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_MIN_RADIUS` is never used
[INFO] [stdout]   --> src/params.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const CELL_MIN_RADIUS: f32 = 0.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_MIN_RADIUS_REPRODUCTION` is never used
[INFO] [stdout]   --> src/params.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const CELL_MIN_RADIUS_REPRODUCTION: f32 = 2.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `UPDATE_NEIGHBORS` should have a snake case name
[INFO] [stdout]   --> src/grid.rs:67:78
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn check_collisions(&mut self, i: usize, j: usize, i2: usize, j2: usize, UPDATE_NEIGHBORS: bool) {
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_neighbors`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `UPDATE_NEIGHBORS` should have a snake case name
[INFO] [stdout]    --> src/grid.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let UPDATE_NEIGHBORS = true; //TODO: set to true only last update before running NN;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_neighbors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/grid.rs:311:25
[INFO] [stdout]     |
[INFO] [stdout] 311 |                     for i in p.len()..PERCEPTION_N_CELLS {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Food` is more private than the item `Grid::add_food`
[INFO] [stdout]    --> src/grid.rs:406:5
[INFO] [stdout]     |
[INFO] [stdout] 406 |     pub fn add_food(&mut self, food: Food) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Grid::add_food` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Food` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/grid.rs:27:1
[INFO] [stdout]     |
[INFO] [stdout]  27 | struct Food {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/grid.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Grid {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 43 |     width: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     height: f32,
[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 `get_cells_perceptions` and `set_cell_decisions` are never used
[INFO] [stdout]    --> src/grid.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Grid {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn get_cells_perceptions(&self){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 385 |     pub fn set_cell_decisions(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CELLS` is never used
[INFO] [stdout]  --> src/params.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const MIN_CELLS: usize = 500;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_MIN_RADIUS` is never used
[INFO] [stdout]   --> src/params.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const CELL_MIN_RADIUS: f32 = 0.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELL_MIN_RADIUS_REPRODUCTION` is never used
[INFO] [stdout]   --> src/params.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const CELL_MIN_RADIUS_REPRODUCTION: f32 = 2.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `UPDATE_NEIGHBORS` should have a snake case name
[INFO] [stdout]   --> src/grid.rs:67:78
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn check_collisions(&mut self, i: usize, j: usize, i2: usize, j2: usize, UPDATE_NEIGHBORS: bool) {
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_neighbors`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `UPDATE_NEIGHBORS` should have a snake case name
[INFO] [stdout]    --> src/grid.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let UPDATE_NEIGHBORS = true; //TODO: set to true only last update before running NN;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_neighbors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.48s
[INFO] running `Command { std: "docker" "inspect" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984", kill_on_drop: false }`
[INFO] [stdout] a89261f2143c21c0eddd5260f10a30075f9a76e10e859228c89f0cada3306984
