[INFO] cloning repository https://github.com/GKaszewski/bachelors_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GKaszewski/bachelors_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGKaszewski%2Fbachelors_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGKaszewski%2Fbachelors_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f7853f4a8647ff6d998eccaebfd38cfbda6fb83 [INFO] checking GKaszewski/bachelors_engine/8f7853f4a8647ff6d998eccaebfd38cfbda6fb83 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGKaszewski%2Fbachelors_engine" "/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/GKaszewski/bachelors_engine on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GKaszewski/bachelors_engine [INFO] finished tweaking git repo https://github.com/GKaszewski/bachelors_engine [INFO] tweaked toml for git repo https://github.com/GKaszewski/bachelors_engine written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GKaszewski/bachelors_engine 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded raylib v5.0.2 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded hibitset v0.6.4 [INFO] [stderr] Downloaded tuple_utils v0.3.0 [INFO] [stderr] Downloaded specs-derive v0.4.1 [INFO] [stderr] Downloaded redox_syscall v0.5.3 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded prettyplease v0.2.22 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded specs v0.16.1 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded shred v0.10.2 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded cmake v0.1.51 [INFO] [stderr] Downloaded rustix v0.38.36 [INFO] [stderr] Downloaded raylib-sys v5.0.2 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54da78094b8be6c5827c07e83f01675c1e00ca8cb861ffd1805069b0e7435b5f [INFO] running `Command { std: "docker" "start" "-a" "54da78094b8be6c5827c07e83f01675c1e00ca8cb861ffd1805069b0e7435b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54da78094b8be6c5827c07e83f01675c1e00ca8cb861ffd1805069b0e7435b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54da78094b8be6c5827c07e83f01675c1e00ca8cb861ffd1805069b0e7435b5f", kill_on_drop: false }` [INFO] [stdout] 54da78094b8be6c5827c07e83f01675c1e00ca8cb861ffd1805069b0e7435b5f [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d2107b7f4e41924b1de1bf147b8768de781e2385ae8e7c571e8837cfb70829e [INFO] running `Command { std: "docker" "start" "-a" "8d2107b7f4e41924b1de1bf147b8768de781e2385ae8e7c571e8837cfb70829e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking hibitset v0.6.4 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking tynm v0.1.10 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Checking raylib v5.0.2 [INFO] [stderr] Checking bachelors_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::evolution::genes::*` [INFO] [stdout] --> src/evolution/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::evolution::genes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_input`, `update`, and `render` are never used [INFO] [stdout] --> src/engine/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Game { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 11 | fn handle_input(&mut self, rl: &RaylibHandle); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | fn update(&mut self, delta_time: f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn render(&mut self, rl: &mut RaylibHandle, thread: &RaylibThread); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_component` is never used [INFO] [stdout] --> src/engine/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 34 | pub fn add_component(&mut self, component: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityBuilder` is never constructed [INFO] [stdout] --> src/engine/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct EntityBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_component`, and `build` are never used [INFO] [stdout] --> src/engine/mod.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl EntityBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 64 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_component(mut self, component: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn build(self) -> Entity { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_system` are never used [INFO] [stdout] --> src/engine/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl SystemManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn add_system(&mut self, system: S) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/mod.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl EventQueue { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 124 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Evolution` is never constructed [INFO] [stdout] --> src/evolution/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Evolution {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | Color(GeneValue), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | Color(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | Size(GeneValue), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 170 | Size(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | Shape(GeneValue), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 171 | Shape(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | TemperatureResistance(GeneValue), [INFO] [stdout] | --------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 172 | TemperatureResistance(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | WaterResistance(GeneValue), [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 173 | WaterResistance(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | Speed(GeneValue), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 175 | Speed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | BreedingRate(GeneValue), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 176 | BreedingRate(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/evolution/genes.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 380 | impl GeneBuilder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn build_gene_from_sequence(&self, sequence: &str) -> Gene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn yellow(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn purple(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn small(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn medium(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn large(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn round(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub fn square(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn medium_temperature_resistance(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn low_temperature_resistance(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn no_temperature_resistance(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn no_water_resistance(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn medium_metabolism(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn low_metabolism(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn medium_speed(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn low_speed(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn no_speed(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn high_breeding_rate(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn medium_breeding_rate(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn low_breeding_rate(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn no_breeding_rate(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub fn long_lifespan(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn medium_lifespan(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | pub fn short_lifespan(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub fn build_genes_from_sequences(&self, sequences: Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl GameOfLife { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grid` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn create_grid(width: u32, height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LifeSystem` is never constructed [INFO] [stdout] --> src/game_of_life/mod.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | struct LifeSystem; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_alive_neighbors` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn count_alive_neighbors(index: usize, entities: &[Entity], width: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl InputSystem { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 296 | pub fn new(cell_size: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_input`, `update`, and `render` are never used [INFO] [stdout] --> src/engine/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Game { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 11 | fn handle_input(&mut self, rl: &RaylibHandle); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | fn update(&mut self, delta_time: f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn render(&mut self, rl: &mut RaylibHandle, thread: &RaylibThread); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_component` is never used [INFO] [stdout] --> src/engine/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 34 | pub fn add_component(&mut self, component: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityBuilder` is never constructed [INFO] [stdout] --> src/engine/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct EntityBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_component`, and `build` are never used [INFO] [stdout] --> src/engine/mod.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl EntityBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 64 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_component(mut self, component: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn build(self) -> Entity { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_system` are never used [INFO] [stdout] --> src/engine/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl SystemManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn add_system(&mut self, system: S) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/mod.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl EventQueue { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 124 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Evolution` is never constructed [INFO] [stdout] --> src/evolution/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Evolution {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | Color(GeneValue), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 169 | Color(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | Size(GeneValue), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 170 | Size(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | Shape(GeneValue), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 171 | Shape(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | TemperatureResistance(GeneValue), [INFO] [stdout] | --------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 172 | TemperatureResistance(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | WaterResistance(GeneValue), [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 173 | WaterResistance(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | Speed(GeneValue), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 175 | Speed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/evolution/genes.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | BreedingRate(GeneValue), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GeneTrait` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 176 | BreedingRate(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_gene_from_sequence` and `build_genes_from_sequences` are never used [INFO] [stdout] --> src/evolution/genes.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 380 | impl GeneBuilder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn build_gene_from_sequence(&self, sequence: &str) -> Gene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub fn build_genes_from_sequences(&self, sequences: Vec<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl GameOfLife { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grid` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn create_grid(width: u32, height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LifeSystem` is never constructed [INFO] [stdout] --> src/game_of_life/mod.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | struct LifeSystem; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_alive_neighbors` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn count_alive_neighbors(index: usize, entities: &[Entity], width: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl InputSystem { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 296 | pub fn new(cell_size: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/game_of_life/mod.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.51s [INFO] running `Command { std: "docker" "inspect" "8d2107b7f4e41924b1de1bf147b8768de781e2385ae8e7c571e8837cfb70829e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2107b7f4e41924b1de1bf147b8768de781e2385ae8e7c571e8837cfb70829e", kill_on_drop: false }` [INFO] [stdout] 8d2107b7f4e41924b1de1bf147b8768de781e2385ae8e7c571e8837cfb70829e