[INFO] cloning repository https://github.com/kajmaj87/hex_brains
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kajmaj87/hex_brains" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajmaj87%2Fhex_brains", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajmaj87%2Fhex_brains'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03f66e90c7d519ee42d6ec529c2073f5e10b1e74
[INFO] testing kajmaj87/hex_brains against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajmaj87%2Fhex_brains" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kajmaj87/hex_brains on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kajmaj87/hex_brains
[INFO] finished tweaking git repo https://github.com/kajmaj87/hex_brains
[INFO] tweaked toml for git repo https://github.com/kajmaj87/hex_brains written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/kajmaj87/hex_brains 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded puffin v0.17.0
[INFO] [stderr]   Downloaded puffin_egui v0.23.0
[INFO] [stderr]   Downloaded egui-wgpu v0.23.0
[INFO] [stderr]   Downloaded zerocopy v0.7.18
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.18
[INFO] [stderr]   Downloaded puffin_http v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d33c4fe1a7780d27974f944334431aabcb1c08a89391c48a7e2e36f4d769776
[INFO] running `Command { std: "docker" "start" "-a" "0d33c4fe1a7780d27974f944334431aabcb1c08a89391c48a7e2e36f4d769776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d33c4fe1a7780d27974f944334431aabcb1c08a89391c48a7e2e36f4d769776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d33c4fe1a7780d27974f944334431aabcb1c08a89391c48a7e2e36f4d769776", kill_on_drop: false }`
[INFO] [stdout] 0d33c4fe1a7780d27974f944334431aabcb1c08a89391c48a7e2e36f4d769776
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abb1ac7e18bd5bae25c7a6dfea3178cce93068069d513cacd29dd3b1efc5a7a2
[INFO] running `Command { std: "docker" "start" "-a" "abb1ac7e18bd5bae25c7a6dfea3178cce93068069d513cacd29dd3b1efc5a7a2", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling zerocopy v0.7.18
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling winnow v0.5.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-io v0.3.29
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling waker-fn v1.1.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling concurrent-queue v2.3.0
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling ttf-parser v0.19.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling async-task v4.5.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling async-executor v1.6.0
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling piper v0.2.1
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling owned_ttf_parser v0.19.0
[INFO] [stderr]    Compiling accesskit v0.11.2
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling ab_glyph v0.2.22
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling cpufeatures v0.2.11
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling futures-sink v0.3.29
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling xdg-home v1.0.0
[INFO] [stderr]    Compiling async-broadcast v0.5.1
[INFO] [stderr]    Compiling ordered-stream v0.2.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling puffin v0.16.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling mio v0.8.9
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling x11rb-protocol v0.10.0
[INFO] [stderr]    Compiling accesskit_consumer v0.15.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling gethostname v0.2.3
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]    Compiling bytemuck_derive v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling enumflags2_derive v0.7.8
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling async-recursion v1.0.5
[INFO] [stderr]    Compiling serde_repr v0.1.16
[INFO] [stderr]    Compiling bevy_utils_proc_macros v0.12.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling atspi-macros v0.2.0
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling lz4_flex v0.11.1
[INFO] [stderr]    Compiling nonmax v0.5.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling ecolor v0.23.0
[INFO] [stderr]    Compiling emath v0.23.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling bevy_ptr v0.12.0
[INFO] [stderr]    Compiling web-time v0.2.3
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling epaint v0.23.0
[INFO] [stderr]    Compiling time-macros v0.2.15
[INFO] [stderr]    Compiling deranged v0.3.9
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling webbrowser v0.8.12
[INFO] [stderr]    Compiling blocking v1.4.1
[INFO] [stderr]    Compiling bevy_tasks v0.12.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling tracing-log v0.1.4
[INFO] [stderr]    Compiling egui v0.23.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling vec1 v1.10.1
[INFO] [stderr]    Compiling natord v1.0.9
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling time v0.3.30
[INFO] [stderr]    Compiling x11rb v0.10.1
[INFO] [stderr]    Compiling arboard v3.2.1
[INFO] [stderr]    Compiling egui_glow v0.23.0
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling enumflags2 v0.7.8
[INFO] [stderr]    Compiling uuid v1.5.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling erased-serde v0.3.31
[INFO] [stderr]    Compiling puffin v0.17.0
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling puffin_http v0.14.0
[INFO] [stderr]    Compiling puffin_egui v0.23.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling toml_edit v0.20.7
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling bevy_macro_utils v0.12.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling bevy_reflect_derive v0.12.0
[INFO] [stderr]    Compiling bevy_ecs_macros v0.12.0
[INFO] [stderr]    Compiling bevy_utils v0.12.0
[INFO] [stderr]    Compiling zvariant_derive v3.15.0
[INFO] [stderr]    Compiling zbus_macros v3.14.1
[INFO] [stderr]    Compiling zvariant v3.15.0
[INFO] [stderr]    Compiling bevy_reflect v0.12.0
[INFO] [stderr]    Compiling zbus_names v2.6.0
[INFO] [stderr]    Compiling zbus v3.14.1
[INFO] [stderr]    Compiling bevy_ecs v0.12.0
[INFO] [stderr]    Compiling atspi v0.10.1
[INFO] [stderr]    Compiling hex_brains_engine v0.1.0 (/opt/rustwide/workdir/engine)
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> engine/src/simulation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decision`, `Direction`, `RandomBrain`, `Snake`, `reproduce`
[INFO] [stdout]   --> engine/src/simulation.rs:12:46
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ood, create_snake, Decision, Direction, eat_food, FoodMap, grow, Snake, movement, Position, RandomBrain, reproduce, split, starve, thi...
[INFO] [stdout]    |                       ^^^^^^^^  ^^^^^^^^^                           ^^^^^                      ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender`, `channel`
[INFO] [stdout]  --> engine/src/simulation_manager.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> engine/src/core.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `LinkedList`
[INFO] [stdout]  --> engine/src/core.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, LinkedList, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bevy_ecs::query::QueryParIter`
[INFO] [stdout]  --> engine/src/core.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bevy_ecs::query::QueryParIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> engine/src/core.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, info, warn};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::join`
[INFO] [stdout]  --> engine/src/neural.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::join;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> engine/src/neural.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, info};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:449:127
[INFO] [stdout]     |
[INFO] [stdout] 449 | ... Position>, mut snakes: Query<(Entity, &mut Snake)>, mut solids_map: ResMut<SolidsMap>) {
[INFO] [stdout]     |                                                         ----^^^^^^^^^^
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:454:13
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let mut head_position = positions.get_mut(head_id).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]    --> engine/src/core.rs:471:29
[INFO] [stdout]     |
[INFO] [stdout] 471 | fn update_segment_positions(mut positions: &mut Query<&mut Position>, new_position: Position, segments: &Vec<Entity>) {
[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]    --> engine/src/core.rs:650:17
[INFO] [stdout]     |
[INFO] [stdout] 650 |             let mut current_scent = scent_map.map.get_mut(position);
[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]    --> engine/src/core.rs:672:13
[INFO] [stdout]     |
[INFO] [stdout] 672 |         let mut new_scent = scent_map.map.get_mut(new_position);
[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]    --> engine/src/core.rs:687:13
[INFO] [stdout]     |
[INFO] [stdout] 687 |         let mut scent = scent_map.map.get_mut(position);
[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]    --> engine/src/core.rs:705:13
[INFO] [stdout]     |
[INFO] [stdout] 705 |         let mut food = food_map.map.get_mut(&Position { x, y });
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food_id`
[INFO] [stdout]    --> engine/src/core.rs:715:10
[INFO] [stdout]     |
[INFO] [stdout] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_food_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food`
[INFO] [stdout]    --> engine/src/core.rs:715:30
[INFO] [stdout]     |
[INFO] [stdout] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_food`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> engine/src/core.rs:713:29
[INFO] [stdout]     |
[INFO] [stdout] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stdout]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:713:131
[INFO] [stdout]     |
[INFO] [stdout] 713 | ...t food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:713:25
[INFO] [stdout]     |
[INFO] [stdout] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stdout]     |                         ----^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:722:92
[INFO] [stdout]     |
[INFO] [stdout] 722 | pub fn eat_food(mut snakes: Query<(&Position, &mut Snake)>, mut food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:741:86
[INFO] [stdout]     |
[INFO] [stdout] 741 | pub fn despawn_food(mut commands: Commands, food: Query<(Entity, &Position, &Food)>, mut food_map: ResMut<FoodMap>) {
[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]    --> engine/src/core.rs:761:41
[INFO] [stdout]     |
[INFO] [stdout] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[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]    --> engine/src/core.rs:761:100
[INFO] [stdout]     |
[INFO] [stdout] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[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]    --> engine/src/core.rs:761:136
[INFO] [stdout]     |
[INFO] [stdout] 761 | ...uery<&Position>, mut food_map: &mut ResMut<FoodMap>, mut solids_map: &mut ResMut<SolidsMap>, config: &Res<SimulationConfig>, segment_i...
[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]    --> engine/src/core.rs:773:17
[INFO] [stdout]     |
[INFO] [stdout] 773 |     if let Some(mut specie) = species.species.iter_mut().find(|s| s.id == specie) {
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> engine/src/core.rs:810:22
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snakes`
[INFO] [stdout]    --> engine/src/core.rs:810:46
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_snakes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:810:91
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:810:18
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[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]    --> engine/src/core.rs:810:42
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                          ----^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `innovation_tracker`
[INFO] [stdout]    --> engine/src/core.rs:822:174
[INFO] [stdout]     |
[INFO] [stdout] 822 | ...tionConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation_tracker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:822:170
[INFO] [stdout]     |
[INFO] [stdout] 822 | ...ns: Query<&Position>, config: Res<SimulationConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[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]    --> engine/src/core.rs:828:17
[INFO] [stdout]     |
[INFO] [stdout] 828 |             let mut new_snake_segments = snake.segments.split_off(snake_length / 2);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:883:80
[INFO] [stdout]     |
[INFO] [stdout] 883 | ...ments: &Query<&SegmentType>, config: &Res<SimulationConfig>, new_segment: Option<&SegmentType>) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snake_id`
[INFO] [stdout]    --> engine/src/core.rs:988:10
[INFO] [stdout]     |
[INFO] [stdout] 988 |     for (snake_id, mut snake) in &mut snakes {
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snake_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `segment_map`
[INFO] [stdout]     --> engine/src/core.rs:1018:106
[INFO] [stdout]      |
[INFO] [stdout] 1018 | ...map: ResMut<SolidsMap>, segment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]      |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]     --> engine/src/core.rs:1018:136
[INFO] [stdout]      |
[INFO] [stdout] 1018 | ...egment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]      |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]     --> engine/src/core.rs:1039:48
[INFO] [stdout]      |
[INFO] [stdout] 1039 |             if let Ok([(snake_id, mut snake), (leader_id, leader_snake)]) = snakes.get_many_mut([baby_id, specie.leader]) {
[INFO] [stdout]      |                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> engine/src/neural.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> engine/src/neural.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `EnergyValue` is never used
[INFO] [stdout]    --> engine/src/simulation.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | type EnergyValue = f32;
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flip_direction` is never used
[INFO] [stdout]    --> engine/src/core.rs:505:4
[INFO] [stdout]     |
[INFO] [stdout] 505 | fn flip_direction(direction: &Direction) -> Direction {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> engine/src/simulation.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         self.engine_events.send(result.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let _ = self.engine_events.send(result.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 45 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling accesskit_unix v0.5.2
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling smithay-clipboard v0.6.6
[INFO] [stderr]    Compiling accesskit_winit v0.14.4
[INFO] [stderr]    Compiling egui-winit v0.23.0
[INFO] [stderr]    Compiling eframe v0.23.0
[INFO] [stderr]    Compiling hex_brains_gui v0.1.0 (/opt/rustwide/workdir/gui)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> gui/src/main.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{info, Level};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> gui/src/main.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn draw_simulation(mut engine_events: ResMut<EngineEvents>, positions: Query<&Position>, scents: Query<(Entity, &Scent)>, scent_map: Res<...
[INFO] [stdout]    |                    ----^^^^^^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fonts`
[INFO] [stdout]    --> gui/src/main.rs:110:37
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn draw_neural_network(ui: &mut Ui, fonts: &Fonts, specie_id: u32, nodes: &Vec<&NodeGene>, connections: &Vec<&ConnectionGene>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_fonts`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> gui/src/main.rs:132:89
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let input_node_shapes: Vec<Shape> = input_nodes.iter().enumerate().map(|(index, node)| {
[INFO] [stdout]     |                                                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> gui/src/main.rs:144:91
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let output_node_shapes: Vec<Shape> = output_nodes.iter().enumerate().map(|(index, node)| {
[INFO] [stdout]     |                                                                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> gui/src/main.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let (mut response, _) =
[INFO] [stdout]     |              ----^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cc`
[INFO] [stdout]    --> gui/src/main.rs:351:12
[INFO] [stdout]     |
[INFO] [stdout] 351 |     fn new(cc: &eframe::CreationContext<'_>, engine_commands_sender: Sender<EngineCommand>, engine_events_sender: Sender<EngineEvent>, en...
[INFO] [stdout]     |            ^^ help: if this is intentional, prefix it with an underscore: `_cc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]    --> gui/src/main.rs:415:47
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]    --> gui/src/main.rs:568:78
[INFO] [stdout]     |
[INFO] [stdout] 568 |         egui::Window::new("Species").open(&mut self.show_species).show(ctx, |ui| {});
[INFO] [stdout]     |                                                                              ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `context` is never read
[INFO] [stdout]    --> gui/src/main.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 307 | struct EguiEcsContext {
[INFO] [stdout]     |        -------------- field in this struct
[INFO] [stdout] 308 |     context: egui::Context,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> gui/src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     eframe::run_native("My egui App", native_options, Box::new(|cc| {
[INFO] [stdout] 32 | |         Box::new(MyEguiApp::new(cc, engine_commands_sender, engine_events_sender, engine_events_receiver, engine_commands_receiver))
[INFO] [stdout] 33 | |     }));
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let _ = eframe::run_native("My egui App", native_options, Box::new(|cc| {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> gui/src/main.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     engine_events.events.lock().unwrap().send(EngineEvent::DrawData { hexes: all_hexes, stats: stats.clone() });
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let _ = engine_events.events.lock().unwrap().send(EngineEvent::DrawData { hexes: all_hexes, stats: stats.clone() });
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> gui/src/main.rs:737:9
[INFO] [stdout]     |
[INFO] [stdout] 737 |         self.engine_commands_sender.send(EngineCommand::RepaintRequested);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 737 |         let _ = self.engine_commands_sender.send(EngineCommand::RepaintRequested);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 59s
[INFO] running `Command { std: "docker" "inspect" "abb1ac7e18bd5bae25c7a6dfea3178cce93068069d513cacd29dd3b1efc5a7a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abb1ac7e18bd5bae25c7a6dfea3178cce93068069d513cacd29dd3b1efc5a7a2", kill_on_drop: false }`
[INFO] [stdout] abb1ac7e18bd5bae25c7a6dfea3178cce93068069d513cacd29dd3b1efc5a7a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a42412f5eea4b8960809a1224c40fd4d491ed5c3473fe984437a5feabd6e151
[INFO] running `Command { std: "docker" "start" "-a" "7a42412f5eea4b8960809a1224c40fd4d491ed5c3473fe984437a5feabd6e151", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> engine/src/simulation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decision`, `Direction`, `RandomBrain`, `Snake`, `reproduce`
[INFO] [stdout]   --> engine/src/simulation.rs:12:46
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ood, create_snake, Decision, Direction, eat_food, FoodMap, grow, Snake, movement, Position, RandomBrain, reproduce, split, starve, thi...
[INFO] [stdout]    |                       ^^^^^^^^  ^^^^^^^^^                           ^^^^^                      ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender`, `channel`
[INFO] [stdout]  --> engine/src/simulation_manager.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> engine/src/core.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `LinkedList`
[INFO] [stdout]  --> engine/src/core.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, LinkedList, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bevy_ecs::query::QueryParIter`
[INFO] [stdout]  --> engine/src/core.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bevy_ecs::query::QueryParIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> engine/src/core.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, info, warn};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::join`
[INFO] [stdout]  --> engine/src/neural.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::join;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> engine/src/neural.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, info};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:449:127
[INFO] [stdout]     |
[INFO] [stdout] 449 | ... Position>, mut snakes: Query<(Entity, &mut Snake)>, mut solids_map: ResMut<SolidsMap>) {
[INFO] [stdout]     |                                                         ----^^^^^^^^^^
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:454:13
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let mut head_position = positions.get_mut(head_id).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]    --> engine/src/core.rs:471:29
[INFO] [stdout]     |
[INFO] [stdout] 471 | fn update_segment_positions(mut positions: &mut Query<&mut Position>, new_position: Position, segments: &Vec<Entity>) {
[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]    --> engine/src/core.rs:650:17
[INFO] [stdout]     |
[INFO] [stdout] 650 |             let mut current_scent = scent_map.map.get_mut(position);
[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]    --> engine/src/core.rs:672:13
[INFO] [stdout]     |
[INFO] [stdout] 672 |         let mut new_scent = scent_map.map.get_mut(new_position);
[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]    --> engine/src/core.rs:687:13
[INFO] [stdout]     |
[INFO] [stdout] 687 |         let mut scent = scent_map.map.get_mut(position);
[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]    --> engine/src/core.rs:705:13
[INFO] [stdout]     |
[INFO] [stdout] 705 |         let mut food = food_map.map.get_mut(&Position { x, y });
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food_id`
[INFO] [stdout]    --> engine/src/core.rs:715:10
[INFO] [stdout]     |
[INFO] [stdout] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_food_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food`
[INFO] [stdout]    --> engine/src/core.rs:715:30
[INFO] [stdout]     |
[INFO] [stdout] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_food`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> engine/src/core.rs:713:29
[INFO] [stdout]     |
[INFO] [stdout] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stdout]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:713:131
[INFO] [stdout]     |
[INFO] [stdout] 713 | ...t food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:713:25
[INFO] [stdout]     |
[INFO] [stdout] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stdout]     |                         ----^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:722:92
[INFO] [stdout]     |
[INFO] [stdout] 722 | pub fn eat_food(mut snakes: Query<(&Position, &mut Snake)>, mut food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:741:86
[INFO] [stdout]     |
[INFO] [stdout] 741 | pub fn despawn_food(mut commands: Commands, food: Query<(Entity, &Position, &Food)>, mut food_map: ResMut<FoodMap>) {
[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]    --> engine/src/core.rs:761:41
[INFO] [stdout]     |
[INFO] [stdout] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[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]    --> engine/src/core.rs:761:100
[INFO] [stdout]     |
[INFO] [stdout] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[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]    --> engine/src/core.rs:761:136
[INFO] [stdout]     |
[INFO] [stdout] 761 | ...uery<&Position>, mut food_map: &mut ResMut<FoodMap>, mut solids_map: &mut ResMut<SolidsMap>, config: &Res<SimulationConfig>, segment_i...
[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]    --> engine/src/core.rs:773:17
[INFO] [stdout]     |
[INFO] [stdout] 773 |     if let Some(mut specie) = species.species.iter_mut().find(|s| s.id == specie) {
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> engine/src/core.rs:810:22
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snakes`
[INFO] [stdout]    --> engine/src/core.rs:810:46
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_snakes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:810:91
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:810:18
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[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]    --> engine/src/core.rs:810:42
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                          ----^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `innovation_tracker`
[INFO] [stdout]    --> engine/src/core.rs:822:174
[INFO] [stdout]     |
[INFO] [stdout] 822 | ...tionConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation_tracker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:822:170
[INFO] [stdout]     |
[INFO] [stdout] 822 | ...ns: Query<&Position>, config: Res<SimulationConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[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]    --> engine/src/core.rs:828:17
[INFO] [stdout]     |
[INFO] [stdout] 828 |             let mut new_snake_segments = snake.segments.split_off(snake_length / 2);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:883:80
[INFO] [stdout]     |
[INFO] [stdout] 883 | ...ments: &Query<&SegmentType>, config: &Res<SimulationConfig>, new_segment: Option<&SegmentType>) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snake_id`
[INFO] [stdout]    --> engine/src/core.rs:988:10
[INFO] [stdout]     |
[INFO] [stdout] 988 |     for (snake_id, mut snake) in &mut snakes {
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snake_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `segment_map`
[INFO] [stdout]     --> engine/src/core.rs:1018:106
[INFO] [stdout]      |
[INFO] [stdout] 1018 | ...map: ResMut<SolidsMap>, segment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]      |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]     --> engine/src/core.rs:1018:136
[INFO] [stdout]      |
[INFO] [stdout] 1018 | ...egment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]      |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]     --> engine/src/core.rs:1039:48
[INFO] [stdout]      |
[INFO] [stdout] 1039 |             if let Ok([(snake_id, mut snake), (leader_id, leader_snake)]) = snakes.get_many_mut([baby_id, specie.leader]) {
[INFO] [stdout]      |                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> engine/src/neural.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> engine/src/neural.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `EnergyValue` is never used
[INFO] [stdout]    --> engine/src/simulation.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | type EnergyValue = f32;
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flip_direction` is never used
[INFO] [stdout]    --> engine/src/core.rs:505:4
[INFO] [stdout]     |
[INFO] [stdout] 505 | fn flip_direction(direction: &Direction) -> Direction {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> engine/src/simulation.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         self.engine_events.send(result.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let _ = self.engine_events.send(result.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 45 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hex_brains_engine v0.1.0 (/opt/rustwide/workdir/engine)
[INFO] [stderr]    Compiling hex_brains_gui v0.1.0 (/opt/rustwide/workdir/gui)
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> engine/src/simulation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decision`, `Direction`, `RandomBrain`, `Snake`, `reproduce`
[INFO] [stdout]   --> engine/src/simulation.rs:12:46
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ood, create_snake, Decision, Direction, eat_food, FoodMap, grow, Snake, movement, Position, RandomBrain, reproduce, split, starve, thi...
[INFO] [stdout]    |                       ^^^^^^^^  ^^^^^^^^^                           ^^^^^                      ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sender`, `channel`
[INFO] [stdout]  --> engine/src/simulation_manager.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{channel, Sender};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> engine/src/core.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `LinkedList`
[INFO] [stdout]  --> engine/src/core.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{HashMap, LinkedList, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bevy_ecs::query::QueryParIter`
[INFO] [stdout]  --> engine/src/core.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bevy_ecs::query::QueryParIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> engine/src/core.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{debug, info, warn};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::join`
[INFO] [stdout]  --> engine/src/neural.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::join;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> engine/src/neural.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, info};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> engine/src/neural.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> gui/src/main.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{info, Level};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:449:127
[INFO] [stdout]     |
[INFO] [stdout] 449 | ... Position>, mut snakes: Query<(Entity, &mut Snake)>, mut solids_map: ResMut<SolidsMap>) {
[INFO] [stdout]     |                                                         ----^^^^^^^^^^
[INFO] [stdout]     |                                                         |
[INFO] [stdout]     |                                                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:454:13
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let mut head_position = positions.get_mut(head_id).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]    --> engine/src/core.rs:471:29
[INFO] [stdout]     |
[INFO] [stdout] 471 | fn update_segment_positions(mut positions: &mut Query<&mut Position>, new_position: Position, segments: &Vec<Entity>) {
[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]    --> engine/src/core.rs:650:17
[INFO] [stdout]     |
[INFO] [stdout] 650 |             let mut current_scent = scent_map.map.get_mut(position);
[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]    --> engine/src/core.rs:672:13
[INFO] [stdout]     |
[INFO] [stdout] 672 |         let mut new_scent = scent_map.map.get_mut(new_position);
[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]    --> engine/src/core.rs:687:13
[INFO] [stdout]     |
[INFO] [stdout] 687 |         let mut scent = scent_map.map.get_mut(position);
[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]    --> engine/src/core.rs:705:13
[INFO] [stdout]     |
[INFO] [stdout] 705 |         let mut food = food_map.map.get_mut(&Position { x, y });
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food_id`
[INFO] [stdout]    --> engine/src/core.rs:715:10
[INFO] [stdout]     |
[INFO] [stdout] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_food_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `food`
[INFO] [stdout]    --> engine/src/core.rs:715:30
[INFO] [stdout]     |
[INFO] [stdout] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stdout]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_food`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> engine/src/core.rs:713:29
[INFO] [stdout]     |
[INFO] [stdout] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stdout]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:713:131
[INFO] [stdout]     |
[INFO] [stdout] 713 | ...t food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:713:25
[INFO] [stdout]     |
[INFO] [stdout] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stdout]     |                         ----^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:722:92
[INFO] [stdout]     |
[INFO] [stdout] 722 | pub fn eat_food(mut snakes: Query<(&Position, &mut Snake)>, mut food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:741:86
[INFO] [stdout]     |
[INFO] [stdout] 741 | pub fn despawn_food(mut commands: Commands, food: Query<(Entity, &Position, &Food)>, mut food_map: ResMut<FoodMap>) {
[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]    --> engine/src/core.rs:761:41
[INFO] [stdout]     |
[INFO] [stdout] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[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]    --> engine/src/core.rs:761:100
[INFO] [stdout]     |
[INFO] [stdout] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[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]    --> engine/src/core.rs:761:136
[INFO] [stdout]     |
[INFO] [stdout] 761 | ...uery<&Position>, mut food_map: &mut ResMut<FoodMap>, mut solids_map: &mut ResMut<SolidsMap>, config: &Res<SimulationConfig>, segment_i...
[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]    --> engine/src/core.rs:773:17
[INFO] [stdout]     |
[INFO] [stdout] 773 |     if let Some(mut specie) = species.species.iter_mut().find(|s| s.id == specie) {
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> engine/src/core.rs:810:22
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snakes`
[INFO] [stdout]    --> engine/src/core.rs:810:46
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_snakes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:810:91
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:810:18
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[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]    --> engine/src/core.rs:810:42
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stdout]     |                                          ----^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `innovation_tracker`
[INFO] [stdout]    --> engine/src/core.rs:822:174
[INFO] [stdout]     |
[INFO] [stdout] 822 | ...tionConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation_tracker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> engine/src/core.rs:822:170
[INFO] [stdout]     |
[INFO] [stdout] 822 | ...ns: Query<&Position>, config: Res<SimulationConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[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]    --> engine/src/core.rs:828:17
[INFO] [stdout]     |
[INFO] [stdout] 828 |             let mut new_snake_segments = snake.segments.split_off(snake_length / 2);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> engine/src/core.rs:883:80
[INFO] [stdout]     |
[INFO] [stdout] 883 | ...ments: &Query<&SegmentType>, config: &Res<SimulationConfig>, new_segment: Option<&SegmentType>) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snake_id`
[INFO] [stdout]    --> engine/src/core.rs:988:10
[INFO] [stdout]     |
[INFO] [stdout] 988 |     for (snake_id, mut snake) in &mut snakes {
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snake_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `segment_map`
[INFO] [stdout]     --> engine/src/core.rs:1018:106
[INFO] [stdout]      |
[INFO] [stdout] 1018 | ...map: ResMut<SolidsMap>, segment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]      |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]     --> engine/src/core.rs:1018:136
[INFO] [stdout]      |
[INFO] [stdout] 1018 | ...egment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stdout]      |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]     --> engine/src/core.rs:1039:48
[INFO] [stdout]      |
[INFO] [stdout] 1039 |             if let Ok([(snake_id, mut snake), (leader_id, leader_snake)]) = snakes.get_many_mut([baby_id, specie.leader]) {
[INFO] [stdout]      |                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> engine/src/neural.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]    --> engine/src/neural.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `EnergyValue` is never used
[INFO] [stdout]    --> engine/src/simulation.rs:134:6
[INFO] [stdout]     |
[INFO] [stdout] 134 | type EnergyValue = f32;
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flip_direction` is never used
[INFO] [stdout]    --> engine/src/core.rs:505:4
[INFO] [stdout]     |
[INFO] [stdout] 505 | fn flip_direction(direction: &Direction) -> Direction {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> engine/src/simulation.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         self.engine_events.send(result.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let _ = self.engine_events.send(result.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> gui/src/main.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn draw_simulation(mut engine_events: ResMut<EngineEvents>, positions: Query<&Position>, scents: Query<(Entity, &Scent)>, scent_map: Res<...
[INFO] [stdout]    |                    ----^^^^^^^^^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fonts`
[INFO] [stdout]    --> gui/src/main.rs:110:37
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn draw_neural_network(ui: &mut Ui, fonts: &Fonts, specie_id: u32, nodes: &Vec<&NodeGene>, connections: &Vec<&ConnectionGene>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_fonts`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> gui/src/main.rs:132:89
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let input_node_shapes: Vec<Shape> = input_nodes.iter().enumerate().map(|(index, node)| {
[INFO] [stdout]     |                                                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> gui/src/main.rs:144:91
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let output_node_shapes: Vec<Shape> = output_nodes.iter().enumerate().map(|(index, node)| {
[INFO] [stdout]     |                                                                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> gui/src/main.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let (mut response, _) =
[INFO] [stdout]     |              ----^^^^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cc`
[INFO] [stdout]    --> gui/src/main.rs:351:12
[INFO] [stdout]     |
[INFO] [stdout] 351 |     fn new(cc: &eframe::CreationContext<'_>, engine_commands_sender: Sender<EngineCommand>, engine_events_sender: Sender<EngineEvent>, en...
[INFO] [stdout]     |            ^^ help: if this is intentional, prefix it with an underscore: `_cc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]    --> gui/src/main.rs:415:47
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]    --> gui/src/main.rs:568:78
[INFO] [stdout]     |
[INFO] [stdout] 568 |         egui::Window::new("Species").open(&mut self.show_species).show(ctx, |ui| {});
[INFO] [stdout]     |                                                                              ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `context` is never read
[INFO] [stdout]    --> gui/src/main.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 307 | struct EguiEcsContext {
[INFO] [stdout]     |        -------------- field in this struct
[INFO] [stdout] 308 |     context: egui::Context,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> gui/src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     eframe::run_native("My egui App", native_options, Box::new(|cc| {
[INFO] [stdout] 32 | |         Box::new(MyEguiApp::new(cc, engine_commands_sender, engine_events_sender, engine_events_receiver, engine_commands_receiver))
[INFO] [stdout] 33 | |     }));
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let _ = eframe::run_native("My egui App", native_options, Box::new(|cc| {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> gui/src/main.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     engine_events.events.lock().unwrap().send(EngineEvent::DrawData { hexes: all_hexes, stats: stats.clone() });
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let _ = engine_events.events.lock().unwrap().send(EngineEvent::DrawData { hexes: all_hexes, stats: stats.clone() });
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> gui/src/main.rs:737:9
[INFO] [stdout]     |
[INFO] [stdout] 737 |         self.engine_commands_sender.send(EngineCommand::RepaintRequested);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 737 |         let _ = self.engine_commands_sender.send(EngineCommand::RepaintRequested);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 46 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.15s
[INFO] running `Command { std: "docker" "inspect" "7a42412f5eea4b8960809a1224c40fd4d491ed5c3473fe984437a5feabd6e151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a42412f5eea4b8960809a1224c40fd4d491ed5c3473fe984437a5feabd6e151", kill_on_drop: false }`
[INFO] [stdout] 7a42412f5eea4b8960809a1224c40fd4d491ed5c3473fe984437a5feabd6e151
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1031bbaab4abd1f4241ce76df16eb2707d7a9baa54b31de0f88587ae8ba749ac
[INFO] running `Command { std: "docker" "start" "-a" "1031bbaab4abd1f4241ce76df16eb2707d7a9baa54b31de0f88587ae8ba749ac", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unused import: `std::f32::consts::PI`
[INFO] [stderr]  --> engine/src/simulation.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::f32::consts::PI;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Decision`, `Direction`, `RandomBrain`, `Snake`, `reproduce`
[INFO] [stderr]   --> engine/src/simulation.rs:12:46
[INFO] [stderr]    |
[INFO] [stderr] 12 | ...ood, create_snake, Decision, Direction, eat_food, FoodMap, grow, Snake, movement, Position, RandomBrain, reproduce, split, starve, thi...
[INFO] [stderr]    |                       ^^^^^^^^  ^^^^^^^^^                           ^^^^^                      ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Sender`, `channel`
[INFO] [stderr]  --> engine/src/simulation_manager.rs:2:23
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::sync::mpsc::{channel, Sender};
[INFO] [stderr]   |                       ^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> engine/src/core.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::cell::RefCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HashMap`, `LinkedList`
[INFO] [stderr]  --> engine/src/core.rs:3:24
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::{HashMap, LinkedList, VecDeque};
[INFO] [stderr]   |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bevy_ecs::query::QueryParIter`
[INFO] [stderr]  --> engine/src/core.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use bevy_ecs::query::QueryParIter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]  --> engine/src/core.rs:8:22
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tracing::{debug, info, warn};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rayon::join`
[INFO] [stderr]  --> engine/src/neural.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rayon::join;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]  --> engine/src/neural.rs:5:22
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tracing::{debug, info};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:449:127
[INFO] [stderr]     |
[INFO] [stderr] 449 | ... Position>, mut snakes: Query<(Entity, &mut Snake)>, mut solids_map: ResMut<SolidsMap>) {
[INFO] [stderr]     |                                                         ----^^^^^^^^^^
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:454:13
[INFO] [stderr]     |
[INFO] [stderr] 454 |         let mut head_position = positions.get_mut(head_id).unwrap();
[INFO] [stderr]     |             ----^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:471:29
[INFO] [stderr]     |
[INFO] [stderr] 471 | fn update_segment_positions(mut positions: &mut Query<&mut Position>, new_position: Position, segments: &Vec<Entity>) {
[INFO] [stderr]     |                             ----^^^^^^^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:650:17
[INFO] [stderr]     |
[INFO] [stderr] 650 |             let mut current_scent = scent_map.map.get_mut(position);
[INFO] [stderr]     |                 ----^^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:672:13
[INFO] [stderr]     |
[INFO] [stderr] 672 |         let mut new_scent = scent_map.map.get_mut(new_position);
[INFO] [stderr]     |             ----^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:687:13
[INFO] [stderr]     |
[INFO] [stderr] 687 |         let mut scent = scent_map.map.get_mut(position);
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:705:13
[INFO] [stderr]     |
[INFO] [stderr] 705 |         let mut food = food_map.map.get_mut(&Position { x, y });
[INFO] [stderr]     |             ----^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `food_id`
[INFO] [stderr]    --> engine/src/core.rs:715:10
[INFO] [stderr]     |
[INFO] [stderr] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stderr]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_food_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `food`
[INFO] [stderr]    --> engine/src/core.rs:715:30
[INFO] [stderr]     |
[INFO] [stderr] 715 |     for (food_id, postition, food, age) in &mut food {
[INFO] [stderr]     |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_food`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `commands`
[INFO] [stderr]    --> engine/src/core.rs:713:29
[INFO] [stderr]     |
[INFO] [stderr] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stderr]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> engine/src/core.rs:713:131
[INFO] [stderr]     |
[INFO] [stderr] 713 | ...t food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:713:25
[INFO] [stderr]     |
[INFO] [stderr] 713 | pub fn destroy_old_food(mut commands: Commands, mut food: Query<(Entity, &Position, &Food, &Age)>, mut food_map: ResMut<FoodMap>, config:...
[INFO] [stderr]     |                         ----^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> engine/src/core.rs:722:92
[INFO] [stderr]     |
[INFO] [stderr] 722 | pub fn eat_food(mut snakes: Query<(&Position, &mut Snake)>, mut food_map: ResMut<FoodMap>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                                                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:741:86
[INFO] [stderr]     |
[INFO] [stderr] 741 | pub fn despawn_food(mut commands: Commands, food: Query<(Entity, &Position, &Food)>, mut food_map: ResMut<FoodMap>) {
[INFO] [stderr]     |                                                                                      ----^^^^^^^^
[INFO] [stderr]     |                                                                                      |
[INFO] [stderr]     |                                                                                      help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:761:41
[INFO] [stderr]     |
[INFO] [stderr] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[INFO] [stderr]     |                                         ----^^^^^^^^
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:761:100
[INFO] [stderr]     |
[INFO] [stderr] 761 | fn remove_segment_and_transform_to_food(mut commands: &mut Commands, positions: &Query<&Position>, mut food_map: &mut ResMut<FoodMap>, mu...
[INFO] [stderr]     |                                                                                                    ----^^^^^^^^
[INFO] [stderr]     |                                                                                                    |
[INFO] [stderr]     |                                                                                                    help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:761:136
[INFO] [stderr]     |
[INFO] [stderr] 761 | ...uery<&Position>, mut food_map: &mut ResMut<FoodMap>, mut solids_map: &mut ResMut<SolidsMap>, config: &Res<SimulationConfig>, segment_i...
[INFO] [stderr]     |                                                         ----^^^^^^^^^^
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:773:17
[INFO] [stderr]     |
[INFO] [stderr] 773 |     if let Some(mut specie) = species.species.iter_mut().find(|s| s.id == specie) {
[INFO] [stderr]     |                 ----^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `commands`
[INFO] [stderr]    --> engine/src/core.rs:810:22
[INFO] [stderr]     |
[INFO] [stderr] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `snakes`
[INFO] [stderr]    --> engine/src/core.rs:810:46
[INFO] [stderr]     |
[INFO] [stderr] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_snakes`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> engine/src/core.rs:810:91
[INFO] [stderr]     |
[INFO] [stderr] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                                                                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:810:18
[INFO] [stderr]     |
[INFO] [stderr] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                  ----^^^^^^^^
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:810:42
[INFO] [stderr]     |
[INFO] [stderr] 810 | pub fn reproduce(mut commands: Commands, mut snakes: Query<(&mut MeatMatter, &Position)>, config: Res<SimulationConfig>) {
[INFO] [stderr]     |                                          ----^^^^^^
[INFO] [stderr]     |                                          |
[INFO] [stderr]     |                                          help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `innovation_tracker`
[INFO] [stderr]    --> engine/src/core.rs:822:174
[INFO] [stderr]     |
[INFO] [stderr] 822 | ...tionConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation_tracker`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:822:170
[INFO] [stderr]     |
[INFO] [stderr] 822 | ...ns: Query<&Position>, config: Res<SimulationConfig>, mut innovation_tracker: ResMut<InnovationTracker>) {
[INFO] [stderr]     |                                                         ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                                         |
[INFO] [stderr]     |                                                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> engine/src/core.rs:828:17
[INFO] [stderr]     |
[INFO] [stderr] 828 |             let mut new_snake_segments = snake.segments.split_off(snake_length / 2);
[INFO] [stderr]     |                 ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> engine/src/core.rs:883:80
[INFO] [stderr]     |
[INFO] [stderr] 883 | ...ments: &Query<&SegmentType>, config: &Res<SimulationConfig>, new_segment: Option<&SegmentType>) {
[INFO] [stderr]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `snake_id`
[INFO] [stderr]    --> engine/src/core.rs:988:10
[INFO] [stderr]     |
[INFO] [stderr] 988 |     for (snake_id, mut snake) in &mut snakes {
[INFO] [stderr]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snake_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `segment_map`
[INFO] [stderr]     --> engine/src/core.rs:1018:106
[INFO] [stderr]      |
[INFO] [stderr] 1018 | ...map: ResMut<SolidsMap>, segment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stderr]      |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]     --> engine/src/core.rs:1018:136
[INFO] [stderr]      |
[INFO] [stderr] 1018 | ...egment_map: Res<SegmentMap>, config: Res<SimulationConfig>) {
[INFO] [stderr]      |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `leader_id`
[INFO] [stderr]     --> engine/src/core.rs:1039:48
[INFO] [stderr]      |
[INFO] [stderr] 1039 |             if let Ok([(snake_id, mut snake), (leader_id, leader_snake)]) = snakes.get_many_mut([baby_id, specie.leader]) {
[INFO] [stderr]      |                                                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `index` is never read
[INFO] [stderr]    --> engine/src/neural.rs:164:17
[INFO] [stderr]     |
[INFO] [stderr] 164 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stderr]     |                 ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `index` is never read
[INFO] [stderr]    --> engine/src/neural.rs:178:17
[INFO] [stderr]     |
[INFO] [stderr] 178 |         let mut index = rng.gen_range(0..self.connections.len());
[INFO] [stderr]     |                 ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `EnergyValue` is never used
[INFO] [stderr]    --> engine/src/simulation.rs:134:6
[INFO] [stderr]     |
[INFO] [stderr] 134 | type EnergyValue = f32;
[INFO] [stderr]     |      ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `flip_direction` is never used
[INFO] [stderr]    --> engine/src/core.rs:505:4
[INFO] [stderr]     |
[INFO] [stderr] 505 | fn flip_direction(direction: &Direction) -> Direction {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> engine/src/simulation.rs:343:9
[INFO] [stderr]     |
[INFO] [stderr] 343 |         self.engine_events.send(result.clone());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 343 |         let _ = self.engine_events.send(result.clone());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `hex_brains_engine` (lib) generated 45 warnings (run `cargo fix --lib -p hex_brains_engine` to apply 40 suggestions)
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]    --> engine/src/neural.rs:252:9
[INFO] [stderr]     |
[INFO] [stderr] 252 |     use super::*;
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hex_brains_engine` (lib test) generated 46 warnings (45 duplicates) (run `cargo fix --lib -p hex_brains_engine --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]   --> gui/src/main.rs:14:15
[INFO] [stderr]    |
[INFO] [stderr] 14 | use tracing::{info, Level};
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> gui/src/main.rs:84:20
[INFO] [stderr]    |
[INFO] [stderr] 84 | fn draw_simulation(mut engine_events: ResMut<EngineEvents>, positions: Query<&Position>, scents: Query<(Entity, &Scent)>, scent_map: Res<...
[INFO] [stderr]    |                    ----^^^^^^^^^^^^^
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `fonts`
[INFO] [stderr]    --> gui/src/main.rs:110:37
[INFO] [stderr]     |
[INFO] [stderr] 110 | fn draw_neural_network(ui: &mut Ui, fonts: &Fonts, specie_id: u32, nodes: &Vec<&NodeGene>, connections: &Vec<&ConnectionGene>) {
[INFO] [stderr]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_fonts`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `node`
[INFO] [stderr]    --> gui/src/main.rs:132:89
[INFO] [stderr]     |
[INFO] [stderr] 132 |         let input_node_shapes: Vec<Shape> = input_nodes.iter().enumerate().map(|(index, node)| {
[INFO] [stderr]     |                                                                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `node`
[INFO] [stderr]    --> gui/src/main.rs:144:91
[INFO] [stderr]     |
[INFO] [stderr] 144 |         let output_node_shapes: Vec<Shape> = output_nodes.iter().enumerate().map(|(index, node)| {
[INFO] [stderr]     |                                                                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> gui/src/main.rs:112:14
[INFO] [stderr]     |
[INFO] [stderr] 112 |         let (mut response, _) =
[INFO] [stderr]     |              ----^^^^^^^^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cc`
[INFO] [stderr]    --> gui/src/main.rs:351:12
[INFO] [stderr]     |
[INFO] [stderr] 351 |     fn new(cc: &eframe::CreationContext<'_>, engine_commands_sender: Sender<EngineCommand>, engine_events_sender: Sender<EngineEvent>, en...
[INFO] [stderr]     |            ^^ help: if this is intentional, prefix it with an underscore: `_cc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `frame`
[INFO] [stderr]    --> gui/src/main.rs:415:47
[INFO] [stderr]     |
[INFO] [stderr] 415 |     fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
[INFO] [stderr]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ui`
[INFO] [stderr]    --> gui/src/main.rs:568:78
[INFO] [stderr]     |
[INFO] [stderr] 568 |         egui::Window::new("Species").open(&mut self.show_species).show(ctx, |ui| {});
[INFO] [stderr]     |                                                                              ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stderr] 
[INFO] [stderr] warning: field `context` is never read
[INFO] [stderr]    --> gui/src/main.rs:308:5
[INFO] [stderr]     |
[INFO] [stderr] 307 | struct EguiEcsContext {
[INFO] [stderr]     |        -------------- field in this struct
[INFO] [stderr] 308 |     context: egui::Context,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> gui/src/main.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | /     eframe::run_native("My egui App", native_options, Box::new(|cc| {
[INFO] [stderr] 32 | |         Box::new(MyEguiApp::new(cc, engine_commands_sender, engine_events_sender, engine_events_receiver, engine_commands_receiver))
[INFO] [stderr] 33 | |     }));
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 31 |     let _ = eframe::run_native("My egui App", native_options, Box::new(|cc| {
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> gui/src/main.rs:107:5
[INFO] [stderr]     |
[INFO] [stderr] 107 |     engine_events.events.lock().unwrap().send(EngineEvent::DrawData { hexes: all_hexes, stats: stats.clone() });
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 107 |     let _ = engine_events.events.lock().unwrap().send(EngineEvent::DrawData { hexes: all_hexes, stats: stats.clone() });
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> gui/src/main.rs:737:9
[INFO] [stderr]     |
[INFO] [stderr] 737 |         self.engine_commands_sender.send(EngineCommand::RepaintRequested);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 737 |         let _ = self.engine_commands_sender.send(EngineCommand::RepaintRequested);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `hex_brains_gui` (bin "hex_brains_gui" test) generated 13 warnings (run `cargo fix --bin "hex_brains_gui" --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hex_brains_engine-ee4c0330104b3f39)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hex_brains_gui-4f3399e282518eb1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hex_brains_engine
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1031bbaab4abd1f4241ce76df16eb2707d7a9baa54b31de0f88587ae8ba749ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1031bbaab4abd1f4241ce76df16eb2707d7a9baa54b31de0f88587ae8ba749ac", kill_on_drop: false }`
[INFO] [stdout] 1031bbaab4abd1f4241ce76df16eb2707d7a9baa54b31de0f88587ae8ba749ac
