[INFO] cloning repository https://github.com/Skealz/pistontest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skealz/pistontest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkealz%2Fpistontest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkealz%2Fpistontest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e12d25a3d044493857645036ad56cda185c1d794
[INFO] checking Skealz/pistontest/e12d25a3d044493857645036ad56cda185c1d794 against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkealz%2Fpistontest" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Skealz/pistontest
[INFO] finished tweaking git repo https://github.com/Skealz/pistontest
[INFO] tweaked toml for git repo https://github.com/Skealz/pistontest written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Skealz/pistontest on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Skealz/pistontest 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `pistontest` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded stb_truetype v0.2.5
[INFO] [stderr]   Downloaded ordered-float v1.0.1
[INFO] [stderr]   Downloaded wayland-sys v0.21.7
[INFO] [stderr]   Downloaded wayland-commons v0.21.7
[INFO] [stderr]   Downloaded rand_xorshift v0.1.0
[INFO] [stderr]   Downloaded downcast-rs v1.0.3
[INFO] [stderr]   Downloaded wayland-scanner v0.21.7
[INFO] [stderr]   Downloaded rand_chacha v0.1.0
[INFO] [stderr]   Downloaded andrew v0.1.4
[INFO] [stderr]   Downloaded piston-viewport v0.5.0
[INFO] [stderr]   Downloaded winapi-util v0.1.1
[INFO] [stderr]   Downloaded num-derive v0.2.3
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.39.0
[INFO] [stderr]   Downloaded pistoncore-window v0.34.0
[INFO] [stderr]   Downloaded approx v0.3.1
[INFO] [stderr]   Downloaded quote v0.6.10
[INFO] [stderr]   Downloaded gl v0.11.0
[INFO] [stderr]   Downloaded num_cpus v1.9.0
[INFO] [stderr]   Downloaded arrayvec v0.4.9
[INFO] [stderr]   Downloaded gif v0.10.1
[INFO] [stderr]   Downloaded pistoncore-input v0.23.0
[INFO] [stderr]   Downloaded png v0.12.0
[INFO] [stderr]   Downloaded gleam v0.6.8
[INFO] [stderr]   Downloaded inflate v0.4.4
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.15
[INFO] [stderr]   Downloaded core-foundation v0.6.3
[INFO] [stderr]   Downloaded gl_generator v0.10.0
[INFO] [stderr]   Downloaded piston v0.39.0
[INFO] [stderr]   Downloaded cc v1.0.28
[INFO] [stderr]   Downloaded num-rational v0.2.1
[INFO] [stderr]   Downloaded rusttype v0.7.3
[INFO] [stderr]   Downloaded serde_derive v1.0.82
[INFO] [stderr]   Downloaded proc-macro2 v0.4.24
[INFO] [stderr]   Downloaded x11-dl v2.18.3
[INFO] [stderr]   Downloaded wayland-client v0.21.7
[INFO] [stderr]   Downloaded glutin v0.19.0
[INFO] [stderr]   Downloaded serde v1.0.82
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.4.3
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.51.1
[INFO] [stderr]   Downloaded piston2d-graphics v0.28.0
[INFO] [stderr]   Downloaded wayland-protocols v0.21.7
[INFO] [stderr]   Downloaded rand v0.6.1
[INFO] [stderr]   Downloaded deflate v0.7.19
[INFO] [stderr]   Downloaded nix v0.11.0
[INFO] [stderr]   Downloaded syn v0.15.23
[INFO] [stderr]   Downloaded image v0.20.1
[INFO] [stderr]   Downloaded libc v0.2.45
[INFO] [stderr]   Downloaded winit v0.18.0
[INFO] [stderr]   Downloaded nix v0.12.0
[INFO] [stderr]   Downloaded khronos_api v3.0.0
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.57.0
[INFO] [stderr]   Downloaded tiff v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9
[INFO] running `Command { std: "docker" "start" "f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9", 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" "f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9", 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" "f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `pistontest` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]    Compiling arrayvec v0.4.9
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling cc v1.0.28
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling khronos_api v3.0.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling wayland-scanner v0.21.7
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]     Checking stb_truetype v0.2.5
[INFO] [stderr]     Checking piston-viewport v0.5.0
[INFO] [stderr]    Compiling syn v0.15.23
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking ordered-float v1.0.1
[INFO] [stderr]     Checking approx v0.3.1
[INFO] [stderr]    Compiling serde v1.0.82
[INFO] [stderr]     Checking rusttype v0.7.3
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking wayland-sys v0.21.7
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.21.7
[INFO] [stderr]    Compiling wayland-protocols v0.21.7
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]     Checking rand_core v0.2.2
[INFO] [stderr]    Compiling nix v0.12.0
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]     Checking same-file v1.0.4
[INFO] [stderr]     Checking downcast-rs v1.0.3
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking walkdir v2.2.7
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking rand_xorshift v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking wayland-commons v0.21.7
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking shader_version v0.3.0
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking andrew v0.1.4
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.82
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.3
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking tiff v0.2.1
[INFO] [stderr]     Checking vecmath v0.3.1
[INFO] [stderr]     Checking piston-texture v0.6.0
[INFO] [stderr]     Checking interpolation v0.1.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking image v0.20.1
[INFO] [stderr]     Checking piston2d-graphics v0.28.0
[INFO] [stderr]     Checking winit v0.18.0
[INFO] [stderr]     Checking pistoncore-input v0.23.0
[INFO] [stderr]     Checking pistoncore-window v0.34.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.39.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.51.1
[INFO] [stderr]     Checking piston v0.39.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.57.0
[INFO] [stderr]     Checking pistontest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `EventLoop`
[INFO] [stdout]   --> src/main.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | use piston::event_loop::{Events, EventLoop, EventSettings};
[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: `Point`
[INFO] [stdout]   --> src/main.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rusttype::{Point, point};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `SystemTime`
[INFO] [stdout]   --> src/main.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::time::{SystemTime, Duration};
[INFO] [stdout]    |                 ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston::input::GenericEvent`
[INFO] [stdout]  --> src/world_controller.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use piston::input::GenericEvent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/world_controller.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{SystemTime, Duration};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]   --> src/organism.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use World;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventLoop`
[INFO] [stdout]   --> src/main.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | use piston::event_loop::{Events, EventLoop, EventSettings};
[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: `Point`
[INFO] [stdout]   --> src/main.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rusttype::{Point, point};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `SystemTime`
[INFO] [stdout]   --> src/main.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::time::{SystemTime, Duration};
[INFO] [stdout]    |                 ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston::input::GenericEvent`
[INFO] [stdout]  --> src/world_controller.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use piston::input::GenericEvent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/world_controller.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::{SystemTime, Duration};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]   --> src/organism.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use World;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]    --> src/world_view.rs:166:61
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn set_view(&mut self, pos: Point<i32>, width: i32, height: i32)
[INFO] [stdout]     |                                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food`
[INFO] [stdout]   --> src/organism.rs:94:30
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn update(&mut self, food: &Vec<Point<i32>>)
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_food`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_neigh`
[INFO] [stdout]    --> src/organism.rs:387:13
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let min_neigh = INFINITY;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_neigh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/organism.rs:402:13
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let mut cellOpt = self.cells.last_mut();
[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: unused variable: `u`
[INFO] [stdout]    --> src/main.rs:110:21
[INFO] [stdout]     |
[INFO] [stdout] 110 |         if let Some(u) = e.update_args()
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `release_pos` is never read
[INFO] [stdout]   --> src/main.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut release_pos = point(0.0,0.0);
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 89 |                 release_pos = cursor;
[INFO] [stdout]    |                 -------------------- `release_pos` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `view_pos` is never read
[INFO] [stdout]   --> src/main.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 let mut view_pos = point(0,0);
[INFO] [stdout]    |                                    ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 99 |                     view_pos = point((release_pos.x as f64).trunc() as i32, (release_pos.y as f64).trunc() as i32)
[INFO] [stdout]    |                     ---------------------------------------------------------------------------------------------- `view_pos` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_hunger` is never read
[INFO] [stdout]   --> src/organism.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Organism
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     max_hunger : i16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cellOpt` should have a snake case name
[INFO] [stdout]    --> src/organism.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let mut cellOpt = self.cells.last_mut();
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `cell_opt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]    --> src/world_view.rs:166:61
[INFO] [stdout]     |
[INFO] [stdout] 166 |     pub fn set_view(&mut self, pos: Point<i32>, width: i32, height: i32)
[INFO] [stdout]     |                                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food`
[INFO] [stdout]   --> src/organism.rs:94:30
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn update(&mut self, food: &Vec<Point<i32>>)
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_food`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_neigh`
[INFO] [stdout]    --> src/organism.rs:387:13
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let min_neigh = INFINITY;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_neigh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/organism.rs:402:13
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let mut cellOpt = self.cells.last_mut();
[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: unused variable: `u`
[INFO] [stdout]    --> src/main.rs:110:21
[INFO] [stdout]     |
[INFO] [stdout] 110 |         if let Some(u) = e.update_args()
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `release_pos` is never read
[INFO] [stdout]   --> src/main.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut release_pos = point(0.0,0.0);
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 89 |                 release_pos = cursor;
[INFO] [stdout]    |                 -------------------- `release_pos` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `view_pos` is never read
[INFO] [stdout]   --> src/main.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 let mut view_pos = point(0,0);
[INFO] [stdout]    |                                    ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 99 |                     view_pos = point((release_pos.x as f64).trunc() as i32, (release_pos.y as f64).trunc() as i32)
[INFO] [stdout]    |                     ---------------------------------------------------------------------------------------------- `view_pos` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_hunger` is never read
[INFO] [stdout]   --> src/organism.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Organism
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     max_hunger : i16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cellOpt` should have a snake case name
[INFO] [stdout]    --> src/organism.rs:402:17
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let mut cellOpt = self.cells.last_mut();
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `cell_opt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9", kill_on_drop: false }`
[INFO] [stdout] f62294894162f358557da5442b4dc195f014a1f27b5ea0039e2f562d301af4d9
