[INFO] cloning repository https://github.com/ThiloK1410/Treevolution [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThiloK1410/Treevolution" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiloK1410%2FTreevolution", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiloK1410%2FTreevolution'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ab9156e7a1d373c3613138d265dbb96149e7dc2 [INFO] building ThiloK1410/Treevolution against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThiloK1410%2FTreevolution" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThiloK1410/Treevolution [INFO] finished tweaking git repo https://github.com/ThiloK1410/Treevolution [INFO] tweaked toml for git repo https://github.com/ThiloK1410/Treevolution written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThiloK1410/Treevolution on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThiloK1410/Treevolution 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded zerocopy-derive v0.8.22 [INFO] [stderr] Downloaded miniquad v0.4.6 [INFO] [stderr] Downloaded zerocopy v0.8.22 [INFO] [stderr] Downloaded macroquad v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8f9dbf312a8932548e3a1a4a065888bb8ad2db5b5918665502b4113e75777dd [INFO] running `Command { std: "docker" "start" "-a" "d8f9dbf312a8932548e3a1a4a065888bb8ad2db5b5918665502b4113e75777dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8f9dbf312a8932548e3a1a4a065888bb8ad2db5b5918665502b4113e75777dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f9dbf312a8932548e3a1a4a065888bb8ad2db5b5918665502b4113e75777dd", kill_on_drop: false }` [INFO] [stdout] d8f9dbf312a8932548e3a1a4a065888bb8ad2db5b5918665502b4113e75777dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3117c6e80c0a2c4a01c37667fd91173682b3731d59923c66e297d67390374d7e [INFO] running `Command { std: "docker" "start" "-a" "3117c6e80c0a2c4a01c37667fd91173682b3731d59923c66e297d67390374d7e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling zerocopy v0.8.22 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling treevolution v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut plant = &mut self.plants[idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | for mut plant in &mut self.plants { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sim_mod/plant.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | .map(|x| ResponseCluster::new(genome)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `values` is never read [INFO] [stdout] --> src/sim_mod/genome.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut values = Vec::::with_capacity(amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_CELL_COLOR` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEAD_CELL_COLOR: Color = Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_in_grid` and `spawn_random_cell` are never used [INFO] [stdout] --> src/sim_mod/habitat.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Habitat { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | fn is_in_grid(&self, pos: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn spawn_random_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_root`, `has_energy`, and `is_seed` are never used [INFO] [stdout] --> src/sim_mod/plant.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Plant { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_root(root_pos: IVec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn has_energy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn is_seed(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_values` is never used [INFO] [stdout] --> src/sim_mod/genome.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Genome { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn parse_values(&mut self, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_response` is never used [INFO] [stdout] --> src/sim_mod/response_cluster.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ResponseCluster { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_response(&self, direction: &str) -> &Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENOME_SIZE` is never used [INFO] [stdout] --> src/constants/simulation.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENOME_SIZE: usize = 100; // the size of genome raw data, unused data is intended [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexedParallelIterator` [INFO] [stdout] --> src/grid_window/grid_window.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::iter::{IndexedParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut plant = &mut self.plants[idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | for mut plant in &mut self.plants { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sim_mod/plant.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | .map(|x| ResponseCluster::new(genome)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `values` is never read [INFO] [stdout] --> src/sim_mod/genome.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut values = Vec::::with_capacity(amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENOME_SIZE` is never used [INFO] [stdout] --> src/constants/simulation.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENOME_SIZE: usize = 100; // the size of genome raw data, unused data is intended [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_CELL_COLOR` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEAD_CELL_COLOR: Color = Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_con` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CellType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_root_con(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_focus_information`, `is_in_grid`, and `spawn_random_cell` are never used [INFO] [stdout] --> src/sim_mod/habitat.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Habitat { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_focus_information(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn is_in_grid(&self, pos: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn spawn_random_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_root`, `has_energy`, and `is_seed` are never used [INFO] [stdout] --> src/sim_mod/plant.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Plant { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_root(root_pos: IVec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn has_energy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn is_seed(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_values` is never used [INFO] [stdout] --> src/sim_mod/genome.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Genome { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn parse_values(&mut self, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_response` is never used [INFO] [stdout] --> src/sim_mod/response_cluster.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ResponseCluster { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_response(&self, direction: &str) -> &Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.06s [INFO] running `Command { std: "docker" "inspect" "3117c6e80c0a2c4a01c37667fd91173682b3731d59923c66e297d67390374d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3117c6e80c0a2c4a01c37667fd91173682b3731d59923c66e297d67390374d7e", kill_on_drop: false }` [INFO] [stdout] 3117c6e80c0a2c4a01c37667fd91173682b3731d59923c66e297d67390374d7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 2d0aca14208008bf2f1d988e56c9bcd5decc5395820d4365c269ab8aca22aafe [INFO] running `Command { std: "docker" "start" "-a" "2d0aca14208008bf2f1d988e56c9bcd5decc5395820d4365c269ab8aca22aafe", kill_on_drop: false }` [INFO] [stderr] Compiling treevolution v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut plant = &mut self.plants[idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | for mut plant in &mut self.plants { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sim_mod/plant.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | .map(|x| ResponseCluster::new(genome)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `values` is never read [INFO] [stdout] --> src/sim_mod/genome.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut values = Vec::::with_capacity(amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_CELL_COLOR` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEAD_CELL_COLOR: Color = Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_in_grid` and `spawn_random_cell` are never used [INFO] [stdout] --> src/sim_mod/habitat.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Habitat { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | fn is_in_grid(&self, pos: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn spawn_random_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_root`, `has_energy`, and `is_seed` are never used [INFO] [stdout] --> src/sim_mod/plant.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Plant { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_root(root_pos: IVec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn has_energy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn is_seed(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_values` is never used [INFO] [stdout] --> src/sim_mod/genome.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Genome { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn parse_values(&mut self, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_response` is never used [INFO] [stdout] --> src/sim_mod/response_cluster.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ResponseCluster { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_response(&self, direction: &str) -> &Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENOME_SIZE` is never used [INFO] [stdout] --> src/constants/simulation.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENOME_SIZE: usize = 100; // the size of genome raw data, unused data is intended [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut plant = &mut self.plants[idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | for mut plant in &mut self.plants { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexedParallelIterator` [INFO] [stdout] --> src/grid_window/grid_window.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::iter::{IndexedParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sim_mod/plant.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | .map(|x| ResponseCluster::new(genome)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `values` is never read [INFO] [stdout] --> src/sim_mod/genome.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut values = Vec::::with_capacity(amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_CELL_COLOR` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEAD_CELL_COLOR: Color = Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_in_grid` and `spawn_random_cell` are never used [INFO] [stdout] --> src/sim_mod/habitat.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Habitat { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | fn is_in_grid(&self, pos: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn spawn_random_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_root`, `has_energy`, and `is_seed` are never used [INFO] [stdout] --> src/sim_mod/plant.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Plant { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_root(root_pos: IVec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn has_energy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn is_seed(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_values` is never used [INFO] [stdout] --> src/sim_mod/genome.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Genome { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn parse_values(&mut self, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_response` is never used [INFO] [stdout] --> src/sim_mod/response_cluster.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ResponseCluster { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_response(&self, direction: &str) -> &Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENOME_SIZE` is never used [INFO] [stdout] --> src/constants/simulation.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENOME_SIZE: usize = 100; // the size of genome raw data, unused data is intended [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut plant = &mut self.plants[idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_mod/habitat.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | for mut plant in &mut self.plants { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sim_mod/plant.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | .map(|x| ResponseCluster::new(genome)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `values` is never read [INFO] [stdout] --> src/sim_mod/genome.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut values = Vec::::with_capacity(amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENOME_SIZE` is never used [INFO] [stdout] --> src/constants/simulation.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENOME_SIZE: usize = 100; // the size of genome raw data, unused data is intended [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_CELL_COLOR` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEAD_CELL_COLOR: Color = Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_root_con` is never used [INFO] [stdout] --> src/sim_mod/cell_types.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl CellType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_root_con(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_focus_information`, `is_in_grid`, and `spawn_random_cell` are never used [INFO] [stdout] --> src/sim_mod/habitat.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Habitat { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_focus_information(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn is_in_grid(&self, pos: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn spawn_random_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_root`, `has_energy`, and `is_seed` are never used [INFO] [stdout] --> src/sim_mod/plant.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Plant { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_root(root_pos: IVec2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn has_energy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn is_seed(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_values` is never used [INFO] [stdout] --> src/sim_mod/genome.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Genome { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn parse_values(&mut self, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_response` is never used [INFO] [stdout] --> src/sim_mod/response_cluster.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ResponseCluster { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_response(&self, direction: &str) -> &Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "2d0aca14208008bf2f1d988e56c9bcd5decc5395820d4365c269ab8aca22aafe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0aca14208008bf2f1d988e56c9bcd5decc5395820d4365c269ab8aca22aafe", kill_on_drop: false }` [INFO] [stdout] 2d0aca14208008bf2f1d988e56c9bcd5decc5395820d4365c269ab8aca22aafe