[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] checking kajmaj87/hex_brains against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [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 e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "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_egui v0.23.0 [INFO] [stderr] Downloaded puffin v0.17.0 [INFO] [stderr] Downloaded natord v1.0.9 [INFO] [stderr] Downloaded nonmax v0.5.4 [INFO] [stderr] Downloaded vec1 v1.10.1 [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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab940c7a8fa1b4f3736412ad792ea19adedd270657eebfe10f6009e0a4974933 [INFO] running `Command { std: "docker" "start" "-a" "ab940c7a8fa1b4f3736412ad792ea19adedd270657eebfe10f6009e0a4974933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab940c7a8fa1b4f3736412ad792ea19adedd270657eebfe10f6009e0a4974933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab940c7a8fa1b4f3736412ad792ea19adedd270657eebfe10f6009e0a4974933", kill_on_drop: false }` [INFO] [stdout] ab940c7a8fa1b4f3736412ad792ea19adedd270657eebfe10f6009e0a4974933 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8e869649fe402b5ece33d4b970ae512c6a352880685d295f7af7875188063ea [INFO] running `Command { std: "docker" "start" "-a" "e8e869649fe402b5ece33d4b970ae512c6a352880685d295f7af7875188063ea", 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 libc v0.2.149 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling zerocopy v0.7.18 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking ttf-parser v0.19.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking async-executor v1.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking accesskit v0.11.2 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking ab_glyph v0.2.22 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking xdg-home v1.0.0 [INFO] [stderr] Checking puffin v0.16.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking nonmax v0.5.4 [INFO] [stderr] Checking lz4_flex v0.11.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking accesskit_consumer v0.15.2 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking bevy_ptr v0.12.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking bevy_tasks v0.12.0 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking web-time v0.2.3 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking natord v1.0.9 [INFO] [stderr] Checking vec1 v1.10.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking x11rb-protocol v0.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [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 serde_repr v0.1.16 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.12.0 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking ecolor v0.23.0 [INFO] [stderr] Checking emath v0.23.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking epaint v0.23.0 [INFO] [stderr] Checking blocking v1.4.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking egui v0.23.0 [INFO] [stderr] Checking x11rb v0.10.1 [INFO] [stderr] Checking arboard v3.2.1 [INFO] [stderr] Checking egui_glow v0.23.0 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v1.5.0 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking puffin v0.17.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking puffin_http v0.14.0 [INFO] [stderr] Checking puffin_egui v0.23.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Checking bevy_utils v0.12.0 [INFO] [stderr] Compiling bevy_macro_utils v0.12.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Compiling bevy_reflect_derive v0.12.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.12.0 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking bevy_reflect v0.12.0 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.14.1 [INFO] [stderr] Checking bevy_ecs v0.12.0 [INFO] [stderr] Checking atspi v0.10.1 [INFO] [stderr] Checking 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: 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: 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) { [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) { [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, 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, config: Res) { [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, 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, config: Res) { [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) { [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, 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, 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, mut solids_map: &mut ResMut, config: &Res, 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) { [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) { [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) { [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) { [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) { [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) { [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, mut innovation_tracker: ResMut) { [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, new_segment: Option<&SegmentType>) { [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:449:127 [INFO] [stdout] | [INFO] [stdout] 449 | ... Position>, mut snakes: Query<(Entity, &mut Snake)>, mut solids_map: ResMut) { [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) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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, segment_map: Res, config: Res) { [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, config: Res) { [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: 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: 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: 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: 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: 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, 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, config: Res) { [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, 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, config: Res) { [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) { [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, 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, 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, mut solids_map: &mut ResMut, config: &Res, 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: 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 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) { [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) { [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) { [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) { [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) { [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) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation_tracker` [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] --> engine/src/core.rs:822:170 [INFO] [stdout] | [INFO] [stdout] 822 | ...ns: Query<&Position>, config: Res, mut innovation_tracker: ResMut) { [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, 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, segment_map: Res, config: Res) { [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, config: Res) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [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: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking accesskit_unix v0.5.2 [INFO] [stderr] Checking accesskit_winit v0.14.4 [INFO] [stderr] Checking egui-winit v0.23.0 [INFO] [stderr] Checking eframe v0.23.0 [INFO] [stderr] Checking 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: 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, 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: 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, 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 = 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:132:89 [INFO] [stdout] | [INFO] [stdout] 132 | let input_node_shapes: Vec = 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 = 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: unused variable: `node` [INFO] [stdout] --> gui/src/main.rs:144:91 [INFO] [stdout] | [INFO] [stdout] 144 | let output_node_shapes: Vec = 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: 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, engine_events_sender: Sender, en... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [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, engine_events_sender: Sender, 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: `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: 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: 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: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: 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] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.11s [INFO] running `Command { std: "docker" "inspect" "e8e869649fe402b5ece33d4b970ae512c6a352880685d295f7af7875188063ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e869649fe402b5ece33d4b970ae512c6a352880685d295f7af7875188063ea", kill_on_drop: false }` [INFO] [stdout] e8e869649fe402b5ece33d4b970ae512c6a352880685d295f7af7875188063ea