[INFO] cloning repository https://github.com/james-harvey-git/AI-Evolution-Simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/james-harvey-git/AI-Evolution-Simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames-harvey-git%2FAI-Evolution-Simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames-harvey-git%2FAI-Evolution-Simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d80e9134aae978400af15f08a1afde1c7b6b1ec2 [INFO] testing james-harvey-git/AI-Evolution-Simulator against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjames-harvey-git%2FAI-Evolution-Simulator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/james-harvey-git/AI-Evolution-Simulator [INFO] finished tweaking git repo https://github.com/james-harvey-git/AI-Evolution-Simulator [INFO] tweaked toml for git repo https://github.com/james-harvey-git/AI-Evolution-Simulator written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/james-harvey-git/AI-Evolution-Simulator on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/james-harvey-git/AI-Evolution-Simulator 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e9f24f1d5bdfe6cba2628f56872567c3ad6ef094c9ee48ce7ecfe20afe94643 [INFO] running `Command { std: "docker" "start" "-a" "6e9f24f1d5bdfe6cba2628f56872567c3ad6ef094c9ee48ce7ecfe20afe94643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e9f24f1d5bdfe6cba2628f56872567c3ad6ef094c9ee48ce7ecfe20afe94643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9f24f1d5bdfe6cba2628f56872567c3ad6ef094c9ee48ce7ecfe20afe94643", kill_on_drop: false }` [INFO] [stdout] 6e9f24f1d5bdfe6cba2628f56872567c3ad6ef094c9ee48ce7ecfe20afe94643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9fabf0018390c7eb45a1badeed668eef0aacaaa563b2d7967b804703a783107 [INFO] running `Command { std: "docker" "start" "-a" "e9fabf0018390c7eb45a1badeed668eef0aacaaa563b2d7967b804703a783107", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling quad-url v0.1.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling audrey v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling noise v0.9.0 [INFO] [stderr] Compiling egui-miniquad v0.16.0 [INFO] [stderr] Compiling egui-macroquad v0.17.3 [INFO] [stderr] Compiling genesis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MUTATION_RATE` is never used [INFO] [stdout] --> src/config.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const MUTATION_RATE: f32 = 0.05; [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 `BRAIN_MOTOR_NEURONS` is never used [INFO] [stdout] --> src/config.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const BRAIN_MOTOR_NEURONS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `respawn_food` is never used [INFO] [stdout] --> src/energy.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn respawn_food( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `despawn` and `capacity` are never used [INFO] [stdout] --> src/entity.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl EntityArena { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn despawn(&mut self, id: EntityId) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `friction_mult` is never used [INFO] [stdout] --> src/environment.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TerrainType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 19 | /// Movement speed multiplier on this terrain. [INFO] [stdout] 20 | pub fn friction_mult(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/particles.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParticleSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_wander` is never used [INFO] [stdout] --> src/physics.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn random_wander(arena: &mut EntityArena, rng: &mut impl ::rand::Rng, dt: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `begin_scene` is never used [INFO] [stdout] --> src/post_processing.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl BloomPipeline { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn begin_scene(&self) -> Camera2D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerdEntityId` is never constructed [INFO] [stdout] --> src/save_load.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct SerdEntityId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sample` and `gradient` are never used [INFO] [stdout] --> src/signals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PheromoneGrid { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sample(&self, pos: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn gradient(&self, pos: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cell_size` is never read [INFO] [stdout] --> src/spatial_hash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SpatialHash { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | cell_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/world.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn distance(&self, a: Vec2, b: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "e9fabf0018390c7eb45a1badeed668eef0aacaaa563b2d7967b804703a783107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fabf0018390c7eb45a1badeed668eef0aacaaa563b2d7967b804703a783107", kill_on_drop: false }` [INFO] [stdout] e9fabf0018390c7eb45a1badeed668eef0aacaaa563b2d7967b804703a783107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df078479443a8437bee4b422983aad0f625abab10e73957f1dbc956cab7ed9ac [INFO] running `Command { std: "docker" "start" "-a" "df078479443a8437bee4b422983aad0f625abab10e73957f1dbc956cab7ed9ac", kill_on_drop: false }` [INFO] [stderr] Compiling genesis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MUTATION_RATE` is never used [INFO] [stdout] --> src/config.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const MUTATION_RATE: f32 = 0.05; [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 `BRAIN_MOTOR_NEURONS` is never used [INFO] [stdout] --> src/config.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const BRAIN_MOTOR_NEURONS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `respawn_food` is never used [INFO] [stdout] --> src/energy.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn respawn_food( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `despawn` and `capacity` are never used [INFO] [stdout] --> src/entity.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl EntityArena { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn despawn(&mut self, id: EntityId) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `friction_mult` is never used [INFO] [stdout] --> src/environment.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TerrainType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 19 | /// Movement speed multiplier on this terrain. [INFO] [stdout] 20 | pub fn friction_mult(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/particles.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParticleSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_wander` is never used [INFO] [stdout] --> src/physics.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn random_wander(arena: &mut EntityArena, rng: &mut impl ::rand::Rng, dt: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `begin_scene` is never used [INFO] [stdout] --> src/post_processing.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl BloomPipeline { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn begin_scene(&self) -> Camera2D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerdEntityId` is never constructed [INFO] [stdout] --> src/save_load.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct SerdEntityId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sample` and `gradient` are never used [INFO] [stdout] --> src/signals.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PheromoneGrid { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sample(&self, pos: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn gradient(&self, pos: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cell_size` is never read [INFO] [stdout] --> src/spatial_hash.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SpatialHash { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | cell_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/world.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn distance(&self, a: Vec2, b: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "df078479443a8437bee4b422983aad0f625abab10e73957f1dbc956cab7ed9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df078479443a8437bee4b422983aad0f625abab10e73957f1dbc956cab7ed9ac", kill_on_drop: false }` [INFO] [stdout] df078479443a8437bee4b422983aad0f625abab10e73957f1dbc956cab7ed9ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f591bdb1162ed07916f12bf4eade8be53809bc335bf51e5d9d3345f476d7be98 [INFO] running `Command { std: "docker" "start" "-a" "f591bdb1162ed07916f12bf4eade8be53809bc335bf51e5d9d3345f476d7be98", kill_on_drop: false }` [INFO] [stderr] warning: constant `MUTATION_RATE` is never used [INFO] [stderr] --> src/config.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub const MUTATION_RATE: f32 = 0.05; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `BRAIN_MOTOR_NEURONS` is never used [INFO] [stderr] --> src/config.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | pub const BRAIN_MOTOR_NEURONS: usize = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `respawn_food` is never used [INFO] [stderr] --> src/energy.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn respawn_food( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `despawn` and `capacity` are never used [INFO] [stderr] --> src/entity.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 80 | impl EntityArena { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn despawn(&mut self, id: EntityId) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 179 | pub fn capacity(&self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `friction_mult` is never used [INFO] [stderr] --> src/environment.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl TerrainType { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 19 | /// Movement speed multiplier on this terrain. [INFO] [stderr] 20 | pub fn friction_mult(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `count` is never used [INFO] [stderr] --> src/particles.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl ParticleSystem { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn count(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_wander` is never used [INFO] [stderr] --> src/physics.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn random_wander(arena: &mut EntityArena, rng: &mut impl ::rand::Rng, dt: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `begin_scene` is never used [INFO] [stderr] --> src/post_processing.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 96 | impl BloomPipeline { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 183 | pub fn begin_scene(&self) -> Camera2D { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SerdEntityId` is never constructed [INFO] [stderr] --> src/save_load.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | struct SerdEntityId { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `sample` and `gradient` are never used [INFO] [stderr] --> src/signals.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl PheromoneGrid { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn sample(&self, pos: Vec2) -> f32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn gradient(&self, pos: Vec2) -> Vec2 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cell_size` is never read [INFO] [stderr] --> src/spatial_hash.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct SpatialHash { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 7 | cell_size: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `distance` is never used [INFO] [stderr] --> src/world.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl World { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn distance(&self, a: Vec2, b: Vec2) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `genesis` (bin "genesis" test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genesis-192ef5589d2786cb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f591bdb1162ed07916f12bf4eade8be53809bc335bf51e5d9d3345f476d7be98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f591bdb1162ed07916f12bf4eade8be53809bc335bf51e5d9d3345f476d7be98", kill_on_drop: false }` [INFO] [stdout] f591bdb1162ed07916f12bf4eade8be53809bc335bf51e5d9d3345f476d7be98